
SearchForge
io.github.divyanshu-iitian由 GitHub 账号 divyanshu-iitian 发布v0.2.0更新于 Oct 27, 2026
Free open-source web search and page reading for LLMs, AI agents, and RAG.
概览
免费开源的网页搜索与网页读取 MCP 服务器,为助手提供按意图路由、可直接引用的搜索结果,并把公开网址转成干净的 Markdown。
- 可以做什么
- 按意图路由在网页、代码、学术与社区来源中搜索,返回去重、融合排序且便于引用的结果
- 读取公开的 HTTP(S) 网址,把页面内容转成适合 LLM 或 RAG 使用的干净 Markdown
- 查看各来源的实时能力、访问层级与延迟,判断哪些来源当前可用
- 也可通过 REST API、命令行或 TypeScript SDK 使用同一套检索能力
- 适用场景
- 适合需要网页、代码、学术或社区搜索与网页读取,又不想接入付费搜索服务商的场景,尤其是重视来源溯源与各来源健康状态的 RAG 流程或智能体工作流。
- 运行要求
- 以本地 stdio 进程运行,可通过 npx 从 GitHub 启动、克隆后用 Node.js 构建,或用 Docker 运行已发布的 OCI 镜像。默认来源均无需密钥;可选配置包括 SEARCHFORGE_SEARXNG_URL(自建 SearXNG 地址)、GITHUB_TOKEN(提高 GitHub 配额)、CROSSREF_MAILTO(Crossref 礼貌池标识)和 BRAVE_SEARCH_API_KEY(Brave 后端)。需要能访问各上游来源的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 SearchForge,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
SearchForge
Open-source web search API and MCP server for LLMs, agents, and RAG.
[CI] [License: MIT] [Node.js] [MCP] [Website] [Official MCP Registry]
One local gateway. Intent-aware search. Clean Markdown. REST, MCP, CLI, and TypeScript.
Website · Quick start · Free tools · MCP · API · Design
SearchForge is a free, open-source web search API and MCP server for LLMs, AI agents, and retrieval-augmented generation (RAG) pipelines. It provides a predictable retrieval layer without forcing every project to integrate a paid search vendor. SearchForge routes each query to the right source, isolates provider failures, deduplicates URLs, fuses rankings, and turns public pages into LLM-ready Markdown.
It does not generate answers, hide citations, scrape public SearXNG instances, or send telemetry.
What you get
SearchForge starts with all no-key adapters enabled. auto is the default and routes code, research, and current/community intent to relevant sources while retaining a web fallback. A GitHub token only raises the public API quota, and Brave remains an optional keyed backend. Broad, independent web metasearch is provided by the included SearXNG stack.
Quick start
Try it without cloning
The first run downloads and builds the package from GitHub. Searches use intent-aware auto routing unless you select a category.
Zero-key local CLI
Full web search with private SearXNG
This starts SearchForge on port 3000 and a private, JSON-enabled SearXNG on port 8080. Before exposing the stack, change the SearXNG secret, set SEARCHFORGE_API_KEY, and terminate TLS at a trusted proxy.
Free tools
Search by capability
The default auto category detects code, academic, and current/community signals and queries the matching source families alongside the web fallback. Explicit categories prevent irrelevant providers from being queried. An explicit providers list overrides category routing, which is useful for evaluations.
Read a URL as Markdown
read_url accepts public HTTP(S) URLs only. Credentials, localhost, private IP literals, and non-web protocols are rejected. Responses are size-bounded, timed out, and cached.
Diagnose the whole retrieval path
Doctor performs real, bounded probes and reports each provider's access tier, capability, latency, and error. A failed source produces degraded, not a misleading all-or-nothing status.
MCP
SearchForge exposes three stdio tools:
web_search— routed, citation-ready structured searchread_url— clean Markdown from a public URLsearch_status— live capability and latency report
The search and status tools return MCP structured content as well as readable text.
Run the MCP server straight from GitHub without a clone:
SearchForge is also published in the
official MCP Registry
as io.github.divyanshu-iitian/searchforge. To run the registry-backed OCI image
directly from any MCP client that supports a Docker command:
REST API
Search
Read
Other endpoints:
See the full OpenAPI contract.
TypeScript SDK
Until an npm release is published:
Provider details
SearchForge intentionally does not configure public SearXNG instances. They often disable JSON or limit automated traffic; the Docker stack is the stable free path.
How it works
Each idempotent provider call has its own abortable timeout. One outage cannot erase healthy results. Tracking parameters are removed before deduplication, and every contributing provider remains in sources.
This capability-first design is inspired by Agent Reach. Agent Reach helps an agent operate many upstream tools directly; SearchForge complements that approach with one stable, embeddable retrieval API for RAG applications.
Configuration
Production boundary
- Set an API key before binding to a public interface.
- Search results and page content are untrusted input; delimit them and apply prompt-injection defenses.
- The built-in cache and rate limiter are process-local. Use shared infrastructure for multiple replicas.
- Provider bodies and credentials are excluded from surfaced errors.
healthzproves the process is alive;/v1/doctorchecks dependencies.
See SECURITY.md, CONTRIBUTING.md, and CHANGELOG.md.
Principles
- Evidence over generated answers
- Free and self-hosted paths before vendor lock-in
- Partial results over total failure
- Honest capability and quota reporting
- Stable contracts and explicit provenance
- No telemetry by default
License
MIT © Divyanshu.
If SearchForge helps your agent, star the repository and share your integration in Discussions.
来源:README.md,提交 fe12c22
工具
0版本历史
1- v0.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
