An MCP server that provides fast Spotlight file search capabilities for macOS
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Huoshui File Search.
queryCallable MCP tool function
pathCallable MCP tool function
case_sensitiveCallable MCP tool function
regexCallable MCP tool function
sort_byCallable MCP tool function
limitCallable MCP tool function
A Desktop Extension (DXT) that provides fast file search capabilities for macOS using the native mdfind command (Spotlight search).
β οΈ IMPORTANT: This extension only works on macOS systems. Windows and Linux are not supported.
This server is available in the Model Context Protocol Registry. Install it using your MCP client.
mcp-name: io.github.huoshuiai42/huoshui-file-search
search_files tool with various parametersquery (required): Search query stringpath (optional): Directory to limit search scopecase_sensitive (optional): Enable case-sensitive search (default: false)regex (optional): Regex pattern to filter results by filenamesort_by (optional): Sort results by 'name', 'size', or 'date'limit (optional): Maximum number of results (default: 100, max: 1000)The query parameter uses macOS Spotlight's mdfind syntax:
report - finds files containing "report"kind:pdf, kind:image, kind:moviekMDItemFSName == "*.py" - finds Python filesinvoice AND kind:pdf - finds PDF files containing "invoice"date:today, modified:this weekNote: If your query like 'ε―»ζΎε·₯η¨θ½¦' kind:movie returns no results, it might mean:
ε―»ζΎε·₯η¨θ½¦ AND kind:movie)The extension supports user configuration through the DXT manifest:
allowed_directories: List of directories to limit search scopedefault_limit: Default maximum number of search resultsenable_logging: Enable debug loggingInstall dependencies:
Run the server:
Or after publishing to PyPI:
The server will communicate via stdio according to the MCP protocol
Build the package:
Upload to PyPI:
curl -LsSf https://astral.sh/uv/install.sh | sh)This extension only works on macOS. Ensure you're running it on a Mac.
Ensure Spotlight is enabled on your Mac. You can check this in System Preferences > Spotlight.
Large searches may timeout after 30 seconds. Try:
MIT License - see LICENSE file for details
Contributions are welcome! Please:
For issues and feature requests, please visit: https://github.com/huoshui/huoshui-file-search/issues
Factual signals from GitHub, npm, and our automated checks β not a rating.
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/huoshui-file-search)<a href="https://allmcps.com/mcp/huoshui-file-search"><img src="https://allmcps.com/api/badge/huoshui-file-search?style=directory" alt="Huoshui File Search on AllMCPs" /></a>