AIAny
Icon for item

jcodemunch-mcp

Provides a local MCP server that returns precise, symbol-level code (functions, classes, imports) via tree-sitter parsing so AI agents send only the bytes they need—commonly cutting code-reading token usage 95%+ and enabling compact packed responses for further savings.

Introduction

Most AI agents still pay to read entire files when they only need a single function or class; that repeated brute-force reading dominates cost and noise. jcodemunch-mcp rethinks repo exploration by indexing code once with tree-sitter and serving exact symbols, token-budgeted context bundles, and compact wire encodings so agents avoid wasting context on irrelevant lines.

What Sets It Apart
  • Symbol-level retrieval and provenance: index once, then fetch exact implementations (functions, methods, classes, constants) with byte offsets and git-backed provenance so agents don't open whole files to find one symbol.
  • Compact transport (MUNCH): an optional compact wire format and type-preserving packing that reduces bytes served in addition to retrieval savings (benchmarks report median ~45% bytes saved on tool responses on top of symbol retrieval reductions).
  • Task orchestration primitives: plan_turn (confidence-guided routing), assemble_task_context (one-call, intent-classified context under a token budget), and ranked context packs that let an agent get a task's context in a single request instead of chaining many reads.
  • Wide tooling and integrations: works with Claude Code, Cursor, VS Code, Codex CLI, Groq integration, and other MCP clients; includes tools for blast-radius, dead-code, symbol-provenance, refactor planning, AST-pattern search, and session-level token yield/budgeting.
  • Local-first and privacy-conscious: local indexes, opt-in telemetry, and explicit network calls only for user-invoked features (license checks, starter packs, optional model downloads).
  • Real-world metrics: production telemetry claims hundreds of billions of tokens saved (project telemetry lists 313B+ tokens saved), thousands of users, and reproducible benchmark harnesses (99.6% average token reduction on a representative run).
Who it's for and trade-offs

Great fit if you run retrieval-heavy agent workflows over medium-to-large repositories, want to cut AI spend and noise when navigating code, or need structured queries agents cannot answer with grep (blast radius, symbol importers, call hierarchies, get_changed_symbols).

Look elsewhere or expect extra work if your tasks frequently require full-file reasoning (large-file refactors that need entire-file context), if you require a purely hosted SaaS (jCodeMunch is local-first and offers paid commercial licenses for org use), or if you prefer an LLM-native RAG approach—jcodemunch minimizes what you send to the LLM rather than replacing the model.

Practical notes
  • Installation paths include pip / pipx and one-click MCP registration flows; a local index step is required before retrieval is effective.
  • Semantic/hybrid search and AI summaries are optional extras and may download models or call provider APIs when enabled; base retrieval and symbol tools work offline once indexed.
  • Licensing: free for personal use; commercial use requires paid tiers.

Overall, jcodemunch-mcp is a pragmatic, instrumented retrieval layer for agent-driven code workflows that prioritizes token efficiency, precise provenance, and composable tools for real engineering tasks.

Information

  • Websitegithub.com
  • OrganizationsjCodeMunch
  • AuthorsJ. Gravelle
  • Published date2026/02/09

Categories

More Items

GitHub
AI Infra2026

Compresses tool outputs, logs, files and RAG chunks locally before they reach the LLM to reduce token usage while caching originals for on-demand retrieval. Provides proxy/library/wrap modes, JSON- and code-aware compressors, and reversible compression.

GitHub

Connects Blender to any LLM so models can inspect, create, and modify 3D scenes via a socket-based Model Context Protocol (MCP) server; supports object manipulation, materials, renders, asset import, and executing Blender Python.

GitHub
AI Infra2026

Indexes mixed-format folders locally into a zero-config, Elasticsearch-compatible search engine offering keyword, semantic, vector and hybrid retrieval. Embeds on ingest, provides per-agent namespaced memory and AST-aware code indexing in a single static binary with no external embedding key.