Local file search for AI agents β semantic + keyword indexing over your codebase.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A local, open-source utility that helps AI coding agents intelligently search and understand codebases.
FileSift lets your AI coding agent search across a codebase based on what code does, rather than what it looks like. Instead of sifting through entire files after a grep, your agent can jump straight to the most relevant code using natural language queries like "authentication middleware" or "database connection pooling". Everything runs locally on your machine β your code never leaves your environment.
Key benefits:
There are three ways to use FileSift, depending on your workflow:
The most straightforward approach. Good for testing queries, managing indexes, and configuring settings.
Installing FileSift also provides a filesift-mcp command β a lightweight MCP server that exposes indexing and search as tools over STDIO. This works with most popular coding agents including Claude Code, Cursor, Copilot, and more.
Add it to your agent's MCP configuration:
The MCP server exposes four tools:
filesift_search β search an indexed codebase by natural language queryfilesift_find_related β find files related to a given file via imports and semantic similarityfilesift_index β index a directory to enable searchingfilesift_status β check indexing status of a directoryFileSift ships with a search-codebase skill that can be installed directly into your coding agent's skill directory. This lets the agent interact with the FileSift CLI through bash, without requiring MCP support.
Supported agents: claude, codex, cursor, copilot, gemini, roo, windsurf.
FileSift uses a daemonized embedding model to keep searches fast. At its core, it generates embeddings from code descriptions and performs searches against small vector stores called indexes.
Indexing β filesift index first builds a fast keyword/structural index (completes in seconds), then triggers background semantic indexing that generates embeddings for each file.
Daemon β A background daemon loads indexes into memory and automatically shuts down after a configurable period of inactivity. After the first cold-start search, subsequent searches are near-instant.
Search β Queries are matched using both keyword (BM25) and semantic (FAISS) search, then combined via Reciprocal Rank Fusion for the best of both approaches.
Indexes are stored in a .filesift directory within each indexed project.
FileSift uses a TOML configuration file, manageable via the CLI:
Configuration sections: search, indexing, daemon, models, paths.
Contributions are welcome! To get started:
git checkout -b feature/my-feature)Apache 2.0 β see LICENSE for details.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/filesift)<a href="https://allmcps.com/mcp/filesift"><img src="https://allmcps.com/api/badge/filesift?style=directory" alt="Filesift on AllMCPs" /></a>