
Odysseus Web MCP
io.github.AceAtDev由 GitHub 账号 AceAtDev 发布v0.1.0更新于 Oct 24, 2026
Secure MCP server for public web search and URL fetching.
概览
本地 MCP 服务器,为助手提供公开网络搜索与公开 URL 抓取提取两项工具。
- 可以做什么
- 通过多个搜索提供方检索公开网络,返回排序并标注来源的结果
- 抓取公开 HTML、PDF 与文本 URL 并提取可读正文,可选 JavaScript 渲染
- 返回有长度上限的输出,含质量信号、发现的链接、重定向历史与证据标识
- 支持用游标续读长页面,并可将搜索结果直接交给抓取工具
- 适用场景
- 适合助手需要查询公开网络上的最新信息并阅读所找到页面的场景,具备 SSRF 防护,默认提供方链无需 API 密钥。适用于 Claude Code、Cursor、Codex 等客户端中的检索与事实依据工作流。
- 运行要求
- 以 stdio 本地运行;需要 Python 3.11+ 与 uv,或使用基于 uv 运行时的 MCPB 包。默认提供方链无需 API 密钥;可选密钥 DATA_BRAVE_API_KEY、TAVILY_API_KEY、SERPER_API_KEY 用于启用对应提供方。可选 JavaScript 渲染需安装 render 附加组件与 Playwright Chromium,并设置 WEB_MCP_RENDER_ENABLED。状态存放于 WEB_MCP_DATA_DIR(默认 ~/.local/share/odysseus-web-mcp)。
安装
在 SourceWeft 中
- 打开 控制台中的 Odysseus Web MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Odysseus Web MCP — Secure Web Search and Fetch Server for AI Assistants
Odysseus Web MCP is a standalone Model Context Protocol (MCP) server for safe public-web search and URL fetching. It runs locally over stdio and gives MCP-compatible AI assistants two retrieval tools: web_search to discover sources and web_fetch to retrieve and extract public URLs.
Built for clients such as Claude Code, Cursor, and Codex, it combines search-provider fallback, readable HTML/PDF/text extraction, optional JavaScript rendering, and SSRF protections including DNS validation and redirect rechecks.
[Live web search terminal demo]
[Live web fetch terminal demo]
Features
- Search the public web with provider fallback and ranked, attributed sources.
- Fetch and extract HTML, PDF, and text content from public URLs.
- Protect against SSRF with public-network checks, DNS validation, and redirect revalidation.
- Return bounded, evidence-oriented output with cursors, quality signals, and discovered links.
- Optionally render JavaScript-heavy pages in isolated Playwright.
Install in minutes
Requirements: Python 3.11+ and uv.
The server communicates over stdio, so it does not open a web port and does not need to be installed into your host application's Python environment. Register the absolute launcher path in your MCP client:
The launcher automatically uses the package's .venv. State defaults to
~/.local/share/odysseus-web-mcp; set WEB_MCP_DATA_DIR to place it
elsewhere. No API key is required for the default fallback path, though Brave,
Tavily, and Serper keys can be added when you want those providers.
The two tools
web_search
Use it to discover sources for a focused question. It accepts one to three queries plus optional mode, vertical, and freshness controls.
The response contains ranked URLs, titles, snippets, provider attempts,
cache state, a plain-text display projection, and an evidence_id. A host can
take any returned URL directly into web_fetch.
web_fetch
Use it to read a known public URL or a bounded batch of URLs.
It returns extracted text, title and document kind, content quality, link
discovery, redirect history, HTTP status, truncation/continuation metadata,
and an evidence_id. Private and special-use destinations are rejected before
transport by default.
Example: how an agent uses the MCP
An agent normally uses the tools as a two-step retrieval loop: search first, then fetch the source it wants to inspect. The payloads below show the shape of a real MCP interaction; IDs and result text are abbreviated for readability.
1. Agent searches for sources
The MCP returns a text content block containing structured JSON:
2. Agent fetches the selected source
The agent takes the returned URL and calls the second tool:
The MCP returns bounded, extracted evidence:
The agent can now answer the user from the extracted content, preserve the
evidence_id for traceability, and continue with another web_fetch using a
returned cursor if the page was longer than the output budget.
How it works locally
All persistent state is rooted under WEB_MCP_DATA_DIR. The package has no
runtime imports from Odysseus and no access to its credentials, database,
memory, browser profiles, scheduler, or agent loop.
Read the full local system design in
docs/TECHNICAL_DESIGN.md, and see how the GIFs
were recorded in docs/INTERACTIVE_DEMO.md.
Search providers and configuration
The default provider chain is:
Configure it with WEB_MCP_SEARCH_PROVIDER_CHAIN. Optional credentials are
DATA_BRAVE_API_KEY, TAVILY_API_KEY, and SERPER_API_KEY. Copy
.env.example as a reference, but keep secrets in the host
environment rather than committing them.
The optional browser path is disabled by default:
Distribution and discovery
The server is published in the official MCP Registry
under io.github.AceAtDev/odysseus-web-mcp.
For Claude Desktop and other MCPB-compatible clients, download the validated
MCPB release bundle
from the v0.1.0 GitHub Release.
The bundle uses the uv runtime to resolve the declared Python dependencies
without shipping a machine-specific virtual environment.
Verify it yourself
The project has a focused test suite and a live qualification runner:
The live qualification runs 10 searches and 10 fetches through the real MCP
launcher with disposable state. The latest verification record is in
VERIFICATION.md.
To re-record the terminal previews from fresh live calls (requires
ImageMagick's convert command):
Each GIF is intentionally under ten seconds and shows a real MCP handshake and result shape, not a static product mockup.
Project boundaries
This package is a retrieval primitive, not an agent loop, general-purpose crawler, scheduler, memory store, browser-profile manager, or credential vault. It is designed to be downloaded and connected as an independent MCP server.
License and status
This is the standalone extraction workspace for the Odysseus web search/fetch
capability. See MIGRATION_MAP.md for the source-to-module
mapping and VERIFICATION.md for the current evidence-based
status.
来源:README.md,提交 0019ac5
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。