
SourceWeave Web Search
io.github.MRNAQA由 GitHub 账号 MRNAQA 发布v0.5.0更新于 Oct 25, 2026
Fully local MCP server and CLI for web research
发布方自己的服务:Source
概览
本地 MCP 服务器兼命令行工具,用于网络调研:搜索网页、按 page_id 读取已存页面,并直接读取 URL。
- 可以做什么
- 搜索网页,可按域名和 URL 过滤,返回带稳定 page_id 句柄的简洁结果,便于后续引用(search_web)。按 page_id 读取此前存储的页面,可附带关注点(read_pages)。不先搜索而直接读取给定 URL,可附带关注点(read_urls)。通过 MarkItDown 将 PDF 等受支持文档转换为文本。也可用命令行工具在不经 MCP 封装的情况下执行同样的搜索优先流程。
- 适用场景
- 适合助手需要在公开网络上调研主题、随后阅读所找到来源,并在会话中保持页面引用稳定的场景。也适合搜索、抓取和缓存都在本机运行的自托管本地环境。
- 运行要求
- 需要 Python 3.12 或更高版本,通过 uvx 从 sourceweave-web-search 包启动。默认的托管本地运行时需要支持 Compose 的 Docker,会自动启动 SearXNG、Crawl4AI 以及 Redis 或 Valkey。也可以设置 SOURCEWEAVE_SEARCH_SEARXNG_BASE_URL(必须包含 )、SOURCEWEAVE_SEARCH_CRAWL4AI_BASE_URL 和 SOURCEWEAVE_SEARCH_CACHE_REDIS_URL,指向自行运行或托管的服务。网页搜索和页面抓取需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 SourceWeave Web Search,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
SourceWeave Web Search
[Python 3.12+] [MIT License] [MCP] [Docker managed runtime]
Search-first MCP server and CLI for web research.
[!NOTE]
sourceweave-search-mcpis the default local entrypoint. When explicitSOURCEWEAVE_SEARCH_*endpoint variables are absent, it discovers or starts the local Docker-backed stack automatically. If you already run the services yourself, set explicit endpoints and it will use them instead.
Overview • Getting started • Managed local runtime • MCP client setup • CLI • Container deployments • OpenWebUI • Runtime configuration • Development
Overview
SourceWeave Web Search gives MCP clients a compact three-tool contract for web research:
search_web(query, domains?, urls?, effort?)discovers sources and returns compact results with stablepage_idhandles.read_pages(page_ids, focus?)reads stored pages bypage_id.read_urls(urls, focus?)reads direct URLs without searching first.
It combines:
Getting started
Requirements
- Python
3.12+ - Docker with Compose support for the default managed local runtime
- Explicit
SOURCEWEAVE_SEARCH_*endpoints only if you want hosted or self-managed services
Managed local runtime
Run the server from the published package:
Or start the MCP server over HTTP:
When no endpoint env vars are set, sourceweave-search-mcp:
Managed state lives under ~/.sourceweave-local/managed-runtime. Multiple MCP processes on the same machine share one managed stack per state directory.
[!IMPORTANT] Managed runtime removes containers only when the last active SourceWeave-managed process exits. Named volumes are preserved, so cache data survives restarts. If the original owning process dies, a later process can recover the same stack from Docker project identity and persisted runtime state.
Explicit endpoint mode
If you already run SearXNG, Crawl4AI, and Redis or Valkey yourself, or want to point at hosted services, set explicit endpoints and the MCP entrypoint will bypass managed Docker startup:
Direct CLI
sourceweave-search runs the tool directly. Use it when the supporting services are already available or when you provide explicit endpoints. It does not start Docker.
[!TIP] The direct CLI also accepts
--searxng-base-url,--crawl4ai-base-url, and--cache-redis-urloverrides.
MCP client setup
OpenCode
Example opencode.json / opencode.jsonc / ~/.config/opencode/opencode.json:
For a shared HTTP endpoint instead:
VS Code Copilot
Example .vscode/mcp.json:
For a shared HTTP endpoint instead:
Claude Code
Example .mcp.json:
For a project-scoped shared config, place the same block in .mcp.json at the repo root.
CLI
The direct CLI is useful once the supporting services are already reachable. It gives you the same search-first workflow without the MCP wrapper.
Container deployments
The managed local runtime is for host-side uvx or uv run launches. Containerized deployments still use explicit endpoint wiring.
- Image:
ghcr.io/mrnaqa/sourceweave-web-search-mcp - Repo-local compose entrypoint:
docker compose up -d --build mcp
Example container run:
OpenWebUI
This repo also ships a generated standalone OpenWebUI tool file at artifacts/sourceweave_web_search.py.
From a repo checkout, verify it is in sync with the canonical implementation:
Paste that artifact into OpenWebUI when you want the standalone tool-file deployment path. The generated file rewrites the default endpoints to the repo-local compose service names so it matches the container deployment path out of the box.
Runtime configuration
Optional environment variables:
If the endpoint variables are unset, sourceweave-search-mcp defaults to managed local runtime.
- Canonical host endpoints remain the preferred defaults and the external-reuse probe targets.
- A SourceWeave-managed stack may use different free host ports when the canonical defaults are already occupied.
- Multiple MCP processes on the same machine share one managed stack per local runtime state directory.
Default endpoint values:
- SearXNG:
http://127.0.0.1:19080/search?format=json&q=<query> - Crawl4AI:
http://127.0.0.1:19235 - Redis:
redis://127.0.0.1:16379/2
Default preferred host ports for managed startup:
- SearXNG:
19080 - Crawl4AI:
19235 - Redis:
16379 - MCP:
8000when run directly withuvx;18000at/mcpwhen using the repo'smcpcompose service
Development
Useful checks:
来源:README.md,提交 e151f5f
工具
0版本历史
1- v0.5.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Source 集成
Source
app.source官方发布者
Source 提供的远程 MCP 端点,让助手访问已接入 Source 的网站的营销归因与分析数据。

ArxSource
由 GitHub 账号 nicolaiprodromov 发布
本地 MCP 服务器,让助手检索 arXiv 论文、按章节或 LaTeX 原文阅读、追踪引用,并找到论文对应的代码。
SourceMed
io.sourcemed
SourceMed 为助手提供经来源核实的临床证据库:可提出证据问题、浏览书架并阅读带引用的卡片。

Spree Commerce: open-source B2B and marketplace ecommerce
由 GitHub 账号 spree 发布
Spree 的 MCP 服务器让 AI 助手用自然语言管理 Spree 商店的商品目录、回答报表问题并完成店铺设置。

PlushSource
由 GitHub 账号 quickman924 发布
本地 MCP 服务器,内置定制毛绒玩具制造商名录,让助手搜索、筛选、比较并引用厂商条目。