MCP server
MCP Codebase Index
Structural codebase indexer with 17 query tools. 87% token reduction. Zero dependencies.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.2
- Listing updated
- 5 days ago
About MCP Codebase Index
MCP Codebase 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 mcp-codebase-index -- uvx mcp-codebase-indexAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-codebase-index": {
"command": "uvx",
"args": [
"mcp-codebase-index"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-codebase-index": {
"command": "uvx",
"args": [
"mcp-codebase-index"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"mcp-codebase-index": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-codebase-index"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-codebase-index": {
"command": "uvx",
"args": [
"mcp-codebase-index"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-codebase-index": {
"command": "uvx",
"args": [
"mcp-codebase-index"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
MCP Codebase Index FAQ
Is MCP Codebase Index free?
Yes. MCP Codebase Index is open source, so you can use and self-host it for free.
How do I add MCP Codebase Index to Claude Code?
Run this command in your terminal: claude mcp add mcp-codebase-index -- uvx mcp-codebase-index
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.