jcodemunch-mcp
Level ALocalSymbol-level code retrieval for AI agents: fetch the function you need, not the whole file. Runs locally. 96.2% fewer tokens per lookup on average than grep-and-read on our 15-lookup benchmark. Works with Claude Code, Cursor, Codex and any MCP client. Free for non-commercial use; commercial use needs a one-time license.
jCodeMunch MCP is an MCP server that retrieves source code by symbol rather than by whole file, using tree-sitter AST parsing. It indexes a codebase once and lets AI agents fetch only the exact functions, classes, and methods they need instead of re-reading entire files. On its benchmark, a single lookup uses about 96.6% fewer tokens than a grep-and-read agent. Works with Claude Code, Cursor, VS Code, and other MCP clients.
Installation
MCP client config (paste into mcp.json)
{
"mcpServers": {
"jcodemunch-mcp": {
"command": "uvx",
"args": [
"jcodemunch-mcp"
]
}
}
}Agent install prompt
Copy and paste into Cursor / Claude / other agents to install this MCP for you
Please read this MCP repository and install it into my current environment:
https://github.com/jgravelle/jcodemunch-mcp
Known working client config (can write into mcp.json):
{
"mcpServers": {
"jcodemunch-mcp": {
"command": "uvx",
"args": [
"jcodemunch-mcp"
]
}
}
}
Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.