LibreAI / Dev Tools / jcodemunch-mcp
// devtools · jgravelle/jcodemunch-mcp

jcodemunch-mcp

Symbol-level code retrieval MCP server (tree-sitter AST) built to slash agent token costs on exploration

★ 2.7k stars⑂ 372 forksNOASSERTIONupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

jcodemunch-mcp is an open-source dev tools project by jgravelle (jgravelle/jcodemunch-mcp on GitHub). It has 2,740 GitHub stars and 372 forks, is released under the NOASSERTION license, and was last updated on GitHub on 8 October 2026.

GitHub stars
2,740
Forks
372
License
NOASSERTION
Last updated on GitHub
8 October 2026
Category
Dev Tools
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Clarify your goal

    Point it at a repo your agent explores often, where whole-file reading is burning context and cost.

  2. Get jCodeMunch

    Install with uv tool, or run zero-install via uvx.

  3. Install and configure

    Run jcodemunch-mcp init to auto-detect and configure your MCP clients and prompt policy, or add it manually (e.g. claude mcp add).

  4. Run your first retrieval

    Ask your agent to index the repo, then find a function by description and fetch only its source.

// features

Why people love it

Symbol-level retrieval

get_symbol_source returns the exact function body, byte-precise, instead of the whole file.

Structural queries

find_importers, get_blast_radius, get_call_hierarchy, find_dead_code, get_changed_symbols, get_hotspots and search_ast answer questions grep cannot.

Task context assembly

assemble_task_context and plan_turn classify intent and gather the right symbols under one token budget.

Safety preflight tools

check_edit_safe, check_delete_safe, check_rename_safe and get_pr_risk_profile return explicit verdicts, including null when the index cannot support a claim.

Trust features

Calibrated confidence scores, freshness flags, coverage contracts on absence claims, and automatic secret redaction before content reaches the LLM.

Broad client and language support

Tested configs for many clients (Claude Code, Cursor, Codex, Cline, Windsurf, Gemini CLI and more) and 70+ tree-sitter languages, with monorepo support.

Advertisement
// run it

Run it yourself

  1. Clone the repo

    Clone jCodeMunch if you want the source; the normal install is step 2.

    git clone https://github.com/jgravelle/jcodemunch-mcp.git
    cd jcodemunch-mcp
  2. Install and initialize

    Install the server and let init configure your detected MCP clients.

    uv tool install jcodemunch-mcp
    jcodemunch-mcp init
  3. Or add to Claude Code manually

    The zero-install alternative from the README uses uvx.

    claude mcp add -s user jcodemunch -- uvx jcodemunch-mcp
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains jCodeMunch MCP?

jgravelle maintains it; the product site is jcodemunch.com.

Is it free?

The README says it is free for personal use, with commercial licenses for using it to make money. Check the license terms before commercial use — GitHub lists the license as NOASSERTION.

Does it need a paid API key?

The server itself is a local retrieval tool; your agent's model costs are separate. Some optional extras use AI summaries per provider, per the README.

How does it compare to CocoIndex Code (ccc)?

Both give agents AST-based code search. jCodeMunch focuses on symbol-exact retrieval and structural/safety tooling for MCP clients; ccc is a CLI-first engine with Skill/MCP modes and local embeddings.

How do I get started?

uv tool install jcodemunch-mcp, run jcodemunch-mcp init, then ask your agent to index the repo and fetch a symbol.

// keep exploring

Similar tools

Dev Tools

probe

Semantic code search for AI — ripgrep speed with tree-sitter AST parsing.

★ 722 starsApache-2.0
View guide →
Dev Tools

dbx

A 25MB database client for 100+ databases — with a built-in AI assistant, MCP server and CLI

★ 25.2k starsApache-2.0
View guide →
Dev Tools

claude-context

Code-search MCP for Claude Code: make your entire codebase the context for any coding agent.

★ 12.6k starsMIT
View guide →
Dev Tools

kimi-code

Kimi Code CLI — Moonshot's terminal coding agent: single-binary TUI with video input, subagents and MCP.

★ 7.8k starsMIT
View guide →
Dev Tools

cli-printing-press

Generates agent-first Go CLIs (plus MCP servers) for any API or website — with local SQLite sync built in

★ 4.8k starsMIT
View guide →
Dev Tools

CodeGraphContext

An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.

★ 4.2k starsMIT
View guide →
// alternatives

Alternatives in Dev Tools

The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if jcodemunch-mcp is not the right fit.

Get jcodemunch-mcp

Free and open — grab the source, star the repo, and start creating.