Zearch

io.github.zearchcomputer由 GitHub 账号 zearchcomputer 发布v0.1.0更新于 Oct 24, 2026

Research with answers you can check: every paragraph verified against its cited source.

概览

AI 生成的概览

Zearch MCP 让助手获得可核查的带引用研究答案,每段都对照其来源验证,并能用你自己的资料核验文本。

可以做什么
  • 执行可核查的研究:标准答案、最多 8 个来源的深度报告、对比、单页抓取、小型站点爬取,以及对应用、仓库或网站的静态分析解读
  • 用你提供的来源逐段核验自己模型写的文本,给出通过与否及支持度评分
  • 重新打开历史运行、列出近期运行,并查询排队中的 reverse 运行
  • 查看积分余额、批次、到期时间和账本记录,以及公开价目表
  • 使用内置资源与提示词获取运行 Markdown、价格、带引用简报、事实核查和对比表格
适用场景
适合需要可审计而非盲信的研究结果:带编号来源和所读原文段落的答案,或把模型写的文本与你已有文档对照核查。最适用于事实核查、简报和需要引用的对比。
运行要求
通过 npx 从 npm 包 @zearchcomputer/mcp 本地运行(需要 Node.js)。需要 Zearch API 密钥(zk_live_…),在 Zearch 应用的 Account → API keys 中创建,并以 ZEARCH_API_KEY 传入。可选配置包括 ZEARCH_API_URL、ZEARCH_TIMEOUT_MS、ZEARCH_REVERSE_WAIT_MS 和 ZEARCH_UI。需要能访问 Zearch API 的网络。
安装前请注意
research 和 verify 调用会消耗 Zearch 账户积分,深度研究 5 积分、reverse 10 积分,出错不扣费。API 密钥是可计费的机密,避免写入共享配置,优先使用提示输入的方式。HTTP 模式下调用方自带密钥,服务器不保存密钥。官方称服务处于早期阶段,尚未对所有人开放。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[zearch]

Answers you can check, inside any MCP client.

@zearchcomputer/mcp connects Claude, Cursor, VS Code and other Model Context Protocol clients to Zearch. Ask a question and you get an answer whose every paragraph was checked against the source it cites, with the exact passage Zearch read. Or check text your own model wrote against sources you already have.

Status: early. The Zearch API is not open to everyone yet.

[npm]

How an answer is made

mermaid
flowchart LR  Q([Question]) --> S[Search]  S --> J1[Jev selects<br/>passages]  J1 --> W[Writer drafts from<br/>those passages only]  W --> J2[Jev checks<br/>each paragraph]  J2 -->|supported| A([Cited answer])  J2 -->|not supported| E([The source<br/>passage itself])

Jev is TypeSafe AI's evidence model. When a paragraph can't be supported it is cut, and when nothing survives you get the best source passage instead of a guess (answer_type: "excerpt").

Tools

ToolWhat it doesCredits
researchChecked answer with numbered sources and the passages Jev read. Modes: standard, deep (a report from up to 8 sources), compare, scrape (one page), crawl (up to five pages of a site), reverse (how an app, repo or site works, from static analysis). Follow-ups with parent_id.1 · 5 · 2 · 1 · 3 · 10; follow-up 0.3
verifyChecks your text against your sources, paragraph by paragraph: pass/fail, support and attribution scores. Cite sources as [1], [2]…1
get_runReopens a run, or checks on a queued reverse run.free
list_runsYour recent runs (shared with the Zearch app).free
get_walletCredit balance, lots and expiry, recent ledger entries.free
get_pricingPublic price list. No key needed.free

Errors are never charged. A run that can only return a source passage costs half.

Progress. research streams its stages (Searching the web → Choosing the most relevant evidence → Checking each claim against its source) as MCP progress notifications, so clients that show progress show what Zearch is doing.

Answer view. In clients that support MCP Apps, research, get_run and verify render an inline card: the answer with citation chips, source cards with the excerpt Jev read, an Open button for each source, and follow-up suggestions. It follows the client's light or dark theme. Other clients get the same content as text. Set ZEARCH_UI=0 to turn it off.

