Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ”Ž Search & Data Extraction
  3. Reflex
Reflex logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 1:31:27 PM

Reflex

User RatingsBe the first to rate and review this MCP server!
View Repository74 GitHub StarsTotal stargazers on GitHub for the source repository (74 stars).Visit Website

Local offline full-text and symbol-aware code search with dependency analysis and MCP integration for AI agents.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet β€” we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself β€” its README, its docs, or a verified owner. We haven’t found those for reflex-search/reflex, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Tool Schemas (17) Directory Badge Claim listing AlternativesπŸ”Ž More in Search & Data Extraction

Overview

Reflex is a local-first code search engine optimized for fast full-text and symbol-aware queries across large codebases in 18 languages. It supports trigram indexing for sub-100ms searches and provides dependency analysis and code navigation features. Reflex can be used standalone via CLI or integrated with AI coding assistants through its built-in MCP server for deterministic, offline code exploration without cloud dependencies.

Use cases

β€’Search codebases for symbols or text patterns locally
β€’Analyze file dependencies and reverse dependencies
β€’Integrate with AI agents for code navigation and symbol lookup
β€’Automate code exploration and indexing in scripts
β€’Detect circular dependencies and unused files

Key features

β€’Trigram-indexed full-text and symbol search
β€’Dependency graph queries including transitive dependencies
β€’MCP server with tools like search_code, find_references, get_dependencies
β€’Offline, deterministic results with no cloud required
β€’JSON output for scripting and AI agent consumption
β€’CLI interface for indexing and querying codebases

Capabilities & Tool Schemas (17) ~272 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server β€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Reflex.

search_code

Full-text or symbol search with line numbers and context

list_locations

Fast file+line discovery (minimal tokens)

count_occurrences

Quick match statistics without full content

search_regex

Regex pattern matching across the codebase

search_ast

Structure-aware search via Tree-sitter AST queries

find_references

Symbol definition + all usage sites in a single call; the primary code-navigation tool for AI agents

Documentation Overview

Reflex

Sub-100ms local code search β€” CLI, scripts, and AI agents

Reflex is a local-first, full-text code search engine. Use it from the command line, pipe it into scripts, or connect it to AI coding assistants (Claude Code, Cursor, and any MCP-compatible tool) for instant symbol lookup, dependency analysis, and codebase exploration β€” fully offline, fully deterministic, no cloud required.

CI License MCP Quickstart


Quick start

1. Install

bash
# Via NPM
npm install -g reflex-search

# Or via Cargo
cargo install reflex-search

2. Index and search

bash
# From your project root
rfx index

# Full-text search
rfx query "extract_symbols"

# Symbol definitions only
rfx query "CacheManager" --symbols

# JSON output for scripting
rfx query "TODO" --json --limit 20

3. (Optional) Connect to an AI agent via MCP

Add this to your Claude Code MCP configuration (~/.claude/claude_desktop_config.json):

config.json
{
  "mcpServers": {
    "reflex": {
      "command": "rfx",
      "args": ["mcp"]
    }
  }
}

Your AI assistant can now call search_code, find_references, get_dependencies, and more.

See Claude Code + Reflex MCP Quickstart for MCP setup, key tools, and troubleshooting.


Why Reflex vs. built-in search tools

Capabilitygrep / ripgrepBuilt-in AI searchSourcegraphReflex
Full-text searchβœ…βœ…βœ…βœ…
Symbol-aware filtering❌Partialβœ…βœ…
Dependency analysis❌❌Partialβœ…
Deterministic resultsβœ…βŒβœ…βœ…
Local-first / offlineβœ…βŒβŒβœ…
MCP server built-inβŒβ€”βŒβœ…
JSON output for agentsManualβœ…βœ…βœ…

Measured efficiency (A/B vs. built-in AI search)

We A/B-tested an AI coding agent on real code-search tasks using Reflex (via MCP) against the same agent using its built-in search (ripgrep-backed Grep/Glob) β€” identical tasks, model, and repository, paired per task. The harness lives in benches/efficacy/ and is fully reproducible.

Setup: model claude-sonnet-4-6; 12 code-search tasks (find-all-usages, symbol locate, dependency/reverse-dependency, hotspot, comprehension, plus negative controls); N = 3 replicates per arm; run against the Reflex repository.

