MCP Cpp Project Indexer MCP Server

`mcp-cpp-project-indexer` is a deterministic C++ source-range indexer for large, module-heavy projects and MCP-based AI code navigation.

Local serverstdioPython

What is the MCP Cpp Project Indexer MCP Server?

mcp-cpp-project-indexer is a deterministic C++ source-range indexer for large, module-heavy projects and MCP-based AI code navigation.

What you get

  • files and stable file IDs
  • C++20 modules and partitions
  • lexical #include directives
  • imports and exports
  • classes / structs / enums
  • functions / methods

Recorded tools

  • namespaces — classes / structs / enums
  • imports — importedBy
  • indexer_tui.py — a polished mouse-capable Textual UI
  • indexer_control.py — a dependency-free command-line fallback

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
compactreturn only compact routing fields
responseFormatpretty or minified JSON for metadata responses
omitNullsomit null fields from metadata responses
omitEmptyomit empty arrays/objects from metadata responses
symbolTypesfilter by indexed symbol kind
containerfilter to symbols contained by a class/struct/namespace name or suffix
filefilter to one fileId or project-relative path
filePatternfilter by project-relative path glob
exactOnlyreturn only exact short-name or qualified-name matches, including case-insensitive exact matches
hideNamespaceshide namespace reopening symbols
limitbound the result size

How to install the MCP Cpp Project Indexer MCP Server

{
  "mcpServers": {
    "mcp-cpp-project-indexer": {
      "command": "python",
      "args": [
        "<indexer-root>\\code_index_mcp_server.py",
        "--project-root",
        "<project-root>",
        "--index-root",
        "<project-root>\\.mcp-cpp-project-indexer"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use MCP Cpp Project Indexer to namespaces.”
  • “Use MCP Cpp Project Indexer to imports.”
  • “Use MCP Cpp Project Indexer to indexer tui.py.”

Frequently asked questions

`mcp-cpp-project-indexer` is a deterministic C++ source-range indexer for large, module-heavy projects and MCP-based AI code navigation. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.