codeindex MCP server
Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.
not scanned yet
3 stars506 downloads/wk
Reviews
Write oneNobody has reviewed codeindex yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
codeindex tools
No tool declarations could be read from the package source. They show once the server is installed.
How codeindex compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- GitHub stars
- 3
- more than 80% of 28,688 servers
- Downloads a week
- 506
- more than 88% of 12,191 servers with a package
Release history: 3 versions in the registry since 2026-09-13, latest 2026-11-02, typically one every 38 days.
Install codeindex in Claude Code, Cursor or VS Code
Runs npx -y @munhq/codeindex on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add codeindex -- npx -y @munhq/codeindex
What the publisher says
From the codeindex repository's README, as published. We do not edit it. Read it on GitHub
A structural code intelligence engine that runs as an MCP server for AI coding agents.
It indexes your codebase with tree-sitter (40+ languages), builds a trigram full-text index, an inverted word index, and a dependency graph — then exposes them through 16 MCP tools.
┌─────────────┐ MCP (stdio) ┌───────────┐ ┌──────────────────┐
│ AI Agent │ ◄─────────────► │ codeindex │ socket │ codeindex daemon │
│ (Claude, │ 16 tools, │ (relay) │ ◄────────► │ one per │
│ Cursor…) │ JSON-RPC └───────────┘ │ workspace │
└─────────────┘ └────────┬─────────┘
┌─────────────┐ MCP (stdio) ┌───────────┐ │
│ AI Agent │ ◄─────────────► │ codeindex │ ◄───────────────────┘
│ (session 2)│ │ (relay) │ tree-sitter parse (40+ langs)
└─────────────┘ └───────────┘ trigram + word index
dependency graph
one file watcher
snapshot persistenceEvery session on a repository speaks plain stdio MCP, as before. Behind that, they share one index: the tree is parsed once, watched once and written once, however many agents are attached. Eight sessions on one repository used to be eight copies of the same index, eight file watchers and eight writers of the same snapshot; measured on a 720-file project, each session went from 87 MB to 7 MB, against one shared 77 MB daemon.
Why
AI coding agents spend tokens reading entire files. codeindex answers structural questions — symbol outlines, definitions, callers, blast radius, dependency chains — in a few hundred tokens instead of thousands.
One plan_change call returns: where a symbol is defined, every call site, the file's architectural role (god module / stable core / island / driver), hardcoded literals to check, and the full transitive blast radius if the file changes.
Quickstart
The shortest path, if you have Node 18+. Nothing else to install, no key, no config — the package is a 4 KB wrapper that fetches the binary for your platform and verifies it against the published checksums:
claude mcp add codeindex -- npx -y @munhq/codeindexNo Node, or you want the skill and the hook as well:
# Prebuilt binary + skill + MCP registration, in one command
curl -fsSL https://raw.githubusercontent.com/munhq/codeindex/main/install.sh | sh
# Or build from source:
cd zig && ./fetch-vendor.sh && zig build -Doptimize=ReleaseFastDocker, for hosts that install MCP servers as images. The workspace is bind-mounted read-only; codeindex never writes to it:
docker run -i --rm -v "$PWD:/workspace:ro" munhq/codeindexShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
codeindex: common questions
- Is codeindex MCP server safe?
- Mostly: it is graded B (75/100). Read the codeindex safety report
- How do I install codeindex?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does codeindex need an API key?
- No secret keys are declared. It reads 3 settings from the environment.
- Is codeindex maintained?
- The last commit was 39 days ago (2026-09-26). The latest release is v0.6.2.
- How does codeindex compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); github stars 3 (more than 80% of 28,688 servers); downloads a week 506 (more than 88% of 12,191 servers with a package). Full comparison.