
Agent Search Mcp
io.github.lennney由 GitHub 帳號 lennney 發布v3.2.1更新於 Oct 27, 2026
Free-first Chinese and English web search MCP using zero-key sources and inspectable evidence.
概覽
免費優先的中英文網頁搜尋 MCP 伺服器,在本機 Node.js 上執行,回傳精簡、可查核的多來源證據。
- 可以做什麼
- 執行有預算上限的多引擎網頁搜尋,含帶篩選條件的瀑布式搜尋與選用增強
- 將網址擷取為乾淨的 Markdown,並抓取 GitHub README、CSDN 文章與掘金文章
- 在相同的引用證據包上附加 LLM 綜合提示進行搜尋
- 回傳執行中繼資料:所用引擎、停止原因、預算、證據截斷與部分供應商失敗
- 透過隨套件附上的 CLI 執行相同查詢,並可做本機設定檢查
- 適用情境
- 適合需要中英文網頁搜尋但不想註冊搜尋 API 的情境,也適合希望搜尋結果帶有可追溯來源與可見供應商失敗資訊、而非單純連結清單的助理。對需要受控、節省 token 的證據查核工作也適用。
- 執行需求
- 需要 Node.js 18.17 或更新版本,以本機 stdio 程序執行,通常透過 npx 啟動。預設零金鑰引擎不需 API 金鑰、瀏覽器、資料庫或 Python。選用付費引擎需各自的 API 金鑰(BRAVE_API_KEY、TAVILY_API_KEY、EXA_API_KEY、YDC_API_KEY、TENCENT_WSA_API_KEY、BOCHA_API_KEY、SERPER_API_KEY)。選用語意處理依賴 Python 與 Model2Vec;HTTP 模式需 HTTP_AUTH_TOKEN,除非明確關閉驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agent Search Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Agent Search MCP: Free-first Web Search with Inspectable Evidence
A Node.js MCP server and CLI for English and Chinese web search.
Agent Search MCP starts without an API key. It returns compact multi-source evidence, records provider failures, and bounds work with request and evidence budgets. Paid providers run only when policy and credentials allow.
[npm version] [npm downloads] [GitHub stars] [CI] [License] [Glama]
中文文档 · Product page · Benchmarks · Architecture · CHANGELOG
Install
Requires Node.js >= 18.17. The default runtime does not require a browser, database, Python, or a search API account.
Connect an MCP client
Use this stdio configuration in MCP clients that accept mcpServers JSON,
including Claude Desktop, Cursor, VS Code, and Windsurf:
Claude Code and Codex can register the same npx -y agent-search-mcp stdio
command through their MCP settings.
Add the optional Agent Skill
After connecting the MCP server, Agent Skills-compatible clients can install the repository-owned routing guide:
Invoke it with a request such as Use $agent-search to verify this claim with official sources. The Agent Search Skill
chooses one of four bounded paths: quick discovery, stricter verification,
Chinese-source search, or extraction of a selected URL. It checks that the
needed MCP tool exists and asks before any install or configuration change.
Installing the Skill does not start or configure the MCP server.
Example: inspect a bounded search result
After building the local package, run a CLI query without adding a provider key:
The response contract keeps result evidence, meta.execution, and
partialFailures separate. A provider timeout or challenge remains visible to
the agent instead of being converted into an unexplained empty result. This is
a contract example, not a live availability or search-quality benchmark.
After a global install, check the local runtime without making a search request:
Why Agent Search MCP
The difference from a plain multi-engine wrapper
The one-minute offline demo replays these differences through the production evidence scorer and formatter:
Inspect the search evidence
Each JSON response includes one Search Evidence Packet. It answers the routing questions an agent needs before it uses a result:
Run the one-minute offline contract demo:
It replays three synthetic scenarios through the production evidence scorer, formatter, and MCP output helper: same-family adapter overlap, visible fallback failure, and a bounded quality-gate stop. It makes no live availability or search-quality claim and performs no network request.
The default free_first policy never spends a configured API credential.
free_only blocks paid providers. quality_escalation can call one configured
paid provider after free evidence misses the quality gate, while paid_first
tries that provider before the free fallback.
Request budgets cap adapter attempts, elapsed time, and admitted results. The evidence budget caps query-relevant passages across the complete response. Compact mode keeps full detail for the first results and reduces later entries to source-preserving references.
Measured token reduction
The checked-in bilingual fixture measures formatting with a locked tokenizer:
This fixture verifies output formatting and evidence-packet behavior. It does not measure live engine availability or search quality. See the benchmark method and limitations.
How the search router works
The router evaluates each search batch against separate result, relevance,
confidence, and provider-family gates. It stops after the evidence passes those
gates and exposes the decision in meta.execution. Provider failures stay
visible in partialFailures, so an empty result cannot hide an upstream error.
The competitive landscape (2026-08-07) maps the crowded baseline and the product gaps. It records source dates and fixed commits for facts that can change. The 2026-08-10 update adds competitor activity since then: direct local competitors are dormant, and token-efficient evidence is becoming an industry-explicit lever. The earlier source-level product comparison contains the architecture-specific evidence.
Engines
The runtime registers 16 adapters: 9 zero-key adapters and 7 optional API adapters.
Tools
Capability controls
search_with_synthesis uses the same canonical structuredContent evidence
packet as the primary search tools and adds prompt_hint; its text content is
only a compact compatibility view. Execution metadata distinguishes scheduled
adapters from retry-inclusive adapter attempts. http_requests is null until
all adapter transports can report it without false precision.
Wiby is a genuine zero-key source backed by its official JSON API and is used late in the free waterfall as an independent small-Web supplement. Optional providers require user credentials; any signup credit or trial quota is provider-controlled and is not treated as permanent free access.
All tools are read-only and idempotent. Search cancellation reaches rate-limit waits, retries, provider requests, and optional enrichment. Enrichment can improve a snippet but cannot increase source confidence or independent source count.
free_search_advanced.time_range remains in the compatibility schema. The
server returns UNSUPPORTED_FILTER before searching because the general web
providers do not share one enforceable recency contract.
Configuration
The generated capability table above lists the default request budgets. These settings cover the common deployment choices:
Adding an API key does not authorize paid traffic. The routing policy controls
provider use. The default exact-result cache stays in memory; setting
SEARCH_CACHE_DIRECTORY opts into local persistence. Semantic processing is
the only optional feature that uses Python and Model2Vec.
Proxy pools select a deterministic first exit from the logical query and keep
multi-step provider requests sticky. Only a transport failure can move to the
next configured exit; a failed transport is cooled for 60 seconds. HTTP
responses, including 403, 429, and challenge pages, never trigger proxy
switching and continue through the provider's existing cooldown contract.
Engine-specific single-proxy variables take precedence over their pool. Proxy
credentials are never printed by fasm doctor.
HTTP deployment
HTTP mode requires HTTP_AUTH_TOKEN unless you set
HTTP_ALLOW_UNAUTHENTICATED=true. Browser requests with an Origin header must
match ALLOWED_ORIGINS. See the HTTP deployment guide
for TLS termination, token rotation, and reverse-proxy examples.
CLI
The package includes the fasm CLI:
fasm doctor reads local configuration without network probes and never prints
credential or proxy values.
Documentation and evidence
Companion: Slim Guard
Agent Search controls retrieval work and compresses search evidence. mcp-slim-guard sits between an agent and MCP servers to handle tool-schema compression and security policy.
Development
The stable package supports Node.js 18, 20, and 22. The isolated MCP 2026 experiment requires Node.js 20 or newer.
License
Based on open-websearch by Aas-ee.
If Agent Search MCP helps your agent, star the repository so other developers can find the project.
來源:README.md,提交 dd91577
工具
0版本歷史
1- v3.2.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
