
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 分
請在儲存庫或註冊中心條目中宣告授權條款。