What it does
TokenNuke is an MCP server that builds an AST index of source code using tree-sitter, covering Python, JavaScript, TypeScript, Go, Rust, Java, C, C++, C# and Ruby. It can index a local folder or a public GitHub or GitLab repository by URL, without a git binary, and re-parses only files whose SHA-256 hash has changed. Its 15 tools cover symbol lookup, file and repository outlines, full-text content search, hybrid search that combines FTS5 keyword matching with vector similarity, caller and callee call graphs, dependency maps, and diffs of symbols since the last index. The project was formerly named codemunch-pro.
It suits AI coding agents that need to read specific functions rather than whole files, and developers who want to check the callers of a function before changing its signature. The readme also points to semantic search for onboarding, call-graph mapping before moving functions between modules, and extracting public APIs with their signatures and docstrings. Retrieval works by byte offset: each symbol stores its offset and length, so a function can be fetched directly. The readme gives a 200-byte function from a 40KB file as an example, with a 99.5% reduction in tokens.
To run it, the server is added to an MCP client configuration, such as Claude Desktop or Cline, or started as an HTTP server, and it can communicate over stdio or HTTP. Each repository is stored in its own SQLite database. Embeddings are generated locally on CPU with FastEmbed, producing 384-dimensional vectors. The project is released under the MIT license.
Limitations and requirements
Indexing private repositories requires an auth token. Embeddings run on CPU via FastEmbed (ONNX). Use requires an MCP-compatible client or an HTTP connection to the server.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.BigJai/tokennuke
Code indexing MCP: 15 tools, 10 languages, hybrid search, call graphs, O(1) retrieval.
v1.3.0As shown on registry.modelcontextprotocol.io when we last read it