Structural code-intelligence engine in Zig — tree-sitter across 40+ languages, trigram and inverted indexes, dependency graph, exposed as an MCP server
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add codeindex -- npx -y @munhq/codeindex~/.codex/config.toml
[mcp_servers.codeindex]
command = "npx"
args = ["-y", "@munhq/codeindex"]
# codex mcp add codeindex -- npx -y @munhq/codeindex~/.cursor/mcp.json
{
"mcpServers": {
"codeindex": {
"command": "npx",
"args": [
"-y",
"@munhq/codeindex"
]
}
}
}.vscode/mcp.json
{
"servers": {
"codeindex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@munhq/codeindex"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"codeindex": {
"command": "npx",
"args": [
"-y",
"@munhq/codeindex"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"codeindex": {
"command": "npx",
"args": [
"-y",
"@munhq/codeindex"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"codeindex": {
"command": "npx",
"args": [
"-y",
"@munhq/codeindex"
]
}
}
}