Results β€” Reflex Γ· built-in, so < 1.0 means Reflex uses less:

MetricReflex Γ· built-inReading
Task success rate1.00 (100% vs 100%)Equal correctness β€” no regression
Total tokens (median over tasks)β‰ˆ 1.00Parity
Find-all-usages tokens0.79Favors Reflex (CI still includes parity)
Agent iterations / turns (mean)0.85~15% fewer round-trips
Cost per task (median)0.69~31% cheaper (p < 0.01)

Implications

  • No-regret replacement for built-in search. Reflex matches built-in tools on answer correctness (100% task success in both arms) at parity-or-better token usage and meaningfully lower dollar cost.
  • Fewer round-trips on navigation. find_references returns a symbol's definition and every call site in one call, so the agent iterates less than chaining grep + file reads.
  • The gap should widen with repo size. The baseline here is ripgrep β€” already fast on a mid-size repo. Reflex's trigram index is built to win most where linear scans are slowest: very large codebases and whole-repo "find every occurrence" tasks.

Honest caveats. This is a focused benchmark: one model, one repository, N = 3 β€” enough to demonstrate parity-to-better and no regression, not a large statistical claim (the token primary is formally "no significant difference," with point estimates favoring Reflex). Per-result precision/recall is not yet formally scored. Reproduce it yourself:

bash
python3 benches/efficacy/runner.py --arms A B --repos reflex --n 3
python3 benches/efficacy/extract_metrics.py && python3 benches/efficacy/analyze.py

MCP tools

When connected via MCP, your AI assistant gets these tools:

ToolWhat it does
search_codeFull-text or symbol search with line numbers and context
list_locationsFast file+line discovery (minimal tokens)
count_occurrencesQuick match statistics without full content
search_regexRegex pattern matching across the codebase
search_astStructure-aware search via Tree-sitter AST queries
find_referencesSymbol definition + all usage sites in a single call; the primary code-navigation tool for AI agents
index_projectTrigger or refresh the search index
check_index_statusCheck whether the index is fresh, stale, or missing; call before any search session or after git operations
get_dependenciesAll imports for a specific file
get_dependentsAll files that import a given file (reverse lookup)
get_transitive_depsTransitive dependency graph up to a configurable depth
find_hotspotsMost-imported files (dependency hotspots)
find_circularDetect circular dependency chains
find_unusedFiles with no incoming dependencies
find_islandsDisconnected components in the dependency graph
analyze_summaryHigh-level dependency counts and metrics
gather_contextCodebase structure and project-type summary

Index not found error? If an MCP tool returns "Index not found. Run 'rfx index' to build the cache first", call index_project first, then retry the failed tool.


CLI usage

Reflex also works as a standalone CLI for humans and shell scripts.

bash
# Full-text search (finds every occurrence)
rfx query "extract_symbols"

# Symbol definitions only (faster, uses tree-sitter)
rfx query "extract_symbols" --symbols

# Filter by language and symbol kind
rfx query "parse" --lang rust --kind function --symbols

# Regex search
rfx query "fn.*test" --regex

# JSON output for programmatic use
rfx query "unwrap" --json --limit 10

# Pipe file paths to other tools
vim $(rfx query "TODO" --paths)

Interactive TUI mode β€” run rfx query with no pattern to launch live search with keyboard navigation.

Dependency analysis

bash
rfx deps src/main.rs              # Show direct imports
rfx deps src/config.rs --reverse  # What imports this file
rfx deps src/api.rs --depth 3     # Transitive dependencies
rfx analyze --circular            # Find circular dependency chains
rfx analyze --hotspots            # Most-imported files
rfx analyze --unused              # Files with no incoming dependencies

Natural language search

bash
rfx ask "Find all TODOs in Rust files"         # Translate to rfx query and run
rfx ask "How does authentication work?" --agentic  # Multi-step codebase reasoning
rfx ask                                        # Interactive chat mode

Requires an AI provider configured via rfx llm config (OpenAI, Anthropic, OpenRouter, or any OpenAI-compatible endpoint).

Other commands

bash
rfx index                 # Build / update the search index
rfx index status          # Background indexing status
rfx watch                 # Auto-reindex on file changes
rfx stats                 # Index statistics
rfx pulse changelog       # Codebase change digest
rfx pulse wiki            # Per-module documentation
rfx pulse map             # Architecture diagram (Mermaid / D2)
rfx serve --port 7878     # Local HTTP API server

