MCP.so
Sign In

Jcodemunch MCP Server

@jgravelle

Basic information

Category

Other

Last updated

License

NOASSERTION

Transports

stdio

Author

jgravelle

Submitted by

J. Gravelle

About Jcodemunch MCP Server

Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP client. 313B+ tokens saved.

Jcodemunch MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "jcodemunch": {
      "command": "uvx",
      "args": [
        "jcodemunch-mcp"
      ]
    }
  }
}

Jcodemunch MCP Server tools

6

Explicit tier override for the current session. Narrows or widens the exposed tool list to 'core' / 'standard' / 'full'. Prefer plan_turn(model=...) for routine per-task use; use set_tool_tier only for an explicit override (e.g. escalate to 'full' after a capability-gated failure). A narrowing that costs more than it saves is refused.

Agent self-reports its active model identifier. Server resolves to a tier via model_tier_map (fuzzy: normalize → exact → glob → substring → '*' → 'full') and narrows the exposed tool list accordingly. Idempotent: a second call with the same model is a cheap no-op. Prefer calling plan_turn(model=...) for routine per-task use; use announce_model as a fallback when plan_turn is not appropriate for the current task.

Return the version-current CLAUDE.md / AGENT.md policy snippet for jcodemunch-mcp — the same text produced by `jcodemunch-mcp claude-md --generate`. Lets an agent keep a one-line CLAUDE.md (e.g. "Call jcodemunch_guide and strictly follow its instructions.") instead of pasting a static snippet that drifts from the installed version. Idempotent, no repo context required. Matches the active tool surface, tier and disabled_tools — list 'jcodemunch_guide' in disabled_tools to hide it.

Dispatch any jcodemunch action by name: order(action, args). The single-verb front door to the full tool catalog. Read-only by default — actions that change index/session state require allow_state_change=true, and execution/file-write verbs are refused. For exploration questions ('how does X work'), order('get_ranked_context', {repo, query, token_budget}) answers in ONE call — prefer it over chained search/outline/source hops; add compress=true to fit more symbols in the same budget. Call 'menu' to discover actions, or 'route' to pick one from a task.

Discover catalog actions without keeping the full tool catalog resident: menu(query?). Returns compact rows (action, summary, required args, state_changing). With no query, lists the catalog. Pair with 'order' to dispatch the chosen action.

Map a natural-language task to the best catalog action(s): route(task, repo?, execute?). Returns ranked recommendations with ready-to-run argument templates. With execute=true, dispatches the top recommendation and returns its result in the same call, collapsing discover-then-call into one round-trip. Recommends assemble_task_context / plan_turn for context-gathering intents.

Overview

What is Jcodemunch Mcp?

Jcodemunch Mcp is a token-efficient MCP server for precise GitHub source code retrieval via tree-sitter AST parsing. It cuts AI token costs by 95%+ by indexing codebases once and retrieving only exact symbols (functions, classes, methods) instead of entire files. It is designed for developers using AI agents like Claude Code, Cursor, VS Code, and any MCP-compatible client.

How to use Jcodemunch Mcp?

Install via pip install jcodemunch-mcp or uvx jcodemunch-mcp. One-click install buttons are available for VS Code, VS Code Insiders, and Cursor. A quickstart guide is at QUICKSTART.md, and full documentation covers tool reference, configuration, and agent hooks.

Key features of Jcodemunch Mcp

  • Precise symbol retrieval (functions, classes, methods, constants)
  • 95%+ token reduction in code-reading workflows
  • tree-sitter based AST indexing for polyglot parsing
  • Compact wire format (MUNCH) for additional token savings
  • BM25 search, fuzzy matching, semantic/hybrid search (opt-in)
  • Multi-repo integration, dependency indexing, dead code detection

Use cases of Jcodemunch Mcp

  • Finding a function implementation without scanning entire files
  • Understanding module structure via outlines and targeted bundles
  • Exploring repo structure with query-driven context retrieval
  • Reducing AI token spend in retrieval-heavy workflows
  • Analyzing code health with observatory tools (e.g., six-axis health snapshots)

Frequently asked questions

1

What does Jcodemunch Mcp do differently than reading entire files?

It indexes the codebase using tree-sitter and retrieves only the exact code needed (symbols, outlines, context bundles) with byte-level precision, cutting token usage by 95%+.

2

What are the runtime requirements?

Jcodemunch Mcp requires Python and can be installed via pip or uvx. It runs locally and works with any MCP-compatible client (Claude Code, Cursor, VS Code, etc.).

3

Where does the data live?

Indexes are stored locally on the user's machine. The server is local-first; no external data transfer is required.

4

What transports and authentication does it use?

It uses the standard MCP protocol (stdio transport by default). No authentication mechanism is specified in the README.

5

Is Jcodemunch Mcp free for commercial use?

No, it is free for non-commercial use only. Commercial use requires a paid license: Builder ($79/1 dev), Studio ($349/up to 5 devs), or Platform ($1,999/org-wide).

Comments

More Other MCP servers