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)
Turn scattered notes, docs and transcripts into a queryable Markdown wiki — an LLM knowledge-base compiler with MCP access, no embeddings, self-hosted.
menot-you/n-memoryMemory your agent can trust — every answer carries its source; when it doesn't know, it says so. Hermetic, local, MCP.
egorfedorov/mozgExam-scored knowledge brains for AI agents: paste a docs URL, get a searchable brain over MCP with a measured score and known gaps. AGPL.
valtors/observerTransparent MCP proxy for agent observability. Logs every tool call, exposes trace history, reduces token overhead.
korovin-aa97/talkthrough-mcpMCP server: turn narrated screen recordings into agent-ready data — local Whisper transcript, scene keyframes, OCR, wall-clock anchoring. Record your screen, talk — your AI agent files the bugs.
ozankasikci/global-agent-memoryLocal-first, project-aware memory MCP server for Claude Code, Codex, and other AI agents, with Obsidian and an owner dashboard.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.