OpenSERP

org.openserp由 openserp.org 发布v0.1.12更新于 Oct 30, 2026

Search Google, Bing, Yandex, Baidu, DuckDuckGo and Ecosia with original ranks, plus page extraction.

概览

AI 生成的概览

OpenSERP MCP 让助手在六个搜索引擎上进行实时网页与图片搜索并保留原始排名,还能把网页内容提取为 Markdown。

可以做什么
  • 在指定引擎上搜索网页,或按回退顺序、选最快可用引擎、多引擎合并并保留各引擎排名
  • 在单个引擎或多引擎合并结果中搜索图片
  • 提取单个网址的正文为 Markdown,或一次批量提取最多 20 个网址并逐条返回错误
  • 查看当前可用且健康的搜索引擎
  • 查看云账户套餐、剩余额度以及上一次调用的消耗
适用场景
适合需要最新网页结果而非模型记忆的场景,例如引擎选择很重要(俄语用 Yandex、中文用 Baidu)、比较同一页面在各引擎的排名,或用多个抓取页面为回答提供依据。
运行要求
通过 npx 在本地运行,需要 Node.js。未设置 OPENSERP_API_KEY 时,默认连接 的自建 OpenSERP 服务器;使用 OpenSERP Cloud 需设置 OPENSERP_API_KEY,也可用 OPENSERP_BASE_URL 指向其他兼容服务器。需要网络访问。
安装前请注意
使用云服务需要 OPENSERP_API_KEY 密钥,会以 bearer 令牌发送并按额度计费;图片搜索费用随返回图片数量增加。服务器不会自动重试,需自行处理限流响应。提取功能会抓取任意网址,长页面默认会被截断。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OpenSERP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@openserp/mcp

[npm version] [license]

Live search on six engines (Google, Bing, Yandex, Baidu, DuckDuckGo, Ecosia), image search and single/batch page extraction for AI agents. Results keep the source engine and rank. Runs against a self-hosted OpenSERP server or OpenSERP Cloud.

When OPENSERP_API_KEY is not set, the server uses OSS mode at http://localhost:7000 and writes:

text
[openserp-mcp] No OPENSERP_API_KEY set - using OSS mode at http://localhost:7000.[openserp-mcp] Get an API key: https://openserp.org/dashboard/keys[openserp-mcp] Docs: https://openserp.org/docs | Issues: https://github.com/openserpapi/mcp/issues

Set OPENSERP_API_KEY to use OpenSERP Cloud. API keys are available at https://openserp.org/dashboard/keys. Set OPENSERP_BASE_URL to target another compatible OpenSERP API base URL.

Install

bash
npm install -g @openserp/mcp

You can also run it without installing:

bash
npx -y @openserp/mcp --stdio

Tools

ToolUse it when
searchThe engine matters (Yandex for Russian, Baidu for Chinese), or you page with start
any_searchYou want a preferred engine with fallbacks, in your order
fast_searchAny engine will do; picks the healthiest, fastest one
mega_searchYou compare engines or want wider coverage; results keep engine and rank
image_searchImages from one engine
mega_imageImages merged from several engines
extractReading one page as Markdown
batch_extractReading several pages (up to 20) in one call; a failed URL doesn't fail the batch
list_enginesSearches keep failing and you need a healthy engine
get_usageChecking the Cloud credit balance or what the last call cost

extract and batch_extract cut long pages to fit an agent's context: 20,000 characters per page, or 40,000 shared across a batch (at least 2,000 per URL). Cut content ends with a [truncated: ...] line and is flagged (truncated / metadata.truncated). Pass maxChars to read more.

Quick Examples

Ask your MCP client to:

  • Search Google for current docs and return the top 5 URLs.
  • Compare Google and Bing results for an SEO keyword.
  • Extract clean Markdown from a URL before passing it to an LLM.
  • Ground an answer in several sources at once with batch_extract - up to 20 URLs in one round-trip, where a dead link returns an error item instead of failing the batch.
  • Read a geo-fenced page as a local visitor by passing region: "DE".
  • Check remaining Cloud credits with get_usage.

Cloud search parameters

Cloud requests use Authorization: Bearer with OPENSERP_API_KEY. For paging, use start and keep limit: 10; pass the previous response's pagination.next_start while has_more is true. Google, Bing, and Yandex take multiples of 10; Baidu supports early pages, Ecosia any offset, and DuckDuckGo only the first page. mega_search with mode: "balanced" rejects start > 0; use search, any_search, or fast_search for later pages.

Cloud web search supports date: "20250101..20251231" on Google and Ecosia. Unsupported offsets or date filters return 400 invalid_request without charge; adjust the request before retrying.

