
自主主持AI代理和SEO的网络搜索. Google, Bing, Yandex, Baidu, DuckDuckGo & Ecosia, 在真实浏览器中提供: 排名结果和清洁页面 Markdown. API、CLI、MCP
概览
OpenSERP是一个REST API和CLI,用于谷歌,Bing,Yandex,Baidu,DuckDuckGo和Ecosia. 没有 API 密钥, 没有每个搜索的帐单 。 它在浏览器中加载搜索结果并用源引擎和排位返回结构化的JSON. 将链接页面读取为干净的Markdown,或通过MCP连接代理. 与 Claude Code, Cursor, Codex, Claude Desktop 以及任何 MCP 客户端, Open WebUI (已建入提供商), n8n, 以及任何语言的平面 HTTP 一起工作. Linux, macOS 和 Windows 的预建二进制在发布页面上. 图像: karust/ openserp. 需要Node.js 18+和一个运行中的OpenSERP服务器. 将 MCP 服务器添加到您的客户端 : cursor(~/.cursor/mcp.json),克洛德桌面,Windsurf等客户端: 在本地的Windows上,使用cmd /c npx-y@openserp/mcp后-在CLI命令中,或"命令":"cmd","args":["/c","npx","-y","@openserp/mcp"]在JSON中. 对于远程服务器,可添加"env":{"OPENSERP BASE URL":"http://your-host:7000"}到开口的JSON条目.
概述(AI 翻译)
OpenSERP是对AI代理和SEO的免费自办网络搜索. ** REST API和CLI为Google,Bing,Yandex,Baidu,DuckDuckGo和Ecosia.
没有 API 密钥, 没有每个搜索的帐单 。 它在浏览器中加载搜索结果并用源引擎和排位返回结构化的JSON. 将链接页面读取为干净的Markdown,或通过MCP连接代理.
与 Claude Code, Cursor, Codex, Claude Desktop 以及任何 MCP 客户端, Open WebUI (已建入提供商), n8n, 以及任何语言的平面 HTTP 一起工作.
API 示例 · CLI · 代理设置 · API 参考
□ 快开始
其他安装方式
Linux, macOS 和 Windows 的预建二进制在发布页面上. 图片: karust/openserp.
□与AI代理使用
QQ MCP: Claude Code, Codex, Cursor, Claude 桌面
需要Node.js 18+和一个运行中的OpenSERP服务器. 将 MCP 服务器添加到您的客户端 :
cursor([T1]),克洛德桌面,Windsurf等客户端:
在原生Windows上,在CLI命令后使用cmd /c npx -y @openserp/mcp,或在JSON中使用[[T4].
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
OpenSERP
OpenSERP is a free self-hosted web search for AI agents and SEO. REST API and CLI for Google, Bing, Yandex, Baidu, DuckDuckGo and Ecosia.
No API keys, no per-search billing. It loads search results in browser and returns structured JSON with source engines and ranks. Read the linked pages as clean Markdown, or connect an agent through MCP.
Works with Claude Code, Cursor, Codex, Claude Desktop and any MCP client, Open WebUI (built-in provider), n8n, and plain HTTP from any language.
API examples · CLI · Agent setup · API reference
Quick Start
# Start the API server
docker run --rm -p 127.0.0.1:7000:7000 karust/openserp serve -a 0.0.0.0 -p 7000
# Search Google and read the top result as Markdown
curl "http://127.0.0.1:7000/google/search?text=how+do+mcp+servers+work&extract=1"
Use with AI Agents
MCP: Claude Code, Codex, Cursor, Claude Desktop
Requires Node.js 18+ and a running OpenSERP server. Add the MCP server to your client:
claude mcp add openserp -- npx -y @openserp/mcp
codex mcp add openserp -- npx -y @openserp/mcp
Cursor (~/.cursor/mcp.json), Claude Desktop, Windsurf and other clients:
{
"mcpServers": {
"openserp": { "command": "npx", "args": ["-y", "@openserp/mcp"] }
}
}
On native Windows, use cmd /c npx -y @openserp/mcp after -- in the CLI commands, or "command": "cmd", "args": ["/c", "npx", "-y", "@openserp/mcp"] in JSON.
安装
npx -y @openserp/mcp配置
{
"mcpServers": {
"openserp": { "command": "npx", "args": ["-y", "@openserp/mcp"] }
}
}