SuperAPI AI Directory

mcp-everything-search

mcp-everything-search is an MCP (Model Context Protocol) server that provides fast file search capabilities for Windows, macOS, and Linux. On Windows it uses the Everything SDK, on macOS it uses the built-in mdfind command, and on Linux it uses the locate / plocate command. It can search files and folders on the system, supports parameters such as query strings, maximum number of results, path matching, case matching, whole-word matching, regex search, and sorting, and returns file paths, byte sizes, and last modified dates. The project is licensed under the MIT License and is not affiliated with voidtools.

Open website

About this tool

Purpose

mcp-everything-search is an MCP server used to provide fast file search capabilities on Windows, macOS, and Linux. It exposes search tools externally through the MCP protocol and can be called by MCP-compatible clients (such as Claude Desktop).

Main Capabilities

  • Cross-platform file and folder search: Windows uses the Everything SDK, macOS uses the built-in mdfind command, and Linux uses the locate / plocate command.
  • Search capabilities and syntax vary by platform: Windows supports the full Everything SDK functionality; macOS uses the Spotlight database for basic filename and content search; Linux uses the locate database for basic filename search.
  • Search parameters:
    • query (required): the search query string.
    • max_results (optional): the maximum number of results to return, default 100, maximum 1000.
    • match_path (optional): match the full path rather than only the filename, default false.
    • match_case (optional): enable case-sensitive search, default false.
    • match_whole_word (optional): match only whole words, default false.
    • match_regex (optional): enable regex search, default false.
    • sort_by (optional): the result sorting method, default 1.
  • Returned content: file/folder path, file size (bytes), last modified date.
  • For detailed search syntax instructions for each platform, see SEARCH_SYNTAX.md in the project.

Usage

Prerequisites

  • Windows: from https://www.voidtools.com/ download and install the Everything search tool, and ensure the Everything service is running; from https://www.voidtools.com/support/everything/sdk/ Download the Everything SDK and extract the SDK files to a location on your system.
  • Linux: Install and initialize the locate or plocate command. Ubuntu/Debian: sudo apt-get install plocate or sudo apt-get install mlocate; Fedora: sudo dnf install mlocate. After installation, update the database: for plocate use sudo updatedb, for mlocate use sudo /etc/cron.daily/mlocate.
  • macOS: No additional setup is required; the server uses the built-in mdfind command.

Installation

  • Automatically install Everything Search for Claude Desktop via Smithery.
  • Use uv (recommended): No specific installation is required; use uvx to run mcp-server-everything-search directly.
  • You can also install mcp-server-everything-search via pip, and after installation it can be run as a script.

Configuration

  • On Windows, the server requires the Everything SDK DLL to be available, and involves environment variable configuration.
  • Linux and macOS require no additional configuration.
  • When using it in Claude Desktop, add the corresponding configuration to claude_desktop_config.json depending on the platform; if installed via pip, there is also a corresponding configuration method.

Debugging and Development

  • You can use MCP inspector to debug the server: there is a corresponding command for the uvx installation method; if the package is installed in a specific directory or is under development, there is also a corresponding command.
  • View server logs: Windows (PowerShell) has a corresponding method.
  • There are two ways to test local development: run MCP inspector to test changes; or use the Claude desktop app to test, adding the corresponding configuration to claude_desktop_config.json.

Use Cases

  • Need to quickly search local files and folders in an MCP-supported client.
  • Perform file searches across Windows, macOS, and Linuxplatforms.
  • Need to finely filter search results by conditions such as path, case sensitivity, whole word, and regex.

Limitations

  • Search capabilities and syntax support vary by platform; Windows has the most complete functionality, while macOS and Linux provide basic search.
  • Windows depends on the Everything search tool and the Everything SDK; Linux depends on the locate / plocate database; macOS depends on the Spotlight database.
  • This project is not affiliated with, endorsed by, or sponsored by voidtools (the creator of the Everything search tool); it is an independent project that uses the publicly available Everything SDK.
  • It is licensed under the MIT License and may be freely used, modified, and distributed, provided the terms of the MIT License are followed.