Skip to content

CodeRAG v0.2.0 — MCP server, dashboard, Docker one-shot

Latest

Choose a tag to compare

@galacticsurfer galacticsurfer released this 01 Sep 18:04
· 23 commits to main since this release

Cut Claude Code's token usage: register the MCP server and Claude Code calls CodeRAG retrieval instead of reading whole files.

pipx install "coderag[mcp] @ git+https://github.com/galacticsurfer/coderag"
claude mcp add coderag --env CODERAG_DATABASE_URL=postgresql+psycopg://coderag:coderag@localhost:5432/coderag -- coderag-mcp

Step-by-step guide: docs/claude-code.md

What's new

  • MCP server (coderag-mcp): coderag_context / coderag_search / coderag_symbol / coderag_repositories / coderag_index
  • Token dashboard at /dashboard — tokens saved, reduction %, per-query bars, query log (MCP calls included)
  • --measure mode — measures the budgeted context against what reading the whole files would have cost
  • Docker one-shot: make up boots Postgres + API + migrations + demo index
  • VS Code extension (.vsix attached): Index / Search / Context / Ask / Open dashboard

No API key needed for retrieval, context, or the dashboard — only CodeRAG's own ask calls an LLM.

Honest note on savings

On the bundled demo repo --measure reports only ~8% saved (11 tiny files; fixed prompt scaffolding dominates). Savings scale with file-size ÷ symbol-size. Run coderag context "..." --measure on your own repository for a real number.