What's New
Docstring Extraction & Search
- New
search_codebasetool — search symbols by their docstring/comment content - Extracts docstrings during parsing for all 8 languages:
- Python:
"""docstrings"""+#comment fallback - JS/TS: JSDoc (
/** ... */) - Java: Javadoc
- Go:
//comments - Rust:
///doc comments - C/C++: Doxygen/block comments
- Python:
find_symbolnow includes docstrings in output
C/C++ Support (new)
- Full C and C++ parsing via tree-sitter
- Functions, classes, structs, enums, namespaces, templates, methods, typedefs
- Inheritance tracking,
#includeimports, function call references
Multi-Project Support (new)
- Auto-detect project root from git
- Multi-repo projects with comma-separated roots
- Monorepo scoping via
root+include - Config file support (
.codegraph.json,~/.codegraph/config.json) - 3 new tools:
list_projects,switch_project,add_project
Stats
- 18 MCP tools (was 14)
- 8 languages: TS, JS, Python, Go, Rust, Java, C, C++
- 146 tests passing across 10 test suites
Install
npx mcp-codebase-intelligence@0.3.0