indxr
by bahdotsh·★ 64·Score 46
A fast codebase indexer and knowledge wiki for AI agents with 26 MCP tools for code analysis.
Overview
Indxr provides a comprehensive solution for AI agents to understand codebases through structural indexing and a persistent knowledge wiki. It offers 26 MCP tools for symbol lookup, file summaries, caller tracing, and dependency analysis, plus 9 wiki tools for tracking architecture decisions and failure patterns. The server supports 27 programming languages and features self-updating wikis, Git structural diffing, and complexity hotspots analysis.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose indxr when you need comprehensive code understanding tools with persistent knowledge capture, especially for larger codebases where maintaining up-to-date documentation is challenging.
When NOT to choose this
Don't choose indxr if you need write access to code (it's read-only), have very simple codebases that don't warrant complex indexing, or prefer a more integrated IDE solution.
Tools this server exposes
12 tools extracted from the READMEwiki_generateInitialize a new wiki and return structural context for page planning
wiki_searchSearch wiki by keyword or concept; returns matching pages with excerpts
wiki_readRead a wiki page by ID; returns full content with metadata
wiki_statusCheck wiki health: page count, staleness, source file coverage
wiki_contributeWrite knowledge back to the wiki (create or update pages)
wiki_updateAnalyze code changes and return affected pages with diff context
wiki_compoundAuto-route synthesized knowledge to the best matching page
wiki_record_failureRecord a failed fix attempt for future agents to learn from
findFind files/symbols by concept, name, callers, or signature pattern
summarizeUnderstand files/symbols without reading source. Auto-detects format.
readRead source by symbol name or line range
get_hotspotsMost complex functions ranked by composite score
Comparable tools
Installation
Install indxr using cargo:
cargo install indxr --features wikiTo use as an MCP server, run:
indxr serve ./my-project --watch --wiki-auto-updateFor Claude Desktop, add to config.json:
{
"mcpServers": {
"indxr": {
"command": "indxr",
"args": ["serve", "/path/to/project", "--wiki-auto-update"]
}
}
}FAQ
- What programming languages does indxr support?
- Indxr supports 27 programming languages with tree-sitter AST parsing for 8 languages and regex extraction for 19 more.
- How does the wiki system work?
- The wiki provides persistent storage for architectural decisions, module responsibilities, and failure patterns. It automatically stays in sync with code changes and can be queried by AI agents.
On Hacker News
Recent discussion from the developer community.
- Story by bahdotshxx · 2026-04-07
Compare indxr with
Last updated · Auto-generated from public README + GitHub signals.