@shxiaj/everything-mcp

@shxiaj/everything-mcp

Enables lightning-fast file searching on Windows using Everything SDK, with tools for search, version check, status, and file info retrieval.

Category
访问服务器

README

@shxiaj/everything-mcp

MCP (Model Context Protocol) server for Everything — the lightning-fast Windows file search engine.

Forked and extended from everythingsdk-mcp.

Uses ffi-rs to call the Everything SDK natively and @modelcontextprotocol/sdk for the MCP server protocol.

Features

  • Dual SDK support — Auto-detects Everything 1.5 (SDK v3) or 1.4 (SDK v2)
  • Lightning-fast file search — Leverage Everything's native search capabilities
  • Multiple tools — Search, version check, status, and file info
  • Flexible configuration — Environment variable overrides for SDK paths

Prerequisites

  • Windows (the Everything SDK is Windows-only)
  • Everything 1.4+ installed and running (download)
  • Node.js 18+ and pnpm

Installation

pnpm install
pnpm build

Usage

Running the MCP server

npx @shxiaj/everything-mcp

The server communicates via stdin/stdout (MCP stdio transport).

Configuring in Claude Desktop / VS Code Copilot

Add to your MCP client configuration:

{
  "mcpServers": {
    "@shxiaj/everything-mcp": {
      "command": "npx",
      "args": ["@shxiaj/everything-mcp"]
    }
  }
}

Environment Variables

Variable Description Default
EVERYTHING_SDK_VERSION Force SDK version (v3 or v2) Auto-detect
EVERYTHING_SDK_DIR Path to the Everything SDK v3 directory ./everything_sdk3/dll
EVERYTHING_DLL_PATH Full path to the Everything SDK v3 DLL $SDK_DIR/Everything3_x64.dll
EVERYTHING_V2_SDK_DIR Path to the Everything SDK v2 directory ./Everything-SDK/dll
EVERYTHING_V2_DLL_PATH Full path to the Everything SDK v2 DLL $V2_SDK_DIR/Everything64.dll
EVERYTHING_IPC_PIPE_NAME Override v3 IPC pipe name Auto-probe

Tools

everything_search

Search for files and folders using Everything search syntax.

Parameters:

  • query (required) — Search query using Everything syntax
  • maxResults — Max results (default: 50, max: 1000)
  • offset — Zero-based offset for pagination
  • matchCase — Case-sensitive search
  • matchWholeWord — Match whole words only
  • matchPath — Match against full path
  • regex — Treat query as regex

Everything search syntax examples:

  • *.txt — all .txt files
  • foo bar — files containing both "foo" AND "bar"
  • foo|bar — files containing "foo" OR "bar"
  • ext:jpg size:>1mb — JPEGs larger than 1 MB
  • folder:node_modules — folders named node_modules
  • content:TODO — files containing "TODO" in their content
  • datemodified:today — files modified today
  • parent:C:\Projects — files under C:\Projects

everything_version

Get the version information of the running Everything instance.

everything_status

Check if Everything is running and its database is loaded.

everything_file_info

Get Windows file attributes and run count for a specific file path.

Parameters:

  • path (required) — Full path to the file or folder

SDK Architecture

src/
├── index.ts              # MCP server entry point (tools, request handlers)
├── everything-client.ts  # EverythingClient + SdkProvider abstraction
├── ffi-bindings.ts       # Raw FFI bindings to Everything3_*.dll (SDK v3, Everything 1.5)
└── ffi-bindings-v14.ts   # Raw FFI bindings to Everything*.dll (SDK v2, Everything 1.4)

EverythingClient auto-detects the SDK version: tries v3 first, falls back to v2. Override with EVERYTHING_SDK_VERSION=v2 or v3 env var.

SDK v3 (Everything 1.5) vs SDK v2 (Everything 1.4)

Aspect SDK v3 (Everything 1.5) SDK v2 (Everything 1.4)
DLL names Everything3_x64.dll Everything64.dll
API prefix Everything3_* Everything_*
Connection Explicit ConnectW/DestroyClient handles Implicit via IPC on QueryW
State model Per-client, per-search-state objects Global mutable state
Search exec Search(client, state) returns result list QueryW(TRUE) populates global results
Result props Must call AddSearchPropertyRequest first Use SetRequestFlags bitmask
File info Direct GetFileAttributesW(client, path) Requires a search with SetMatchPath(true)

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选