everything-mcp-server
Enables instant file searches on Windows using Everything's native SDK, supporting advanced filters, duplicate detection, and content search through MCP tools.
README
Everything MCP Server
A Model Context Protocol (MCP) server that provides instant file search capabilities using Everything's native SDK. This server integrates Everything's powerful search engine with AI tooling, enabling lightning-fast file system searches through the MCP interface.
Features
- š Instant File Search: Leverage Everything's instant indexing for near-instantaneous file searches
- šÆ Advanced Filtering: Search by path, extension, size, date modified, and more
- š Duplicate Detection: Find duplicate files across your system
- š Content Search: Search within file contents (requires Everything content indexing)
- ā” High Performance: Direct API access through native SDK integration
- š”ļø Read-Only: Safe, non-destructive file system access
Tools Provided
1. search_files
Basic file search with regex and case sensitivity options.
Parameters:
query(string): Search query for file namesmaxResults(number, optional): Maximum results to return (default: 100)matchCase(boolean, optional): Enable case-sensitive searchmatchWholeWord(boolean, optional): Match whole words onlyregex(boolean, optional): Enable regular expression search
2. search_files_advanced
Advanced search with comprehensive filtering options.
Parameters:
query(string): Search query for file namespath(string, optional): Limit search to specific pathextension(string, optional): Filter by file extension (e.g., 'txt', 'pdf')size(string, optional): Filter by file size (e.g., '>1mb', '<100kb', '1gb..2gb')dateModified(string, optional): Filter by date modified (e.g., 'today', 'yesterday', 'thisweek', '2024')maxResults(number, optional): Maximum results to return (default: 100)matchCase(boolean, optional): Enable case-sensitive searchmatchWholeWord(boolean, optional): Match whole words onlyregex(boolean, optional): Enable regular expression searchsortBy(enum, optional): Sort results by field (name_asc, name_desc, path_asc, path_desc, size_asc, size_desc, date_asc, date_desc)
3. find_duplicates
Find duplicate files by filename.
Parameters:
filename(string): Filename to search for duplicatespath(string, optional): Limit search to specific pathmaxResults(number, optional): Maximum results to return (default: 50)
4. search_content
Search for text content within files.
Parameters:
content(string): Text content to search for within filesfileTypes(string, optional): Limit to specific file types (e.g., 'txt;doc;pdf')path(string, optional): Limit search to specific pathmaxResults(number, optional): Maximum results to return (default: 50)
Prerequisites
-
Everything Application: Must be installed and running
- Download from: https://www.voidtools.com/
- Ensure it's running in the background for API access
-
Node.js: Version 18+ with ES module support
-
Windows OS: Required for Everything SDK compatibility
Installation
- Clone the repository:
git clone https://github.com/peterparker57/everything-mcp-server.git
cd everything-mcp-server
- Install dependencies:
npm install
- Build the project:
npm run build
Configuration
Add the server to your MCP settings file:
{
"mcpServers": {
"everything": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": ["path/to/everything-mcp-server/build/index.js"],
"disabled": false,
"env": {},
"alwaysAllow": [
"search_files",
"search_files_advanced",
"find_duplicates",
"search_content"
]
}
}
}
Usage Examples
Basic File Search
Search for: "msbuild.exe"
Options: Case sensitive, max 50 results
Advanced Search with Filters
Query: "*.pdf"
Path: "C:\\Documents"
Size: ">1mb"
Date Modified: "thisweek"
Sort: "size_desc"
Find Duplicates
Filename: "config.json"
Path: "C:\\Projects" (optional)
Content Search
Content: "function main"
File Types: "js;ts;py"
Path: "C:\\Code" (optional)
Architecture
Technology Stack
- Language: TypeScript
- Framework: MCP SDK (@modelcontextprotocol/sdk)
- FFI Library: koffi (for native DLL integration)
- Module System: ES modules
- Target: Everything SDK (Windows file search utility)
Key Components
- Main Server (
src/index.ts): Core MCP server implementation - Everything SDK: Native Windows DLLs for file search
- Build System: TypeScript compilation to ES modules
- Configuration: Package.json with ES module support
Development
Building
npm run build
Testing
Start the server directly to test:
node build/index.js
Project Structure
everything-mcp-server/
āāā src/
ā āāā index.ts # Main server implementation
āāā EverythingSDK/ # Everything native SDK files
ā āāā dll/
ā āāā Everything32.dll
ā āāā Everything64.dll
āāā build/ # Compiled JavaScript output
āāā package.json # Project configuration
āāā tsconfig.json # TypeScript configuration
āāā README.md # This file
Troubleshooting
"Everything search client is not running"
- Start Everything application
- Ensure it's not running in portable mode without service
"Connection closed" MCP error
- Check that build directory exists and contains index.js
- Verify Node.js path in MCP configuration
- Ensure Everything application is running
ES Module errors
- Verify package.json has
"type": "module" - Check import statements use .js extensions
- Ensure koffi is imported as default export
Performance Notes
- Everything indexes files instantly, searches are near-instantaneous
- Content search requires Everything to have content indexing enabled
- Large result sets are automatically limited (configurable per tool)
- Direct API access provides better performance than command-line interface
Security Considerations
- Server provides read-only file system access through Everything
- No file modification capabilities
- Respects Everything's own security and indexing settings
- Content search limited to files Everything has indexed
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Everything by voidtools for the amazing file search utility
- Model Context Protocol for the MCP framework
- koffi for the excellent FFI library
Related Projects
- MCP SDK - TypeScript SDK for Model Context Protocol
- Everything - The file search utility this server integrates with
Note: This is a Windows-specific MCP server that requires the Everything application to be installed and running. For cross-platform file search solutions, consider other MCP servers or file search tools.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.