AcademyMCP serversDevelopment

mcp-codebase-index

Engineering teams that want an AI assistant to find code structure in large repositories without reading every file.

  • Recommendedour rating
  • 63gitHub stars
  • AGPL-3.0licence
  • 8 months agolast update
claude mcp add codebase-index -e PROJECT_ROOT=/path/to/project -- mcp-codebase-index

What it does

An MCP server that indexes a codebase by its structure, including functions, classes, imports, dependency graphs and cross-file call chains. It parses Python with the ast module and uses pattern matching for TypeScript, JavaScript, Go, Rust and C#. It has no runtime dependencies, and in git repositories the index updates as files change.

Use cases

  1. 01Find where a function is defined and called
  2. 02Check which files a change would affect
  3. 03Trace a dependency chain across modules

Questions about
mcp-codebase-index.

What is mcp-codebase-index used for?

Engineering teams that want an AI assistant to find code structure in large repositories without reading every file. An MCP server that indexes a codebase by its structure, including functions, classes, imports, dependency graphs and cross-file call chains. It parses Python with the ast module and uses pattern matching for TypeScript, JavaScript, Go, Rust and C#. It has no runtime dependencies, and in git repositories the index updates as files change.

How do I install mcp-codebase-index?

Run this in your terminal: claude mcp add codebase-index -e PROJECT_ROOT=/path/to/project -- mcp-codebase-index

Is mcp-codebase-index open source?

Yes. The code is on GitHub (MikeRecognex/mcp-codebase-index) under the AGPL-3.0 licence.

Is mcp-codebase-index safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.