Doc for adding to claude doesn't work currently. This flow worked better for me:
(assuming running from the local project you are going to claude from)
claude mcp add clangaroo -- ~/bin/clangaroo --project $(pwd) \
--warmup --warmup-limit 10 --log-level info \
--ai-enabled --ai-provider gemini-2.5-flash --ai-cache-days 14 --ai-cost-limit 15.0 \
--call-hierarchy-depth 10 --ai-analysis-level summary --ai-context-level minimal \
--ai-api-key [gemini-api-key-here]
Also where ~/bin/clangaroo is a tiny executable script to launch it from a local dev clone instead of installed globally (I didn't see where/if claude allows WORKING_DIRECTORY or similar in the config, so easier to just control it manually with an external script):
#!/usr/bin/env bash
cd ~/repos/clangaroo/
exec uv run clangaroo $@
Doc for adding to claude doesn't work currently. This flow worked better for me:
(assuming running from the local project you are going to
claudefrom)Also where
~/bin/clangaroois a tiny executable script to launch it from a local dev clone instead of installed globally (I didn't see where/if claude allows WORKING_DIRECTORY or similar in the config, so easier to just control it manually with an external script):