A structural codebase indexer with an [MCP](https://modelcontextprotocol.io) server for AI-assisted development. Zero runtime dependencies — uses
MCP Codebase Index MCP server is a hosted integration for AI assistants that speak the Model Context Protocol. A structural codebase indexer with an MCP server for AI-assisted development. Zero runtime dependencies — uses Python's ast module for Python analysis and regex-based parsing for TypeScript/JS, Go.
Once MCP Codebase Index is connected, these are the calls the assistant has available:
get_project_summary — File count, packages, top classes/functionslist_files — List indexed files with optional glob filterget_structure_summary — Structure of a file or the whole projectget_functions — List functions with name, lines, paramsget_classes — List classes with name, lines, methods, basesget_imports — List imports with module, names, lineget_function_source — Full source of a function/methodget_class_source — Full source of a classfind_symbol — Find where a symbol is defined (file, line, type)get_dependencies — What a symbol calls/usesget_dependents — What calls/uses a symbolget_change_impact — Direct + transitive dependentsYou will need one environment variable: PROJECT_ROOT. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Codebase Index's toolset — get_project_summary, list_files, get_structure_summary and 11 more — is a fair guide to whether it matches your workflow. It is maintained by mikerecognex; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against MCP Codebase Index's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| get_project_summary | File count, packages, top classes/functions |
| list_files | List indexed files with optional glob filter |
| get_structure_summary | Structure of a file or the whole project |
| get_functions | List functions with name, lines, params |
| get_classes | List classes with name, lines, methods, bases |
| get_imports | List imports with module, names, line |
| get_function_source | Full source of a function/method |
| get_class_source | Full source of a class |
| find_symbol | Find where a symbol is defined (file, line, type) |
| get_dependencies | What a symbol calls/uses |
| get_dependents | What calls/uses a symbol |
| get_change_impact | Direct + transitive dependents |
| get_call_chain | Shortest dependency path (BFS) |
| get_file_dependencies | Files imported by a given file |
{
"mcpServers": {
"codebase-index": {
"command": "uvx",
"args": ["openclaw-mcp-adapter"],
"env": {
"PROJECT_ROOT": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| PROJECT_ROOT | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.