Server facts
jcodemunch-mcp
GitHub stars
2,870
Last commit
Nov 25, 2026
Runtime
python
License
—
Project
- Author
- jgravelle
- Repository
- github.com/jgravelle/jcodemunch-mcp
- Website
- jcodemunch.com/
- Category
- Developer Tools
Tech
- Runtime
- python
- Transports
- stdiostreamable-httpsse
- Remote access
- No
- Authentication
- None (commercial license key for work use)
Activity
- GitHub stars
- 2,870
- Last commit
- Data as of
Overview
Coding agents burn context windows rapidly when every lookup greps filenames and loads entire 700-line files just to inspect a single function. Built on tree-sitter AST parsing across 79+ languages and monorepos, jCodeMunch builds a local index under `~/.code-index/` storing symbol signatures, summaries, and byte offsets alongside source content. On the author's reproducible 15-lookup benchmark across Express, FastAPI, and Gin using `tiktoken cl100k_base`, retrieving symbols cut average tokens per lookup by 96.3% compared with grep-and-read, while a 50-iteration production Vue 3 and Firebase A/B test on Claude Sonnet 4.6 raised task success from 72% to 80%.
Install via `uv tool install jcodemunch-mcp` and run `jcodemunch-mcp init` to auto-configure Claude Code, Claude Desktop, Cursor, Windsurf, Codex, Cline, Gemini CLI, and VS Code, or run ephemerally through `uvx jcodemunch-mcp`. Fresh installs advertise a compact six-tool front door (`menu`, `order`, `route`, `jcodemunch_guide`, `announce_model`, `set_tool_tier`) guarding 90+ deeper capabilities such as `get_blast_radius`, `find_importers`, `get_call_hierarchy`, `check_edit_safe`, and `get_pr_risk_profile`. Keep licensing in mind: personal non-commercial use is free, whereas company or paid client work requires a paid dual-use commercial license (starting at $9.99 Freelance or $99 Builder).
Install & configure
Requirements
- uv (`uv tool install` / `uvx`), pipx, or Python virtualenv
- MCP client such as Claude Code, Claude Desktop, Cursor, Windsurf, Codex CLI, or VS Code
- Commercial license key required for employer, client, or paid work (free for personal use)
uv tool install jcodemunch-mcpRun `uv tool install jcodemunch-mcp` then `jcodemunch-mcp init` to configure detected clients and index hooks, or launch ephemerally via `uvx jcodemunch-mcp`. Add a reminder in `CLAUDE.md` to call `jcodemunch_guide` so agents prefer symbol tools.
Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"jcodemunch": {
"command": "uvx",
"args": [
"jcodemunch-mcp"
]
}
}
}Config file · Project: .cursor/mcp.json
User: ~/.cursor/mcp.json
The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"jcodemunch": {
"command": "uvx",
"args": [
"jcodemunch-mcp"
]
}
}
}Config file · Workspace: .vscode/mcp.json
For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.
{
"servers": {
"jcodemunch": {
"type": "stdio",
"command": "uvx",
"args": [
"jcodemunch-mcp"
]
}
}
}Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"jcodemunch": {
"command": "uvx",
"args": [
"jcodemunch-mcp"
]
}
}
}Config file · Project scope: .mcp.json at the repository root
The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"jcodemunch": {
"type": "stdio",
"command": "uvx",
"args": [
"jcodemunch-mcp"
]
}
}
}Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Tools
Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.
| Tool | What it does |
|---|---|
| menu | Front-door discovery tool on the default six-tool counter surface for exploring available jCodeMunch operations. |
| order | Executes selected capabilities through the compact front-door surface without loading all 90+ tool schemas. |
| route | Routes coding tasks to the appropriate jCodeMunch retrieval or analysis workflow. |
| jcodemunch_guide | Provides agent instructions and usage guidance so models favor symbol retrieval over whole-file reading. |
| search_symbols | Locates functions, classes, methods, or constants across indexed repositories by symbol metadata. |
| get_symbol_source | Fetches the exact byte-precise implementation of a function or class outline instead of the full file. |
| get_file_outline | Returns symbol names and signatures for a file so agents grasp structure without full-content reads. |
| assemble_task_context | Classifies task intent, extracts anchor symbols, and bundles relevant code under a single token budget. |
| get_blast_radius | Maps affected files and symbols across indexed repositories when changing a target symbol. |
| find_importers | Identifies modules importing a target file or symbol, enabling structural checks like orphaned file detection. |
| get_call_hierarchy | Traces direct and deeper callers and callees for a function or method up to depth 5. |
| check_references | Finds where a function, class, or identifier is used across import sites and file content mentions. |
| find_dead_code | Detects unused symbols across the indexed repository graph. |
| check_edit_safe | Preflights proposed symbol edits with calibrated verdicts and optional imported type-checker diagnostics. |
| check_delete_safe | Evaluates whether deleting a symbol is safe based on indexed reference coverage and terminal stop rules. |
| get_pr_risk_profile | Scores pull request risk across measurable blast and diagnostic axes. |
| get_session_stats | Reports tokens served and estimated token savings accumulated during the active session. |
Use cases
- Fetch exact function bodies in large Express, FastAPI, Go, Rust, or TypeScript monorepos without exhausting context limits.
- Run impact and preflight checks (`get_blast_radius`, `check_delete_safe`, `get_pr_risk_profile`) before refactoring shared utilities.
- Detect orphaned files and unused symbols using structural import-graph queries (`find_importers`, `find_dead_code`).
- Load free pre-built starter packs (`jcodemunch-mcp install-pack nodejs`) to navigate popular framework internals immediately.
Strengths
- Verified 96.3% average lookup token reduction on pinned Express, FastAPI, and Gin benchmarks with byte-precise AST extraction.
- Local-first index under `~/.code-index/` keeps source code, paths, and queries on disk with automatic secret redaction.
- Auto-detecting `init` CLI configures major editors, git-aware refresh hooks, and compact six-tool schemas out of the box.
Limitations
- Dual-use license is free only for personal/non-commercial projects; commercial or workplace usage requires a paid license.
- Offers 0% token savings on whole-file edits that genuinely require reading full module state.
- Sends an anonymous token-savings counter by default unless disabled via `share_savings: false` or `JCODEMUNCH_SHARE_SAVINGS=0`.
jcodemunch-mcp setup notes
- jcodemunch-mcp's example uses stdio, while its catalog transports are stdio / streamable-http / sse; use the example's connection type.
- jcodemunch-mcp has no recorded license; confirm reuse terms in its repository.