Skip to content

Add to Claude Code docs update #4

@mattsta

Description

@mattsta

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 $@

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions