Defuddle Fetch

io.github.domdomegg由 GitHub 帳號 domdomegg 發布v1.0.4更新於 Oct 24, 2026

Fetch content from the web, cleaned up nicely for LLMs (using Defuddle).

概覽

AI 產生的概覽

讓助理抓取網頁,並把正文清理成易讀的 Markdown 或原始 HTML,同時附上中介資料。

可以做什麼
這是一個本機 MCP 伺服器,使用 Defuddle 函式庫抓取指定 URL 並擷取正文,去除頁面雜項。其 fetch 工具接受 url 以及選用的 max_length、start_index 和 raw 參數,因此長頁面可以分段讀取。回傳結果包含標題、作者、發布日期、字數、網域與處理時間等中介資料。它被定位為預設以 Readability 為基礎的抓取伺服器的直接替代品。
適用情境
當助理需要以乾淨的文字而非原始 HTML 閱讀網頁時適用,例如摘要文章、查閱文件,或把頁面內容帶入對話。如果你常用的網站在預設抓取伺服器下擷取效果不佳,值得加入。
執行需求
以本機程序透過 stdio 執行,可從 npm 套件 defuddle-fetch-mcp-server 以 npx 安裝,或使用 .mcpb 套件。未宣告任何驗證、環境變數或標頭。需要網路存取以取得目標 URL,並需要桌面版 MCP 用戶端。
安裝前請注意
此伺服器會抓取交給它的任意 URL,因此來自公開網路的頁面內容會進入助理的上下文,其中可能含有不可信指令。抓取請求會直接送往目標網站,對方可見。未宣告任何憑證、付款或寫入操作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Defuddle Fetch,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

defuddle-fetch-mcp-server

A Model Context Protocol server that provides web content fetching capabilities using the Defuddle library. This server enables LLMs to retrieve and process content from web pages, automatically cleaning up the HTML and converting it to clean, readable markdown.

This is a drop-in replacement for the default fetch MCP server that uses Readability. This generally provides better results for most modern webpages.

Comparison

(using this issue)

Default Fetch MCPDefuddle Fetch MCP
Contents of https://github.com/kepano/defuddle/issues/61:

The MCP protocol is a standard for giving AI models access to tools.

There's a default fetch MCP server, which enables AI models to fetch content from websites. This uses Readability.js which is a bit meh, particularly at navigating GitHub (which I try to use it for a lot). I appreciate there is the GitHub MCP, but a more general web browsing solution seems particularly nice here.

Defuddle seems significantly better than Readability.js at processing pages nicely, and the model of having custom extractors to make particular sites work well seems great.

It'd be neat if someone built a defuddle-based fetch MCP server. I might get round to this later if I get frustrated enough with the default fetch MCP 😄
# idea: defuddle-based fetch MCP server · Issue #61 · kepano/defuddle

URL: https://github.com/kepano/defuddle/issues/61

Open

#61

[![@domdomegg](https://avatars.githubusercontent.com/u/4953590?u=c9e631d8135b93c7631d88f2e4bcb6b95e000264&v=4&size=80)](https://github.com/domdomegg)

## Description

The MCP protocol is a standard for giving AI models access to tools.

There's a default fetch MCP server, which enables AI models to fetch content from websites. This uses Readability.js which is a bit meh, particularly at navigating GitHub (which I try to use it for a lot). I appreciate there is the GitHub MCP, but a more general web browsing solution seems particularly nice here.

Defuddle seems significantly better than Readability.js at processing pages nicely, and the model of having custom extractors to make particular sites work well seems great.

It'd be neat if someone built a defuddle-based fetch MCP server. I might get round to this later if I get frustrated enough with the default fetch MCP 😄

Features

  • Better Content Extraction: Uses Defuddle to remove webpage clutter and extract main content: while keeping things like the page title and key metadata
  • Flexible Output: Supports both markdown and raw HTML output
  • Chunked Reading: Supports pagination with start_index and max_length parameters
  • Rich Metadata: Extracts title, author, publication date, word count, and more

Installation

Follow the instructions on install-mcp, which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).

Components

Tools

  • fetch
    • Fetches a URL from the internet and extracts its contents as clean, markdown text using Defuddle
    • Input parameters:
      • url (string, required): URL to fetch
      • max_length (number, optional): Maximum number of characters to return. Defaults to 5000.
      • start_index (number, optional): Start content from this character index. Defaults to 0.
      • raw (boolean, optional): Get raw content without markdown conversion. Defaults to false.
    • Returns cleaned content with metadata including title, author, publication date, word count, domain, and processing time

Contributing

Pull requests are welcomed on GitHub! To get started:

  1. Install Git and Node.js
  2. Clone the repository
  3. Install dependencies with npm install
  4. Run npm run test to run tests
  5. Build with npm run build

To add it to Claude Desktop, run npm run build then add the following configuration to your claude_desktop_config.json:

json
{  "mcpServers": {    "defuddle-fetch": {      "command": "node",      "args": [        "/path/to/clone/defuddle-fetch-mcp-server/dist/index.js"      ]    }  }}

Releases

Versions follow the semantic versioning spec.

To release:

  1. Use npm version <major | minor | patch> to bump the version
  2. Run git push --follow-tags to push with tags
  3. Wait for GitHub Actions to publish to the NPM registry.

來源:README.md,提交 08b5f96

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.4最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分