github-codemunch-mcp

github-codemunch-mcp

A token-efficient MCP server for exploring GitHub repositories using tree-sitter AST parsing to extract symbol signatures and summaries. It enables users to search and retrieve specific code components while significantly reducing token consumption compared to raw file dumps.

Category
Visit Server

README

jCodeMunch MCP

Make AI agents cheaper and faster on real codebases

License MCP Local-first Polyglot

Stop dumping files into context windows. Start retrieving exactly what the agent needs.

jCodeMunch MCP indexes a local codebase once, then lets MCP-compatible agents (Claude Desktop, OpenClaw, etc.) discover and retrieve code by symbol instead of brute-reading files.


🚀 Proof first: Token savings in the wild

Repo: geekcomputers/Python
Size: 338 files ‱ 1422 symbols indexed
Task: Find calculator/math implementations

Approach Tokens (this run) What the agent had to do
Raw file approach ~7,500 Open multiple files blindly and skim
jCodeMunch MCP ~1,449 search_symbols(...) → get_symbol(...)

Result: 80.7% fewer tokens (≈5.2× more efficient)

Cost scales with tokens. Latency often scales with “how much junk the model must read”.
jCodeMunch reduces both by turning search into navigation.

Token benchmark


Why agents need this (and humans benefit too)

Agents waste money when they:

  • open entire files just to find one function
  • re-read the same code repeatedly
  • drown in imports, boilerplate, and unrelated helpers

jCodeMunch gives agents structured access:

  • Search symbols by name/topic
  • Outline files without loading full contents
  • Retrieve only the exact implementation of a symbol

Agents don’t need more context. They need precision context access.


Architecture at a glance

Architecture

Pipeline

  1. Parse source structure (polyglot parsers)
  2. Extract symbols + metadata (names, signatures, byte offsets)
  3. Persist a lightweight local index
  4. Serve MCP tools for discovery
  5. Retrieve exact snippets via byte-offset precision

Quickstart

git clone https://github.com/jgravelle/jcodemunch-mcp
cd jcodemunch-mcp
pip install -r requirements.txt

Configure your MCP client (Claude Desktop / OpenClaw)

Point the server at any local folder containing a codebase. Index once, then query.


Demo

Suggested demo flow:

  1. index_repo(path=...)
  2. search_symbols(query="calculate")
  3. get_symbol("...")

Tool suite

Tool Purpose
index_repo Index any local codebase folder
search_symbols Find symbols by name/topic
get_file_outline View a file’s structural “API skeleton”
get_symbol Retrieve the exact implementation

What it’s great for

  • Large, messy repos where grepping is painful
  • Agentic refactors across many files
  • “Where is X implemented?” or “Who calls Y?” exploration
  • Fast onboarding and architecture discovery
  • Running cheaper agent swarms (OpenClaw-style)

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured