v2.0.0 — Initial Release
CodeXRay v2.0.0
X-ray vision for your codebase — semantic knowledge graph & MCP server for AI coding agents.
Highlights
- 16 MCP tools for Claude Code, Cursor, and Windsurf
- TF-IDF semantic search — find code by meaning, zero external dependencies
- Call graph analysis — trace callers, callees, and dependency trees
- Impact analysis — blast radius before making changes
- Dead code detection — find unreferenced functions and classes
- Circular dependency detection — catch import/call cycles
- Complexity analysis — identify high cyclomatic complexity functions
- Path finding — shortest connection between any two symbols
- Watch mode — real-time index sync with chokidar
- Git hooks — post-commit auto-sync
- 13 languages — TypeScript, JavaScript, Python, Go, Rust, Java, C#, PHP, Ruby, C, C++, Swift, Kotlin
- Cross-platform — macOS, Linux, Windows (auto
cmd /cwrapping)
Install
npx codexray # zero-install
npm i -g codexray # npm
pnpm add -g codexray # pnpm
yarn global add codexray # yarn
bun add -g codexray # bunWhat's Inside
| Component | Description |
|---|---|
src/core/database.ts |
SQLite graph engine with FTS5 + TF-IDF |
src/core/indexer.ts |
File discovery, tree-sitter parsing, watch mode |
src/core/context.ts |
Smart context builder with relevance scoring |
src/parsers/extractor.ts |
AST → symbols + edges extraction |
src/mcp/server.ts |
MCP protocol server with 16 tools |
src/cli/index.ts |
CLI + interactive Claude Code installer |
Requirements
- Node.js 18–24
- No API keys, no cloud services — 100% local