Mdnew
Fetch clean, token-efficient Markdown from any URL using markdown.new, optimized for deep analysis with JS support and stripped of boilerplate content.
Latest: v1.0.0
initial release
Full description
Fetch clean, agent-optimized Markdown from any URL using the markdown.new service. Use when web_fetch or browser fails to provide clean content, or when you need a token-efficient version of a web page for deep analysis.
mdnew
Fetch clean Markdown from any URL using the markdown.new three-tier conversion pipeline (Header Negotiation -> Workers AI -> Browser Rendering).
Usage
Run the script with a target URL:
python3 scripts/mdnew.py <url>
Why use mdnew?
- Token Efficiency: Reduces content size by up to 80% compared to raw HTML.
- Clean Data: Strips boilerplate, ads, and nav menus, leaving only core content.
- JS Execution: Automatically handles JS-heavy pages via Cloudflare Browser Rendering fallback.
- Agent-First: Includes
x-markdown-tokenstracking to help manage context windows.
