
Reflex
from turbyho
Local-first, full-text code search MCP server for AI coding agents. Indexes your codebase with trigram-based indexing for sub-100ms queries. Agents can search across 10k+ files, filter by language or symbol kind, and get structured JSON results โ all offline, no API key required
>>Reflex
Local-first code search engine with full-text search, symbol extraction, and dependency analysis for AI coding workflows.
$ npm install -g reflex-search
Read the Docs GitHub
Why Reflex
Sub-100ms Queries
Trigram indexing with memory-mapped I/O. 2โ3ms on small codebases, under 250ms on the Linux kernel.
Complete Coverage
Finds every occurrence โ not just definitions. Same query always produces the same results.
AI-Native
MCP server with 15 tools, JSON output for agent pipelines, built-in AI query assistant.
15 Languages
Rust, TypeScript, Python, Go, Java, C/C++, and more. Tree-sitter parsing for precise symbol extraction.
Dependency Analysis
Import tracking, reverse lookups, circular detection, hotspot analysis across your entire codebase.
Deterministic
Fully local, fully offline. No cloud, no non-determinism. Your code stays on your machine.
See it in action
Install
npm npm install -g reflex-search
cargo cargo install reflex-search
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