
Code Index MCP
by trondhindenes
Fast local source code search using Zoekt's trigram indexing for substring and regex matching.
What it does
Code Index MCP provides a high-performance indexing and search layer for local code repositories. By leveraging Zoekt's trigram-based indexing, it allows AI assistants to perform complex substring and regex searches across large codebases with minimal latency, far surpassing standard grep-based approaches.
Tools
index_directory: Indexes a local source code directory for fast searching.search_code: Executes complex searches across indexed directories using Zoekt syntax (regex, file filters, etc.).list_indexes: Lists all currently indexed directories and their storage locations.delete_index: Removes the index for a specific directory to free space or refresh data.index_info: Retrieves metadata and configuration details about the indexing process.
Installation
Add to your claude_desktop_config.json:
{
"mcpServers": {
"code-index": {
"command": "/path/to/code-index-mcp"
}
}
}
Supported hosts
- Claude Desktop
- Claude Code
Quick install
go install github.com/trondhindenes/code-index-mcp@latestInformation
- Pricing
- free
- Published
- 4/29/2026
- stars






