
Web Fetch Mcp
io.github.KylinMountain由 GitHub 帳號 KylinMountain 發布v0.1.1更新於 Oct 24, 2026
MCP server for web content fetching, summarizing, comparing, and extracting information
概覽
本機 MCP 伺服器,擷取網頁並透過 Gemini 對最多 20 個網址的內容進行摘要、比較或資訊擷取。
- 可以做什麼
- 以自然語言提示讓 Gemini 對單一或多個網址的內容產生摘要。比較多個網址的內容,找出異同。依提示從網頁中擷取指定資訊。擷取網頁並將 HTML 轉換為乾淨易讀的文字,自動把 GitHub blob 連結解析為原始內容,並可設定逾時與內容長度上限。
- 適用情境
- 適合助理需要在不開啟瀏覽器的情況下閱讀、濃縮或交叉核對網頁與 GitHub 檔案時使用,例如比較多篇文章或從長頁面中擷取特定事實。
- 執行需求
- 以 stdio 方式在本機執行;需透過 npm 全域安裝 web-fetch-mcp,或以 Node.js 從本機建置執行。需要有效的 Gemini API 金鑰,透過環境變數 GEMINI_API_KEY 提供。需要連線目標網站與 Gemini 服務的網路;直連失敗時可設定 HTTPS_PROXY 與 HTTP_PROXY。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Web Fetch Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Web Fetch MCP Server
A Model Context Protocol (MCP) server that provides web content fetching, summarization, comparison, and extraction capabilities.
Features
- Three Core Tools: Provides
summarize_web,compare_web, andextract_webfor versatile web content processing. - Handles Multiple URLs: Process up to 20 URLs in a single request.
- Content Transformation: Converts HTML to clean, readable text and automatically resolves GitHub
/blob/URLs to their raw content equivalent. - Safe & Secure: Protects against Server-Side Request Forgery (SSRF) by blocking requests to private IP addresses.
- Configurable: Allows setting timeouts and content length limits to manage performance.
Installation
Install the server globally from npm:
MCP Agent Configuration
To use this server with an AI agent that supports the Model Context Protocol, add the following configuration to your agent's settings. Once configured, your agent can call the tools provided by this service.
Important: You must provide a valid Gemini API key for the server to work.
If you installed the package globally:
Note: If you encounter network access issues (e.g., unable to connect to Gemini), you can configure the environment variables HTTPS_PROXY and HTTP_PROXY. By default, the gemini-2.5-flash model is used, consistent with Gemini-CLI.
If you are running from a local clone:
Tool Reference
The service provides the following tools:
summarize_web: Summarizes content from one or more URLs.compare_web: Compares content across multiple URLs.extract_web: Extracts specific information from web content using natural language prompts.
Example Tool Call
To use a tool, your agent should make a callTool request specifying the tool name and a prompt:
For Developers
If you wish to contribute to the development of this server:
- Clone the repository:
- Install dependencies:
- Run in development mode:
- Build for production:
來源:README.md,提交 d713109
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分