codeindex MCP Server
Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.
codeindex scores 44 (Fair), licensed MIT and written in Zig. It installs as a local process. It declares 26 tools. Filed under AI and memory. GitHub shows 3 stars. Package registries report about 727 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
44 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
69/100 for listing completeness. Lost points: no README, 1 of 26 tools barely described, short summary.
How quality is graded
Where the 44 comes from
0 + 20 + 7 + 10 + 4 + 3 = 44. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "munhq-codeindex": { "command": "npx", "args": [ "-y", "@munhq/codeindex@0.6.11" ], "env": { "CODEINDEX_WORKSPACE": "", "CODEINDEX_NO_DAEMON": "", "CODEINDEX_DAEMON_IDLE_SECS": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CODEINDEX_WORKSPACE | Optional | Directory to index. Defaults to the enclosing project root of wherever the client starts the server, which is the right answer for every editor and agent that launches it inside a repository. Set it only when the server runs somewhere other than the code. |
CODEINDEX_NO_DAEMON | Optional | Set to 1 to keep the index inside this server process. By default every session on one repository shares a single background daemon that parses and watches the tree once, and each session is a thin relay onto it. Turn that off for a sandbox with no writable runtime directory. |
CODEINDEX_DAEMON_IDLE_SECS | Optional | Seconds with no session attached before the shared daemon exits and returns its memory. Default 900. Set 0 to keep it resident. |
Tools26Tool docs quality grade C
All capabilitiescall_costtoolLoops over rows ranked by the database and HTTP round trips each element costs, counted through the call graph
db_schematoolTables the migrations create that no code names, and SQL ORM models no migration creates
dead_codetoolSymbols nothing names outside their own definition, split from the unused public API of a library package
field_contentiontoolOne declared-state field written by two or more owners
find_callerstoolCall sites of a symbol, each with the function that holds it. Matched by name, so a same-named definition elsewhere is included
find_symboltoolFind symbol definitions (functions, structs, classes…) by name
find_wordtoolExact word/identifier lookup in the inverted word index
Transitive blast radius: what breaks if a file changes
get_hot_filestoolRecently changed files sorted by recency
get_imported_bytoolReverse dependencies — who imports this file
get_importstoolWhat files does a given file import/depend on
get_outlinetoolStructural outline of a file (symbols, line counts)
About
Structural code-intelligence engine in Zig — tree-sitter across 40+ languages, trigram and inverted indexes, dependency graph, exposed as an MCP server
Frequently asked questions
What is codeindex MCP Server?
Structural code intelligence over MCP: symbols, callers, imports and blast radius, 40+ languages.
How do I install codeindex MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. codeindex MCP Server runs locally from the npm package @munhq/codeindex with the command npx -y @munhq/codeindex@0.6.11.
Is codeindex MCP Server free and open source?
Yes. codeindex MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does codeindex MCP Server support remote (HTTP) connections?
No remote endpoint is listed for codeindex MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does codeindex MCP Server provide?
codeindex MCP Server provides 26 tools, including call_cost, db_schema, dead_code, and field_contention. See the full tool list for descriptions and parameters.
How is codeindex MCP Server's trust score calculated?
codeindex MCP Server scores 44 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.