codeindex MCP
A structural code-intelligence engine that provides symbols, callers, imports, and blast radius analysis across 40+ languages. It uses tree-sitter, trigram indexes, and dependency graphs to answer structural questions efficiently, allowing AI agents to understand code context without reading entire files.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Retrieve symbol outlines and definitions
- Identify callers and dependency chains
- Analyze blast radius of code changes
- Search code using trigram and inverted indexes
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@munhq/codeindex 0.6.1
{
"version": "0.6.1",
"transport": "stdio",
"identifier": "@munhq/codeindex",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "CODEINDEX_WORKSPACE",
"format": "string",
"description": "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."
},
{
"name": "CODEINDEX_NO_DAEMON",
"format": "string",
"description": "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."
},
{
"name": "CODEINDEX_DAEMON_IDLE_SECS",
"format": "string",
"description": "Seconds with no session attached before the shared daemon exits and returns its memory. Default 900. Set 0 to keep it resident."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"codeindex-mcp": {
"command": "npx",
"args": [
"-y",
"@munhq/codeindex@0.6.1"
],
"env": {
"CODEINDEX_WORKSPACE": "<YOUR_CODEINDEX_WORKSPACE>",
"CODEINDEX_NO_DAEMON": "<YOUR_CODEINDEX_NO_DAEMON>",
"CODEINDEX_DAEMON_IDLE_SECS": "<YOUR_CODEINDEX_DAEMON_IDLE_SECS>"
}
}
}
}Cline
{
"mcpServers": {
"codeindex-mcp": {
"command": "npx",
"args": [
"-y",
"@munhq/codeindex@0.6.1"
],
"env": {
"CODEINDEX_WORKSPACE": "<YOUR_CODEINDEX_WORKSPACE>",
"CODEINDEX_NO_DAEMON": "<YOUR_CODEINDEX_NO_DAEMON>",
"CODEINDEX_DAEMON_IDLE_SECS": "<YOUR_CODEINDEX_DAEMON_IDLE_SECS>"
}
}
}
}VS Code
{
"servers": {
"codeindex-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@munhq/codeindex@0.6.1"
],
"env": {
"CODEINDEX_WORKSPACE": "<YOUR_CODEINDEX_WORKSPACE>",
"CODEINDEX_NO_DAEMON": "<YOUR_CODEINDEX_NO_DAEMON>",
"CODEINDEX_DAEMON_IDLE_SECS": "<YOUR_CODEINDEX_DAEMON_IDLE_SECS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"codeindex-mcp": {
"command": "npx",
"args": [
"-y",
"@munhq/codeindex@0.6.1"
],
"env": {
"CODEINDEX_WORKSPACE": "<YOUR_CODEINDEX_WORKSPACE>",
"CODEINDEX_NO_DAEMON": "<YOUR_CODEINDEX_NO_DAEMON>",
"CODEINDEX_DAEMON_IDLE_SECS": "<YOUR_CODEINDEX_DAEMON_IDLE_SECS>"
}
}
}
}Let your agent find its tools
Find servers like codeindex MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.