
Built this because Claude Code was making consistent errors with types, grepping files that have nothing to do with the edits, and other similar repeated issues such as hydration errors that are hard to spot but have simple query patterns. Numerous issues I am sure you have ran into as well working with CC.
agentmako is a local MCP server that pre-indexes your repo into SQLite (files, symbols, routes, imports, optional Postgres/Supabase schema). Any MCP client (Claude Code, Cursor, Cline, Codex) can call typed tools like context_packet or ask and get back a ranked, structured response — instead of 14 tool calls of grep + read, one tool call returns the relevant files + facts + prior findings.
On a real auth-route refactor task: tool calls before first edit ~14 → 2, output tokens ~8K → ~1.2K, time-to-first-edit ~240s → ~60s. Same model, same answer quality, ~7× cheaper on the expensive half of the bill.
Stack: TypeScript / Node 20+, SQLite via node:sqlite, tree-sitter for parsing, standard MCP over stdio. Local-first, no telemetry, runs entirely on your machine.
npm install -g agentmako
agentmako connect .
Then point your MCP client at it (command: "agentmako", args: ["mcp"]).
Repo: https://github.com/drhalto/agentmako
Webpage+Docs+Blog: https://agentmako.drhalto.com/
Just shipped 0.2.3 (made the reef engine persistent). Listed on the official MCP Registry and Glama. Honest feedback or PRs welcome.