# fast_file_search [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/quangdang46/fast_file_search  
**GitHub Stars:** 16  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/fast-file-search

## Description
Ultra-fast file search toolkit for AI agents, Neovim, and code editors. MCP server for Claude Code/Cursor/Codex, frecency-ranked search, symbol indexing via tree-sitter, and a Rust core that outperforms ripgrep and fzf in long-running processes.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/quangdang46/fast_file_search), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

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

## Documentation

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

_Full upstream README: https://allmcps.com/mcp/fast-file-search/readme_

