mcp-codebase-index
mcp-codebase-index is an MCP server. Its repository has 63 GitHub stars and is licensed under AGPL-3.0; we last read it on 2026-10-22.
Provides 17 tools for navigating a codebase, including functions, classes, imports, dependency graphs, and change impact analysis. No external dependencies required.
Install
Read from mcp-codebase-index’s own README, close to verbatim -- not written by us, and not guessed.
pip install "mcp-codebase-index[mcp]"
What it reaches, and what it needs
Reaches
○ not recognised
Credential
○ none found
Maintenance
Stars
63
State
listed
Licence
AGPL-3.0
From the repository
17 MCP query tools for codebase navigation — functions, classes, imports, dependency graphs, change impact. Zero dependencies. 87% token reduction.
What mcp-codebase-index can do
18 tools documented in its README. An AI client calls these by name.
get_project_summary- File count, packages, top classes/functions
list_files- No description in the README.
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
get_file_dependents- Files that import from a given file
search_codebase- Regex search across all files (max 100 results)
reindex- Force full re-index (rarely needed — incremental updates happen automatically in git repos)
get_usage_stats- Session efficiency stats: tool calls, characters returned vs total source, estimated token savings
Read from the README; names are kept only if the README contains them.
Common questions about mcp-codebase-index
- What does mcp-codebase-index do?
- Provides 17 tools for navigating a codebase, including functions, classes, imports, dependency graphs, and change impact analysis. No external dependencies required.
- How do I install mcp-codebase-index?
- Its own README gives this command: pip install "mcp-codebase-index[mcp]". Run it where your MCP client can launch the server, and check the README for any settings it asks for.
- Is mcp-codebase-index official and is it maintained?
- We found nothing naming it as a vendor’s official server. Its repository has 63 GitHub stars and its state in our directory is listed. Its last commit we recorded was on 2026-02-28.
- What licence does mcp-codebase-index use?
- The repository declares the AGPL-3.0 licence.