Reflex

MCP server tìm kiếm mã nguồn toàn văn, ưu tiên cục bộ dành cho các tác nhân AI lập trình. Lập chỉ mục codebase của bạn bằng chỉ mục trigram cho truy vấn dưới 100ms. Các tác nhân có thể tìm kiếm trên 10k+ tệp, lọc theo ngôn ngữ hoặc loại ký hiệu, và nhận kết quả JSON có cấu trúc — tất cả đều ngoại tuyến, không cần khóa API.

Tài liệu

>>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