Basic information
About Mcp Codebase Index Server
17 MCP query tools for codebase navigation — functions, classes, imports, dependency graphs, change impact. Zero dependencies. 87% token reduction.
Mcp Codebase Index is a MCP server in the Other category listed in the AddMCP.net directory, published by MikeRecognex. Supported transport: stdio. Runtime: python. License: AGPL-3.0. The repository has 58 GitHub stars. Source code is hosted on github.com. Related topics: ai-coding, ast-parser, claude-code, code-analysis, code-navigation.
Setup
{
"mcpServers": {
"codebase-index": {
"command": "mcp-codebase-index",
"env": {
"PROJECT_ROOT": "/path/to/project"
}
}
}
}
{
"mcpServers": {
"codebase-index": {
"command": "mcp-codebase-index",
"env": {
"PROJECT_ROOT": "/path/to/project"
}
}
}
}
{
"servers": {
"codebase-index": {
"command": "mcp-codebase-index",
"env": {
"PROJECT_ROOT": "/path/to/project"
}
}
}
}
Mcp Codebase Index config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"codebase-index": {
"command": "mcp-codebase-index",
"env": {
"PROJECT_ROOT": "/path/to/project"
}
}
}
}
Mcp Codebase Index tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Mcp Codebase Index?
A structural codebase indexer with an MCP server for AI-assisted development. It parses source files into structural metadata (functions, classes, imports, dependency graphs, call chains) and exposes 18 query tools via the Model Context Protocol, enabling Claude Code and other MCP clients to navigate codebases efficiently without reading entire files. Requires Python 3.11+ and has zero runtime dependencies.
How to use Mcp Codebase Index?
Install via pip install "mcp-codebase-index[mcp]", then set the PROJECT_ROOT environment variable and run as a console script (mcp-codebase-index) or Python module (python -m mcp_codebase_index.server). Configure with Claude Code (.mcp.json) or OpenClaw (openclaw.json) by specifying the command and environment variable.
Key features of Mcp Codebase Index
- Zero runtime dependencies (only Python 3.11+)
- Automatic incremental re-indexing using git diff
- Persistent disk cache for instant startup
- 18 query tools including dependency graph and call chains
- Supports Python (AST), TypeScript/JS, Go, Rust, C# (regex)
- Sub-millisecond query times even on codebases over 1M lines
Use cases of Mcp Codebase Index
- AI-assisted code navigation without reading entire files
- Finding symbol definitions and usages across a codebase
- Change impact analysis and dependency tracking
- Exploring cross-file call chains and import relationships
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In