list_engines returns Cloud capabilities plus operational status. Omit engines to use defaults. Any starts engines in your order, overlapping slow attempts; Fast prioritizes recent health and latency. Read meta.engine_used for the winner; engines_tried and engines_skipped may be absent.

Tool errors include the public HTTP status, error code, request ID, and retry delay when present. Honor retry_after for 429 and 503; 503 engine_unavailable carries a 60-second delay. The server does not retry automatically.

Claude Desktop

Local OSS mode:

json
{  "mcpServers": {    "openserp": {      "command": "npx",      "args": ["-y", "@openserp/mcp"]    }  }}

Cloud mode:

json
{  "mcpServers": {    "openserp": {      "command": "npx",      "args": ["-y", "@openserp/mcp"],      "env": {        "OPENSERP_API_KEY": "osk_live_..."      }    }  }}

Cursor

For stdio use, add an MCP server entry:

json
{  "mcpServers": {    "openserp": {      "command": "npx",      "args": ["-y", "@openserp/mcp"],      "env": {        "OPENSERP_API_KEY": "osk_live_..."      }    }  }}

For remote-style HTTP use, run:

sh
npx -y @openserp/mcp --http --host 127.0.0.1 --port 3333

Then point a streamable HTTP MCP client to:

text
http://127.0.0.1:3333/mcp

Clients that still use the older SSE transport can connect to:

text
http://127.0.0.1:3333/sse

Environment

  • OPENSERP_API_KEY: Cloud API key from https://openserp.org/dashboard/keys.
  • OPENSERP_BASE_URL: API base URL override.
  • OPENSERP_BACKEND: Optional backend hint, oss or cloud.
  • OPENSERP_TIMEOUT_MS: SDK request timeout in milliseconds.
  • HOST: HTTP host, default 127.0.0.1.
  • PORT: HTTP port, default 3333.

Resources

来源:README.md,提交 1d2e12e

工具

10

mega_image

Mega Image Search

Search images on several engines and merge them into one list (mode balanced, the default); each image keeps its source engine and rank, and duplicates are dropped. Use it when one engine gives too few or too similar images; use image_search for a single engine. Balanced mode serves only the first page; mode any or fast returns the first engine that succeeds. Output fields match image_search. Cloud: any/fast cost 1 credit, balanced depends on engines and image volume. Errors return isError with status, error code and retry_after. On 429 or 503 wait retry_after; if an engine is blocked (CAPTCHA, 502/503), try another engine. Unsupported parameters return 400 and are not charged.

输入参数datefilelangmodesitetextlimitmergestartdedupefilterformat另有 3 个

get_usage

Get Usage

Show the OpenSERP Cloud account behind OPENSERP_API_KEY: account (plan, credits_remaining) and lastResponse (request_id, credits used, engine) for the previous tool call in this session. Read-only and free. Use it to check the balance before a large batch or to see what a call cost. Self-hosted mode has no credits, so it returns an error there.

无需输入参数。

list_engines

List Engines

List the engines this OpenSERP backend can use and whether they work right now. Self-hosted: each engine with initialized and circuit_state (open means it is failing, skip it). Cloud: per-engine web/image support and status (operational, loaded, down) with latency. Read-only and free. Call it when searches keep failing, then pick a healthy engine for search or the engines list.

无需输入参数。

extract

Extract URL

Fetch one URL and return its main content as Markdown, e.g. to read a page found by search. Returns JSON: url, title, description, markdown, text, headings, links (first 50), lang and meta.mode_used. Content over maxChars (default 20000) is cut and the result gets truncated: true. For two or more pages use batch_extract. Pages behind logins or bot walls can fail or come back thin; try mode rendered or another source. Cloud: 1 credit for a fast fetch, 3 when the page needs a browser, +1 with region; failed and empty pages are free. Errors return isError with status and error code.

输入参数url必填langmodecleanformatregionmaxCharsminRunesuseLlmsTxt

batch_extract

Extract several URLs

Extract LLM-ready content from up to 20 URLs in one request. Prefer this over repeated extract calls when grounding an answer in several pages: it is one round-trip, and a URL that fails returns an item with an error instead of failing the batch. Returns results (url, page_content as Markdown, error when that URL failed; metadata with title, mode_used and, when cut, truncated and total_chars) and meta (requested, succeeded, failed). Cloud: billed per URL like extract; failed and empty URLs are free.

输入参数langmodeurls必填cleanregionmaxCharsminRunesuseLlmsTxt

版本历史

1
  1. v0.1.12最新Oct 30, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分