# cpp-project-indexer MCP server

> Provides an AI client with a deterministic routing index for C++20 codebases to locate symbols, modules, and exact source ranges.

- Repository: https://github.com/mef-programming/mcp-cpp-project-indexer
- Page: https://hostedmcp.org/servers/mef-programming/mcp-cpp-project-indexer
- Transport: —
- Stars: 10
- License: Apache-2.0

## Tools (20)

- `compact`
- `responseFormat`
- `omitNulls`
- `omitEmpty`
- `symbolTypes`
- `container`
- `file`
- `filePattern`
- `exactOnly`
- `hideNamespaces`
- `limit`
- `get_module_info`
- `list_module_imports`
- `list_module_imported_by`
- `compute_if_missing`
- `cache_only`
- `refresh`
- `get_call_xrefs_from`
- `get_call_xrefs_to`
- `get_symbol_neighborhood`

## FAQ

### What is the main purpose of this indexer?

It maps C++ symbols, files, and C++20 modules to exact source ranges so an AI can read only the specific code it needs.

### Does this tool replace a compiler or LSP?

No, it is not a compiler, LSP replacement, refactoring engine, semantic analyzer, or call-graph builder.

### How does it handle large-scale projects like Chromium?

It uses a SQLite-backed lookup index to keep server startup practical and memory usage low, even for massive codebases.

### Can I use it with C++20 modules?

Yes, it specifically indexes module interfaces, partitions, imports, export-imports, and consumers.
