Git-native structural memory for AI coding agents. Index once — stays fresh on every pull, merge, and branch switch. MCP server for Claude Code, Cursor & any agent.
View on GitHub ↗A git-native, self-updating structural memory for your codebase. Index once, stay fresh forever, and let any LLM agent retrieve exactly the code context it needs over MCP — function-level chunks under a token budget instead of grep-and-read-the-whole-file.
Benchmarks with receipts: see EVALLOG.md — including the target we missed.
- Package & imports: codesherpa (PyPI release imminent — until then, install from GitHub) - Command line & MCP server: sherpa · index lives in .sherpa/
That's it. init installs post-commit/post-checkout/post-merge/ post-rewrite hooks that run sherpa sync --quiet, so the index follows your HEAD automatically. First run downloads the embedding model (~0.5 GB, one-time) to ~/.cache/sherpa/ and prints progress; after that everything is fully local and offline. Try it from the shell with sherpa search "where is the retry logic for http requests".
Agents burn most of their context window navigating: grepping, opening whole files, re-reading. sherpa gives them seven MCP tools that answer structurally:
tool what it answers ------ searchcode(query, budgettokens) hybrid lexical+semantic+symbol search, packed to a token budget getdefinition(symbol) jump to a definition with signature + breadcrumb getcallers(symbol) / getreferences(symbol) ranked callers / references (same-package first) getrecentchanges(since) commits + symbol-level diffs since a ref or ISO date expand(expandid) full body of any compact result, on demand indexstatus() freshness, counts, warming state
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/farhankhwaja--codesherpa.html)
Local code intelligence for 8 languages + SQLite SQL. Technical and declared functional maps, FTS5/BM25 + graph/RRF search, impact and test plans. CLI, dashboard and 15 MCP tools. Optional Codex/Claud
Graphicle-AI/graphicleCode graph and memory for your coding agents, in one Rust program. For Claude Code, Codex, Cursor and any MCP client.
openwt-vn/graphrelayStop letting your AI coding agent grep its way through your codebase. One local binary gives it a real map of how your code connects — no cloud, no Python daemon.
ParsaVictor/code-context-engineLocal-first MCP context engine for AI coding agents — cuts token cost ~90% via a per-project code graph + code folding. Works with Cursor, Claude Code, Codex & any MCP client. Web + ML/PyTorch codebas
Bencibr/codindexLocal code index for AI agents. Scans a repo with tree-sitter into one SQLite file — function inventory, call graph, module deps, control flow, impact analysis — then serves 32 MCP tools to Claude Cod
bybit-exchange/kaasTurn scattered notes, docs and transcripts into a queryable Markdown wiki — an LLM knowledge-base compiler with MCP access, no embeddings, self-hosted.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.