Mozilla Readability Parser MCP Server
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
Converts clean HTML from web pages into well-formatted Markdown, optimizing content for LLM processing with consistent formatting.
Leverages Mozilla's Readability algorithm to extract and transform webpage content into clean, LLM-optimized Markdown by removing ads, navigation, footers and other non-essential content.
MCP Server Readability Parser (Python / FastMCP)
Credits/Reference
This project is based on the original server-moz-readability implementation of emzimmer. (For the original README documentation, please refer to the original README.md.)
This Python implementation adapts the original concept to run as python based MCP using FastMCP
Mozilla Readability Parser MCP Server
A Python implementation of the Model Context Protocol (MCP) server that extracts and transforms webpage content into clean, LLM-optimized Markdown.
Table of Contents
Features
- Removes ads, navigation, footers and other non-essential content
- Converts clean HTML into well-formatted Markdown
- Handles errors gracefully
- Optimized for LLM processing
- Lightweight and fast
Why Not Just Fetch?
Unlike simple fetch requests, this server:
- Extracts only relevant content using Readability algorithm
- Eliminates noise like ads, popups, and navigation menus
- Reduces token usage by removing unnecessary HTML/CSS
- Provides consistent Markdown formatting for better LLM processing
- Handles complex web pages with dynamic content
Installation
- Clone the repository:
- Create and activate a virtual environment:
- Install dependencies:
Quick Start
- Start the server:
- Example request:
Tool Reference
extract_content
Fetches and transforms webpage content into clean Markdown.
Arguments:
Returns:
MCP Server Configuration
To configure the MCP server, add the following to your MCP settings file:
The server can then be started using the MCP protocol and accessed via the parse
tool.
Dependencies
- readability-lxml - Content extraction
- html2text - HTML to Markdown conversion
- beautifulsoup4 - DOM parsing
- requests - HTTP requests
License
MIT License - See LICENSE for details.
This server cannot be installed
A Python implementation of an MCP server that extracts webpage content, removes ads and non-essential elements, and transforms it into clean, LLM-optimized Markdown.