Utilizes Mozilla's Readability library (the same engine used in Firefox's Reader View) to extract meaningful content from web pages for conversion to Markdown
Converts clean HTML to high-quality Markdown with TurndownService, supporting both web scraping and direct conversion of local HTML files
Leverages Mozilla's Readability library to extract the main content from web pages while removing clutter and navigation elements
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Website Scraper MCP Serverscrape the latest blog post from example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Website Scraper
A command-line tool and MCP server for scraping websites and converting HTML to Markdown.
Features
Extracts meaningful content from web pages using Mozilla's Readability library (the same engine used in Firefox's Reader View)
Converts clean HTML to high-quality Markdown with TurndownService
Securely handles HTML by removing potentially harmful script tags
Works as both a command-line tool and an MCP server
Supports direct conversion of local HTML files to Markdown
Related MCP server: MCP Server Fetch Python
Installation
Usage
CLI Mode
MCP Server Mode
This tool can be used as a Model Context Protocol (MCP) server:
Code Structure
src/index.ts- Core functionality and MCP server implementationsrc/cli.ts- Command-line interface implementationsrc/data_processing.ts- HTML to Markdown conversion functionality
API
The tool exports the following functions:
License
ISC