Resources. zearch://runs/{id} (a run as Markdown; your recent runs are listed), zearch://pricing.

Prompts. research_brief (a cited brief from deep research), fact_check (find sources for a draft, then verify it), compare (a table with a citation in every cell).

Install

You need a Zearch API key (zk_live_…). Create one in the Zearch app under Account → API keys.

Claude Code

sh
claude mcp add zearch --env ZEARCH_API_KEY=zk_live_your_key -- npx -y @zearchcomputer/mcp

Claude Desktop

In Settings → Developer → Edit config, add:

json
{  "mcpServers": {    "zearch": {      "command": "npx",      "args": ["-y", "@zearchcomputer/mcp"],      "env": { "ZEARCH_API_KEY": "zk_live_your_key" }    }  }}

Cursor

.cursor/mcp.json (project) or ~/.cursor/mcp.json (global): the same mcpServers block as Claude Desktop.

VS Code

.vscode/mcp.json, which prompts for the key instead of storing it:

json
{  "inputs": [{ "type": "promptString", "id": "zearch-key", "description": "Zearch API key", "password": true }],  "servers": {    "zearch": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@zearchcomputer/mcp"],      "env": { "ZEARCH_API_KEY": "${input:zearch-key}" }    }  }}

Run from source

sh
git clone https://github.com/zearchcomputer/zearch-mcpcd zearch-mcpnpm ci && npm run build

Then use node /absolute/path/to/zearch-mcp/dist/index.js as the command in any config above, instead of npx -y @zearchcomputer/mcp.

Remote (HTTP) mode

sh
npx -y @zearchcomputer/mcp --http --port 8787            # http://127.0.0.1:8787/mcp

Every request uses the caller's own key, sent as Authorization: Bearer zk_live_…; the server stores no keys. ZEARCH_API_KEY is used as a fallback only when the server listens on loopback, so a public deployment can't spend the operator's credits for someone else. GET /healthz reports liveness.

To serve on a public interface, bind it and list the hostnames you serve, so requests with other Host headers are refused:

sh
npx -y @zearchcomputer/mcp --http --host 0.0.0.0 --port 8080 --allowed-hosts mcp.zearch.computer

A Dockerfile is included for this.

Configuration

VariableDefaultPurpose
ZEARCH_API_KEYYour API key. In HTTP mode, callers send their own.
ZEARCH_API_URLhttps://zearch.computer/v1API base URL. http:// is accepted only for localhost.
ZEARCH_TIMEOUT_MS120000Per-request timeout. Research streams get at least 180 s.
ZEARCH_REVERSE_WAIT_MS300000How long research waits for a reverse run before returning its id for get_run.
ZEARCH_UIon0 turns off the inline answer view.
ZEARCH_MCP_ALLOWED_HOSTSSame as --allowed-hosts.
PORT8787HTTP port when --port isn't given.

Reliability

  • Each research call carries an idempotency key, reused across retries, so a retried request never runs or charges twice.
  • Network failures, 5xx responses and per-minute rate limits are retried with backoff that honours Retry-After. Out-of-credit, auth and validation errors are not retried; they come back as a tool error that says what to do next.
  • If a research stream drops, the server reads the finished run instead of failing.
  • Cancelling a tool call in the client cancels the request to Zearch.
  • Logs go to stderr. Keys are never logged.

Development

sh
npm cinpm test        # builds, then runs the tests against a local mock of the Zearch API

Tests make no network calls beyond localhost and spend no credits. The view is a single dependency-free HTML file in src/ui/answer.html.

The server is built on the MCP TypeScript SDK v2 (protocol revision 2026-07-28, with 2025-era clients still served) and talks to the Zearch API.

Security

Report vulnerabilities privately through GitHub security advisories. See the security policy.

License

MIT

来源:README.md,提交 e44af87

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 13, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

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

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分