MCP.so
登录

MCP Codebase Index

@MikeRecognex

基本信息

分类

其他

许可证

AGPL-3.0

传输方式

stdio

作者

MikeRecognex

提交者

Michael Doyle

关于 MCP Codebase Index

17 MCP query tools for codebase navigation — functions, classes, imports, dependency graphs, change impact. Zero dependencies. 87% token reduction.

MCP Codebase Index 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "codebase-index": {
      "command": "mcp-codebase-index",
      "env": {
        "PROJECT_ROOT": "/path/to/project"
      }
    }
  }
}

MCP Codebase Index 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from mcp-codebase

评论

其他 分类下的更多 MCP 服务器