๐ŸŒ spa-reader-mcp

Render JavaScript SPAs to LLM-ready Markdown

Traditional web scrapers fail on Single Page Applications. spa-reader-mcp launches a headless Chromium browser, waits for full rendering, and extracts clean Markdown using Mozilla Readability โ€” ready for LLM consumption.

๐ŸŽฏ SPA Rendering

Headless browser via Playwright handles complex JavaScript-driven layouts

๐Ÿงน Clean Output

Extracts article content with optional YAML frontmatter, ready for LLM processing

โšก Efficient

Singleton Chromium instance reuses across requests for low-overhead rendering

๐Ÿ”’ Secure

SSRF protection blocks private IPs, prevents selector injection attacks

๐Ÿ“ฆ Installation (npx)

npx spa-reader-mcp

No global install needed. Configure directly in your MCP client configuration.

๐Ÿ“‹ Requirements

Get Started