Run rfx <command> --help for full options.


Installation

NPM (recommended)

Terminal
npm install -g reflex-search

Cargo

bash
cargo install reflex-search

Setup note: run rfx commands from your project root directory. Add .reflex/ to your .gitignore to exclude the search index from version control.


Supported languages

Full symbol extraction (functions, classes, methods, types, etc.) for 15 languages:

Systems: Rust, C, C++, Zig
Backend: Python, Go, Java, C#, PHP, Ruby, Kotlin
Frontend: TypeScript, JavaScript, Vue, Svelte

Swift is temporarily disabled (tree-sitter-swift 0.7.x grammar incompatibility). rfx query --lang swift emits a warning; full-text search still works.

Full-text search works on all file types regardless of parser support.


Configuration

toml
# .reflex/config.toml (project-level)
[index]
languages = []          # Empty = all supported languages
max_file_size = 10485760  # 10 MB

[search]
default_limit = 100

[performance]
parallel_threads = 0    # 0 = auto (80% of available cores)

For AI provider configuration (rfx ask, rfx pulse), run rfx llm config.


Architecture

Reflex uses a trigram-based inverted index with runtime symbol detection:

  • Indexing: extracts 3-character trigrams from all files; stores full content in memory-mapped content.bin; no tree-sitter parsing at index time
  • Full-text queries: intersect trigram posting lists β†’ verify matches (instant)
  • Symbol queries: trigrams narrow candidates β†’ parse only matching files with tree-sitter
Code
.reflex/
  meta.db          # SQLite: file metadata, stats, config
  trigrams.bin     # Inverted index (memory-mapped)
  content.bin      # Full file contents (memory-mapped)
  config.toml      # Index settings

Security

rfx serve binds to 127.0.0.1:7878 by default β€” loopback only, no authentication. Do not expose it to the network. See CLAUDE.md for the full threat model.


Contributing

bash
cargo build --release   # Build
cargo test              # Test
rfx index               # Refresh index after code changes

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Search & Data Extraction View all alternatives
  • Firecrawl MCP Server logoFirecrawl MCP Server
    Verified

    Official Firecrawl server to search the web and scrape, crawl, map, and extract structured data from any site for LLMs. Handles JS-rendered pages, PDFs, and batch jobs; hosted remote MCP with OAuth or self-host.

    πŸ”Ž Search & Data Extraction5 views
    Compare vs Firecrawl MCP Server β†’
  • Open WebSearch logoOpen WebSearch

    Web search using free multi-engine search (NO API KEYS REQUIRED) β€” Supports Bing, Baidu, DuckDuckGo, Brave, Exa, and CSDN.

    πŸ”Ž Search & Data Extraction3 views
    Compare vs Open WebSearch β†’
  • Search1api MCP logoSearch1api MCP

    Search via search1api (requires paid API key)

    πŸ”Ž Search & Data Extraction1 views
    Compare vs Search1api MCP β†’
  • Brave Search MCP Server logoBrave Search MCP Server

    Web search capabilities using Brave's Search API

    πŸ”Ž Search & Data Extraction7 views
    Compare vs Brave Search MCP Server β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
74
Stargazers on the source repository.
Last commit
2mo ago
Most recent push to the default branch.
Tools exposed
17
Callable tools this server registers over MCP.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Reflex

Run the CLI command 'rfx index' from your project root to build the trigram search index.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewReflex AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/reflex-search-reflex?style=directory)](https://allmcps.com/mcp/reflex-search-reflex)
HTML Embed
<a href="https://allmcps.com/mcp/reflex-search-reflex"><img src="https://allmcps.com/api/badge/reflex-search-reflex?style=directory" alt="Reflex on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ”ŽSearch & Data Extraction
More technical detailsExpand β–Ύ
Last updatedAug 7, 2026
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars74
GitHub Star CountTotal stargazers on GitHub representing community popularity (74 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 6, 2026
49Quality signal: Fair Β· 49/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools21/30
Adoption & activity6/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ”Ž Search & Data Extraction β†’Best MCP servers for Web Search & Scraping β†’Alternatives to Reflex β†’Install in Claude DesktopInstall in CursorInstall in VS Code