AnySearch MCP(管理控制平台)
v1.0.0实时MCP服务器,支持一般和垂直网页搜索、并行批量查询以及以Markdown格式提取全页URL内容。
运行时依赖
安装命令
点击复制技能文档
AnySearch MCP 服务器 统一实时搜索MCP服务器,支持通用网页搜索、垂直领域搜索(23个领域)、并行批量搜索和全页URL内容提取。
功能 通用网页搜索 —— 开放式自然语言查询 垂直领域搜索 —— 结构化查询,跨23个领域(金融、学术、安全、法律、代码等) 并行批量搜索 —— 一次调用最多5个独立查询 URL内容提取 —— 获取和提取全页内容为Markdown格式 匿名访问 —— 无需API密钥(但限速较低)
API密钥配置 API密钥是可选的,但推荐使用。没有密钥,所有功能仍可通过匿名访问,但限速较低。
获取API密钥 访问https://anysearch.com/console/api-keys创建一个免费的API密钥。
密钥优先级 优先级 源 1(最高) --api_key CLI标志/授权头 2 环境变量ANYSEARCH_API_KEY 3 .env文件(ANYSEARCH_API_KEY=<密钥>) 4 匿名访问(限速较低)
密钥行为 场景 行为 无密钥 以匿名访问方式继续(限速较低) 有密钥 通过Authorization: Bearer <密钥>头,限速较高 密钥耗尽,自动注册新密钥 代理应要求用户确认,然后持久化新密钥 密钥耗尽,无新密钥 通知用户并建议配置新API密钥
MCP传输 AnySearch MCP服务器本地支持Streamable HTTP传输(MCP规范2025-03-26)。SSE和stdio客户端可以通过代理连接。
传输 本地 最适合 Streamable HTTP 是 OpenCode、Claude Desktop(2025.6+)、网页客户端 SSE 通过代理 Cursor、Windsurf stdio 通过代理 Claude Desktop(旧版)、VS Code Copilot、Cline
安装 Streamable HTTP(推荐——无需代理) 对于支持Streamable HTTP传输(MCP规范2025-03-26+)的代理: OpenCode(~/.opencode/config.json或项目opencode.json): { "mcp": { "anysearch": { "type": "streamable-http", "url": "https://api.anysearch.com/mcp", "headers": { "Authorization": "Bearer ${ANYSEARCH_API_KEY}" } } } } Claude Desktop(2025.6+,claude_desktop_config.json): { "mcpServers": { "anysearch": { "type": "streamable-http", "url": "https://api.anysearch.com/mcp", "headers": { "Authorization": "Bearer ${ANYSEARCH_API_KEY}" } } } } 没有API密钥,省略headers部分。服务器将自动使用匿名访问。
stdio(通过代理) 对于仅支持stdio传输的代理。两个代理选项: 选项A:mcp-remote(推荐) mcp-remote —— 自动检测Streamable HTTP,配置最简单: Claude Desktop(claude_desktop_config.json): { "mcpServers": { "anysearch": { "command": "npx", "args": [ "-y", "mcp-remote", "https://api.anysearch.com/mcp", "--header", "Authorization: Bearer ${ANYSEARCH_API_KEY}" ] } } } VS Code Copilot(.vscode/mcp.json): { "servers": { "anysearch": { "type": "stdio", "command": "npx", "args": [ "-y", "mcp-remote", "https://api.anysearch.com/mcp", "--header", "Authorization: Bearer ${ANYSEARCH_API_KEY}" ] } } } Cline(VS Code设置): { "mcpServers": { "anysearch": { "command": "npx", "args": [ "-y", "mcp-remote", "https://api.anysearch.com/mcp", "--header", "Authorization: Bearer ${ANYSEARCH_API_KEY}" ] } } } 没有API密钥,省略"--header"和"Authorization: Bearer ..."参数。
选项B:supergateway supergateway —— 更多传输选项,支持SSE输出: Claude Desktop(claude_desktop_config.json): { "mcpServers": { "anysearch": { "command": "npx", "args": [ "-y", "supergateway", "--streamableHttp", "https://api.anysearch.com/mcp", "--oauth2Bearer", "${ANYSEARCH_API_KEY}" ] } } } 没有API密钥,省略"--oauth2Bearer"和密钥参数。
SSE(通过代理) 对于仅支持SSE传输的代理(Cursor、Windsurf)。需要运行本地SSE代理服务器: 启动代理 npx -y supergateway \ --streamableHttp https://api.anysearch.com/mcp \ --outputTransport sse \ --port 8000 \ --oauth2Bearer <你的API密钥> 没有API密钥,省略--oauth2Bearer标志。 然后配置你的代理: Cursor(.cursor/mcp.json): { "mcpServers": { "anysearch": { "type": "sse", "url": "http://localhost:8000/sse" } } } Windsurf(~/.codeium/windsurf/mcp_config.json): { "mcpServers": { "anysearch": { "serverUrl": "http://localhost:8000/sse" } } } SSE代理必须在代理活跃时保持运行。考虑将其作为后台服务运行。
代理快速参考 代理 传输 配置位置 需要代理? 代理工具 OpenCode Streamable HTTP opencode.json 否 —— Claude Desktop(2025.6+) Streamable HTTP claude_desktop_config.json 否 —— Cursor SSE .cursor/mcp.json 是 supergateway Windsurf SSE ~/.codeium/windsurf/mcp_config.json 是 supergateway Cline stdio VS Code设置 是 mcp-remote VS Code Copilot stdio .vscode/mcp.json 是 mcp-remote