Repolex (v0.11.1) builds a local SQLite FTS5 index of your codebase for fast grep-like lookups and AI-synthesized architecture summaries, exposed to Claude Code via the Model Context Protocol (MCP). It indexes symbol definitions (classes, functions, methods) with line numbers across Ruby, TypeScript, JavaScript, Python, and 10+ other languages. Its key differentiators are per-row staleness flags (the model knows when synth data is stale), optional AI synthesis (architecture/domains/endpoints/db_tables) via Anthropic API with configurable cost limits, incremental refresh, and a portable SQLite file that can be committed to a private repo for team sharing. Runs entirely locally unless API mode is enabled.
npm install repolexNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Global install, setup with Claude Code, index a project, and optionally run AI synthesis.
Upgrade Node.js to version 20 or later.
Install repomix: npm install -g repomix
Set ANTHROPIC_API_KEY for synthesis; review mode flags in docs.
Quit and restart Claude Code (or reload MCP config if supported).
Use search_code or find_references for Python files instead of relying on symbol table.
Use search_code and find_references for those languages; symbol-specific tools will return no results.
npm install -g repomix
Reinstall globally: npm install -g repolex
Restart Claude Code completely. If still missing, run 'repolex doctor' to diagnose.
Initialize git in the target directory: git init, or ensure you are in a valid git repo.
export ANTHROPIC_API_KEY='sk-your-api-key-here' before running synthesize.