Skip to main content
Glama
hainguyen99-cdm

webpage-readability-mcp

webpage-readability-mcp

Read-only MCP server that fetches a single URL and extracts its main content -- the article/post text, stripped of navigation, ads, sidebars, and boilerplate -- using trafilatura. This is the "readability mode" pattern (Firefox Reader View, Safari Reader, the original Arc90 Readability bookmarklet) as an MCP tool.

Tools

Tool

Description

extract_content(url, format="markdown")

Fetches url (following redirects) and extracts its main article content. format is "markdown" (default, preserves headings/lists/links) or "text" (plain prose, no markdown syntax). Returns {"url", "title", "content", "format"}.

Related MCP server: Scrapi MCP Server

Setup

cd webpage-readability-mcp
python -m venv .venv
.venv/Scripts/activate   # Windows; use `source .venv/bin/activate` on macOS/Linux
pip install -r requirements-dev.txt

Run the tests

python -m pytest -q

Register with Claude Code

claude mcp add webpage-readability -- E:/repo/unt/mcp/webpage-readability-mcp/.venv/Scripts/python.exe E:/repo/unt/mcp/webpage-readability-mcp/server.py

Or add it manually to your MCP config (e.g. .claude/settings.json or the global Claude Code MCP config):

{
  "mcpServers": {
    "webpage-readability": {
      "command": "E:/repo/unt/mcp/webpage-readability-mcp/.venv/Scripts/python.exe",
      "args": ["E:/repo/unt/mcp/webpage-readability-mcp/server.py"]
    }
  }
}

Limitations

  • No JavaScript rendering -- this is a plain HTTP GET + HTML parse, not a headless browser. A JS-heavy SPA whose content is injected client-side will extract poorly or empty.

  • No authentication, cookies, or paywall handling -- every fetch is anonymous; a paywalled or login-gated page returns whatever the anonymous response contains.

  • Single-fetch-per-call only -- exactly one HTTP request per call, to exactly the URL given. No pagination-following, no link-following, no caching.

  • No PDF or other non-HTML content extraction -- a URL that doesn't resolve to an HTML/XHTML content-type returns an error rather than being silently mis-parsed.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    An MCP server that extracts clean Markdown or HTML content from web pages by stripping away ads, navigation, and clutter. It offers tools to process URLs or raw HTML, returning structured metadata alongside the main article content.
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server for intelligent web content extraction from JavaScript-heavy sites using single-file and trafilatura. It enables AI agents to fetch, render, and paginate through clean article content and metadata.
    20
    MIT