Skip to main content
Glama

spa-reader-mcp

CI npm version

MCP server that renders JavaScript SPA pages and extracts Markdown via headless Chromium.

Traditional scrapers fail on SPAs because content is rendered client-side. This tool launches Playwright, waits for JS to finish, then extracts clean Markdown using Readability + Turndown.

Install

npx playwright install chromium

Claude Desktop

{
  "mcpServers": {
    "spa-reader": {
      "command": "npx",
      "args": ["-y", "spa-reader-mcp"]
    }
  }
}

Claude Code

claude mcp add spa-reader -- npx -y spa-reader-mcp

Related MCP server: crawl-mcp-server

Tools

spa_read

Render a page and extract content as Markdown.

Parameter

Type

Default

Description

url

string

URL to read (required)

waitForSelector

string

CSS selector to wait for

waitTimeout

number

30000

Timeout in ms

includeMetadata

boolean

true

Add YAML frontmatter

cookies

array

Cookies for auth

headers

object

Custom HTTP headers

spa_screenshot

Capture a PNG screenshot after JS rendering.

Parameter

Type

Default

Description

url

string

URL to capture (required)

waitForSelector

string

CSS selector to wait for

waitTimeout

number

30000

Timeout in ms

width

number

1280

Viewport width

height

number

720

Viewport height

fullPage

boolean

false

Full page capture

cookies

array

Cookies for auth

headers

object

Custom HTTP headers

Security

  • SSRF protection: blocks private/loopback IPs

  • Only http: and https: schemes allowed

  • Selector injection prevention

  • Content capped at 100KB

Dev

pnpm install && pnpm build
pnpm test

License

MIT

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that retrieves web page content using Playwright headless browser, capable of extracting main content and converting to Markdown format.
    3
    12,189
    1,070
    MIT
  • F
    license
    -
    quality
    -
    maintenance
    An MCP server for web content extraction that converts HTML pages into clean, LLM-optimized Markdown using Mozilla's Readability. It supports batch processing, intelligent multi-page crawling, and configurable caching while respecting robots.txt standards.
    51
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that fetches web pages and extracts clean, AI-friendly Markdown content using Mozilla Readability. It provides secure web access for LLMs with built-in SSRF protection and automated content cleaning for improved context retrieval and summarization.
    1
    314
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that scrapes content from web pages, including JavaScript-heavy sites, and converts it into high-quality Markdown. It leverages Playwright for headless browser automation and Pypandoc for clean content conversion.
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Screenshot and HTML render MCP server for AI agents

  • Zenrows MCP server — Fetch, Extract, Batch, and Browser Sessions for AI coding assistants

  • SEO MCP server: crawl your site, find AI-visibility gaps, and ship the fix from your coding agent.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/XXO47OXX/spa-reader-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server