MCP server
Code Index
Fast local source code searching using Zoekt trigram-based indexing
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.16
- Listing updated
- 4 days ago
About Code Index
Code Index is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add code-index-mcp -- npx -y https://github.com/trondhindenes/code-index-mcp/releases/download/1.0.16/code-index-mcp-darwin-amd64.mcpbAdd to claude_desktop_config.json
{
"mcpServers": {
"code-index-mcp": {
"command": "npx",
"args": [
"-y",
"https://github.com/trondhindenes/code-index-mcp/releases/download/1.0.16/code-index-mcp-darwin-amd64.mcpb"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"code-index-mcp": {
"command": "npx",
"args": [
"-y",
"https://github.com/trondhindenes/code-index-mcp/releases/download/1.0.16/code-index-mcp-darwin-amd64.mcpb"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"code-index-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"https://github.com/trondhindenes/code-index-mcp/releases/download/1.0.16/code-index-mcp-darwin-amd64.mcpb"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"code-index-mcp": {
"command": "npx",
"args": [
"-y",
"https://github.com/trondhindenes/code-index-mcp/releases/download/1.0.16/code-index-mcp-darwin-amd64.mcpb"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"code-index-mcp": {
"command": "npx",
"args": [
"-y",
"https://github.com/trondhindenes/code-index-mcp/releases/download/1.0.16/code-index-mcp-darwin-amd64.mcpb"
]
}
}
}Pricing
Open source
Code Index FAQ
Is Code Index free?
Yes. Code Index is open source, so you can use and self-host it for free.
How do I add Code Index to Claude Code?
Run this command in your terminal: claude mcp add code-index-mcp -- npx -y https://github.com/trondhindenes/code-index-mcp/releases/download/1.0.16/code-index-mcp-darwin-amd64.mcpb