jcodemunch-mcp-code-retrieval

Indexes codebases with tree-sitter AST parsing and retrieves code symbols within token budgets.

7|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/mcp-skills --skill jcodemunch-mcp-code-retrieval-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: jcodemunch-mcp-code-retrieval
Source: https://github.com/reason-machines/mcp-skills/tree/main/skills/jcodemunch-mcp-code-retrieval
Command: npx skills add https://github.com/reason-machines/mcp-skills --skill jcodemunch-mcp-code-retrieval-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Reading entire source files to find a single function wastes enormous amounts of LLM context tokens. This Skill indexes a codebase once using tree-sitter AST parsing, then lets agents query and retrieve exact symbol implementations with byte-level precision, cutting code-reading token usage by 95%+. ## Core Features & Use Cases - Structured Symbol Retrieval: Find functions, classes, methods, and constants by name with BM25 and fuzzy matching, then fetch exact implementations instead of whole files. - Token-Budgeted Context: Tools like get_ranked_context and assemble_task_context return ranked code context that fits a specified token budget, with a compact MUNCH format saving ~45% more tokens. - Code Intelligence: Analyze blast radius, class hierarchies, dead code, untested symbols, dependency cycles, and cross-repo API contracts before refactoring. - Use Case: When fixing a bug in payment processing, call assemble_task_context with the bug description and a 6000-token budget to automatically gather the relevant symbols, then run get_blast_radius to verify the fix's impact before editing. ## Quick Start Ask the AI to index the current repository with jcodemunch and then find the implementation of a specific function by name.

Frequently Asked Questions about jcodemunch-mcp-code-retrieval

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce token usage when reading code with an AI agent?▼

Index the repository once with jCodeMunch, then query symbols by name and retrieve only exact implementations instead of full files. The compact MUNCH format and token budgets cut code-reading token usage by 95% or more.

How to find function implementations in a large codebase?▼

Use find_symbols with a name query for BM25 and fuzzy matching, or find_implementations for multi-source resolution including LSP dispatch, class hierarchies, and duck-typed matches. Then call get_symbol_content for the exact source.

Does jCodeMunch support TypeScript and Go codebases?▼

Yes, jCodeMunch supports Python, JavaScript, TypeScript, Go, Rust, Java, C, C++, C#, Ruby, and PHP through tree-sitter parsing. Language support is configurable in the .jcodemunch/config.jsonc file.

Can I use jCodeMunch with Claude Code or Cursor?▼

Yes, it runs as an MCP server via uvx jcodemunch-mcp and works with any MCP-compatible client. The jcm CLI helper provides one-command installs for Claude Code, Cursor, and Windsurf.

Why is semantic search not working in jCodeMunch?▼

Semantic search is disabled by default and requires installing sentence-transformers and torch, then setting semantic_search_enabled to true in config.jsonc. Without these dependencies, only BM25 and fuzzy matching are available.

Is jCodeMunch free for commercial use?▼

Non-commercial use is free, but commercial use requires a paid license: Builder at $79 for one developer, Studio at $349 for up to five developers, or Platform at $1,999 for organization-wide use.