Web2MD extracts and transforms cluttered web pages into structured, LLM-ready Markdown without requiring an external API key or account. By stripping away ads, navigation menus, footers, and cookie banners, it maximizes context window efficiency while retaining essential content structure such as tables, code blocks, and headings. Built with both a standalone offline conversion library and an MCP server, it equips AI agents in tools like Claude Code and Cursor to seamlessly read web pages, perform batch URL processing, and even bridge to authenticated browser sessions to bypass paywalls and login screens.
主要功能
01Provides token estimation, context window optimization, and chunking helpers for RAG ingestion
021 GitHub stars
03Bridges to authenticated Chrome sessions to convert pages behind logins or heavy JavaScript
04Preserves structural Markdown formatting including headings, lists, tables, and fenced code blocks
05Extracts core article content while removing ads, navigation elements, and cookie banners
06Exposes 12 MCP tools for AI agents, including URL conversion, batch parsing, and library search
使用案例
01Cleaning and chunking web articles for ingestion into RAG pipelines and vector databases
02Enabling AI coding assistants to fetch and parse external technical documentation without token waste
03Extracting authenticated web pages through active browser sessions for AI agent analysis