Defuddle Fetch
Fetch content from the web, cleaned up nicely for LLMs (using Defuddle).
Que pouvez-vous faire avec Defuddle Fetch ?
- 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_indexandmax_lengthparameters - Rich Metadata: Extracts title, author, publication date, word count, and more
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
defuddle-fetch-mcp-serverclaude mcp add defuddle-fetch -- npx -y defuddle-fetch-mcp-server@1.0.4
{
"mcpServers": {
"defuddle-fetch": {
"command": "npx",
"args": [
"-y",
"defuddle-fetch-mcp-server@1.0.4"
]
}
}
}
https://github.com/domdomegg/defuddle-fetch-mcp-server/releases/download/v1.0.4/defuddle-fetch-mcp-server.mcpbDocumentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
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 MCP | Defuddle 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
[](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_indexandmax_lengthparameters - 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 fetchmax_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:
- Install Git and Node.js
- Clone the repository
- Install dependencies with
npm install - Run
npm run testto run tests - 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:
{
"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:
- Use
npm version <major | minor | patch>to bump the version - Run
git push --follow-tagsto push with tags - Wait for GitHub Actions to publish to the NPM registry.
Questions fréquentes
Qu'est-ce que Defuddle Fetch ?
Fetch content from the web, cleaned up nicely for LLMs (using Defuddle).
Comment installer Defuddle Fetch ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add defuddle-fetch -- npx -y defuddle-fetch-mcp-server@1.0.4. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Defuddle Fetch ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
Defuddle Fetch est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Defuddle Fetch ?
Il est publié par domdomegg. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.