Fast File Search logo

Fast File Search

Code-aware MCP search with fuzzy file lookup, frecency ranking, tree-sitter symbols, navigation, and token-budgeted reads.

Install Fast File Search

Run the project’s own setup commands, in order.

Setup steps from the project

fast_file_search installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    curl -fsSL "https://raw.githubusercontent.com/quangdang46/fast_file_search/main/install.sh?$(date +%s)" | bash
    

Overview

fast_file_search exposes a 15-tool MCP server for searching and navigating local code workspaces through stdio JSON-RPC. Its Rust-based CLI combines fuzzy and frecency-ranked file search, content grep, tree-sitter symbol indexing, code relationship queries, workspace maps, and token-budgeted file reads. Use it when an AI coding agent needs one warm process for repository exploration instead of separate file, grep, glob, and code-navigation commands. The MCP root can be passed explicitly or resolved from workspace-related environment context used by supported editor setups.

Use cases

  • Search a repository for files using fuzzy names and frecency ranking
  • Find symbols, callers, callees, references, and dependencies across a codebase
  • Read large source files within a defined token budget
  • Map a workspace and inspect its languages, symbols, and entry points

Key features

  • 15-tool stdio MCP server
  • Typo-tolerant fuzzy and frecency-ranked file search
  • Tree-sitter symbol indexing across 16 languages
  • Caller, callee, reference, dependency, and impact queries
  • Token-budgeted file reading
  • Warm-process indexing and query cache

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

6/6 checks healthy over the last 21d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars16Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Fast File Search works

What fast_file_search does

fast_file_search, also called ffs, gives AI agents a code-aware search and navigation interface over a local workspace. It brings file-name matching, globbing, content search, structured symbol lookup, relationship analysis, repository mapping, and bounded file reading into one executable.

File search uses typo-tolerant fuzzy matching and frecency ranking, so frequently opened files can receive higher priority. Content queries support plain, regular-expression, and fuzzy modes, while multi-pattern searches use OR matching. A tree-sitter-backed index supports symbol and structural queries across 16 languages.

The project also provides a command-line interface for people and automation, a C ABI for foreign-language bindings, and an MCP mode intended for AI coding clients.

How it works

Run ffs index to create or refresh on-disk indexes, including bigram, Bloom, symbol, and outline data. The MCP process then serves JSON-RPC requests over standard input and writes structured results to standard output; diagnostics and warnings go to standard error. Keeping the process warm avoids starting a separate subprocess for every query and allows later requests to use in-memory state.

When ffs mcp starts without an explicit workspace path, it resolves the root from WORKSPACE_FOLDER_PATHS, then VSCODE_CWD, and finally the current working directory. Passing a path directly is available when a project configuration should pin the indexed workspace.

The reader accepts a token budget. Large files can therefore be clipped while retaining their header and a footer indicating truncation. The repository map can show directory structure together with file counts and per-directory token information.

Setup and configuration

Install a released binary with the macOS/Linux shell installer or the Windows PowerShell installer. The installers select a platform-specific binary, verify its SHA-256 sidecar, and place it under ~/.local/bin/ffs. Building from source is also supported with Cargo using the release profile.

Supported release targets include Linux on x86_64 and aarch64, macOS on x86_64 and aarch64, and Windows on x86_64 and aarch64. Start the MCP endpoint with:

bash
ffs mcp

To select a workspace explicitly, pass its path:

bash
ffs mcp /path/to/workspace

The installer can detect and configure MCP settings for Claude Code, Codex, Cursor, Windsurf, Gemini, and VS Code. Editor configurations that provide a workspace folder can use that context when no path argument is supplied.

Tools and capabilities

The MCP tool set includes:

  • ffs_find for fuzzy, frecency-ranked file-name searches
  • ffs_grep and ffs_multi_grep for content queries, including multi-literal OR searches
  • ffs_symbol for exact and prefix symbol lookup
  • ffs_callers, ffs_callees, and ffs_refs for code relationships and usages
  • ffs_flow for a definition with its body, callers, and callees
  • ffs_impact for ranking files by a symbol's potential change impact
  • ffs_outline and ffs_siblings for structural file and scope navigation
  • ffs_deps for imports and files that depend on a file
  • ffs_map for an annotated workspace tree
  • ffs_overview for a repository summary
  • ffs_read for token-budgeted file contents

The command-line equivalents include find, glob, grep, multi-grep, read, outline, symbol, callers, callees, refs, flow, siblings, deps, impact, map, overview, index, and mcp.

Limitations and notes

The MCP interface uses stdio rather than a network transport. Search and symbol results depend on the workspace indexes, so repositories should be indexed or refreshed as needed. The documented platform targets are limited to the listed Linux, macOS, and Windows architectures. The project is distributed under the MIT license.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Fast File Search

fast_file_search is an MCP server that connects AI coding agents to local code workspaces through stdio JSON-RPC. Its main tools include ffs_find, ffs_grep, ffs_symbol, ffs_read, ffs_callers, ffs_callees, ffs_refs, and ffs_map for file search, content queries, code navigation, workspace mapping, and bounded file reads.

Install it with the macOS/Linux shell installer, the Windows PowerShell installer, or build it from source with Cargo. The installers fetch a matching release binary, verify its SHA-256 sidecar, and install `ffs` under `~/.local/bin/ffs`.

Run `ffs mcp` to start the stdio JSON-RPC server, or pass a workspace path with `ffs mcp /path/to/workspace`. Without a path, the workspace is resolved from `WORKSPACE_FOLDER_PATHS`, `VSCODE_CWD`, or the current directory.

Yes. Cursor is one of the clients for which the installer can detect and configure MCP settings. Cursor workspace context can also supply the workspace root when `ffs mcp` runs without an explicit path.

fast_file_search provides tree-sitter-powered symbol indexing across 16 languages. Its symbol, outline, caller, callee, reference, and related navigation features use that indexed code structure.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

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 PreviewFast File Search AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fast-file-search?style=directory)](https://allmcps.com/mcp/fast-file-search)
HTML Embed
<a href="https://allmcps.com/mcp/fast-file-search"><img src="https://allmcps.com/api/badge/fast-file-search?style=directory" alt="Fast File Search on AllMCPs" /></a>