Search for files and directories on your computer using platform-specific search tools. Automatically detects your operating system and uses the appropriate search method: mdfind for macOS, Everything for Windows, or find/locate for Linux.
Everything Search is a powerful Model Context Protocol (MCP) server that enables AI assistants to perform fast and efficient file searches across macOS, Windows, and Linux operating systems. It leverages platform-specific search tools like mdfind (macOS), Everything (Windows), and find/locate (Linux) to provide optimized search capabilities tailored to each platform. With Everything Search, users can quickly locate files and directories using natural language queries, complex search patterns, and platform-specific search parameters. The server handles the translation of search requests into the appropriate commands for each operating system, making it a versatile tool for file management and discovery across different environments.
Everything Search is a cross-platform file search utility that allows AI assistants to search for files and directories on your computer. It supports macOS, Windows, and Linux, using the most efficient search tools available for each platform:
mdfind
(Spotlight search)find
and locate
commandspip install mcp-server-everything-search
smithery install mcp-everything-search
git clone https://github.com/mamertofabian/mcp-everything-search.git
cd mcp-everything-search
pip install -e .
After installation, you can start the MCP server by adding it to your AI assistant's configuration. The server will automatically detect your operating system and use the appropriate search method.
You can search for files using the search
tool with a query parameter:
search(query="document about project")
Each platform supports different advanced search parameters:
search(
query="project proposal",
base="/Users/username/Documents",
macos_params={
"onlyin": "/Users/username/Documents",
"live": true,
"interpret": true
}
)
search(
query="project proposal",
base="C:\\Users\\username\\Documents",
windows_params={
"regex": true,
"case": true,
"whole_word": false,
"path": "C:\\Users\\username\\Documents"
}
)
search(
query="project proposal",
base="/home/username/Documents",
linux_params={
"use_locate": true,
"case_sensitive": false,
"regex": true,
"max_depth": 5,
"type": "f"
}
)
macOS uses Spotlight's query syntax, which supports:
Windows uses Everything's search syntax, which supports:
Linux uses standard find/locate syntax, which supports:
locate
database is updated regularly with sudo updatedb
If you encounter any issues, check the server logs for detailed error messages.