Skip to content

Releases: g-tiwari/mcp-codebase-intelligence

v0.3.0 — Docstring Search, C/C++, Multi-Project

Choose a tag to compare

@g-tiwari g-tiwari released this 15 Mar 07:16

What's New

Docstring Extraction & Search

  • New search_codebase tool — 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
  • find_symbol now 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, #include imports, 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

v0.2.0 — Grammar Upgrades

Choose a tag to compare

@g-tiwari g-tiwari released this 14 Mar 23:45

What's New

Upgraded Tree-Sitter Grammars

  • tree-sitter 0.21.1 → 0.22.4
  • tree-sitter-rust 0.21.0 → 0.24.0
  • tree-sitter-java 0.21.0 → 0.23.5
  • tree-sitter-python 0.21.0 → 0.23.6
  • tree-sitter-go 0.21.2 → 0.23.4

Parse Accuracy

  • Rust: 82% → 100% (tested on ripgrep)
  • Java: 97% → 100% (tested on gson)
  • Modern syntax now fully supported: Rust async/await, Java records & sealed classes, Python match statements, Go generics

Tests

  • 108 tests across 8 suites (was 90)
  • 18 new grammar regression tests covering modern syntax

CI

  • Node 22 + 24 matrix
  • Fixed lockfile for cross-platform compatibility

Full Changelog: v0.1.0...v0.2.0

v0.1.0 — Initial Release

Choose a tag to compare

@g-tiwari g-tiwari released this 14 Mar 23:12

mcp-codebase-intelligence v0.1.0

Semantic code intelligence for AI assistants via MCP.

Highlights

  • 14 MCP tools — symbol search, references, call graphs, impact analysis, architecture diagrams, natural language queries, semantic diff
  • 6 languages — TypeScript, JavaScript, Python, Go, Rust, Java
  • LSP integration — go-to-definition, type info, find implementations (TS/JS)
  • Semantic diff — feed it git diff, get structured impact analysis with risk assessment
  • 90 tests passing across 7 test suites

Install

npm install mcp-codebase-intelligence

Quick Start

claude mcp add codebase-intelligence \
  node /path/to/node_modules/.bin/mcp-codebase-intelligence \
  -e PROJECT_ROOT=/path/to/your/project

Full tool list

Category Tools
Navigation find_symbol, get_references, get_exports, get_dependencies, get_call_graph
LSP (TS/JS) goto_definition, get_type_info, find_implementations
Change Analysis semantic_diff, analyze_change_impact
Architecture architecture_diagram, query_codebase
Admin get_index_stats, reindex