Skip to main content
Glama
jasval

remove-paywall-mcp

by jasval

remove-paywall-mcp

MCP server that removes article paywalls by searching internet archives. Give it a URL, get back the article text.

How it works

  1. You give it a paywalled article URL

  2. It searches internet archives (Wayback Machine, archive.is, Google Cache) for an archived copy — archives don't have paywalls because they were crawled without login gates

  3. It extracts the article body with readability-lxml, stripping navigation, ads, and sidebar cruft

  4. It returns clean text with the title and snapshot URL

It also learns from every attempt — success rates per domain per archive source are tracked in a local SQLite database, and archive search order is re-ranked automatically.

Related MCP server: mcp-server-wayback

Install

# zero-install (recommended — works everywhere uvx is available)
uvx remove-paywall-mcp

# from PyPI
pip install remove-paywall-mcp

# from source
pip install git+https://github.com/jasval/remove-paywall-mcp.git

# Docker
docker run -i --rm remove-paywall-mcp
docker compose up -d  # HTTP mode on port 8000

Platform configs

Once installed, add this to your MCP client config:

OpenCode

{
  "mcp": {
    "remove-paywall": {
      "type": "local",
      "command": ["uvx", "remove-paywall-mcp"],
      "enabled": true
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "remove-paywall": {
      "command": "uvx",
      "args": ["remove-paywall-mcp"]
    }
  }
}

LiteLLM

mcp_tools:
  remove_paywall:
    type: "stdio"
    command: "uvx"
    args: ["remove-paywall-mcp"]

Docker (any client)

{"command": "docker", "args": ["run", "-i", "--rm", "remove-paywall-mcp"]}

Tools

remove_paywall

Main tool. Removes a paywall from an article URL and returns clean article text.

Parameter

Type

Description

url

string

The paywalled article URL

search_archives

Search all archive sources for snapshots without extracting content. Useful to see what's available.

Parameter

Type

Description

url

string

The article URL to search for

get_from_archive

Fetch from a specific archive source.

Parameter

Type

Description

url

string

The article URL

source

string

wayback, archive_is, or memento

domain_info

Look up a domain in the knowledge base — paywall status, notes, and per-archive success rates.

Parameter

Type

Description

domain

string

Domain name (e.g. nytimes.com)

add_domain

Register a domain in the knowledge base. Mark paywalled domains so archives are searched first, or non-paywalled domains so the live page is fetched directly.

Parameter

Type

Description

domain

string

Domain name

has_paywall

boolean

true if the site has a paywall

notes

string?

Optional description

Domain knowledge base

Seeded with 30 well-known paywalled domains (NYT, WSJ, Bloomberg, Medium, etc.), stored in SQLite at ~/.remove-paywall-mcp/domains.db. Tracks every archive success/failure per domain and re-ranks archive search order automatically — domains where archive.is consistently fails won't waste time on it.

Env vars

Variable

Default

Description

MCP_TRANSPORT

stdio

stdio or streamable-http

MCP_HOST

0.0.0.0

Bind address (HTTP mode)

MCP_PORT

8000

Port (HTTP mode)

MCP_DB_DIR

~/.remove-paywall-mcp

Database directory

Archive sources

Source

Priority

Notes

Wayback Machine

1

CDX API, newest-first with dedup and HTML-only filtering

archive.is mirrors

2

Tries newest/oldest across archive.is, archive.ph, archive.md

Memento Time Travel

3

Aggregates ~20 archive APIs including national libraries

Priority is dynamically re-ranked per domain based on historical success rates recorded in the knowledge base.

Architecture

MCP client (Claude/OpenCode/LiteLLM)
       │  stdio or HTTP
       ▼
┌─────────────────┐
│    server.py     │  MCPServer with 5 tools
│  (.tool decorator)│
└────────┬────────┘
         │
    ┌────┴────┐
    ▼         ▼
┌────────┐ ┌──────────┐
│archives│ │ extractors│
│  .py   │ │   .py     │
│        │ │           │
│ wayback│ │readability│
│ archive│ │Beautiful  │
│ .is    │ │Soup       │
│memento │ │           │
└───┬────┘ └──────────┘
    │
    ▼
┌──────────────┐
│domain_store  │
│   .py        │
│              │
│ SQLite knows │
│ which domains│
│ have paywalls│
│ and which    │
│ archives work│
│ best (Laplace│
│ smoothed)    │
└──────────────┘

License

MIT

A
license - permissive license
-
quality - not tested
B
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
    -
    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
    A
    quality
    A
    maintenance
    MCP server for the Internet Archive's Wayback Machine. Search archived snapshots, extract page text from a specific date, track how a site has changed over time, check if broken links are recoverable, and perform research across Internet Archive collections.
    6
    3
    MIT
  • A
    license
    -
    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.
    17
    MIT

View all related MCP servers

Related MCP Connectors

  • Free remote MCP server for fetching public web pages through a rotating proxy pool.

  • MCP server for Altmetric APIs - track research attention across news, policy, social media, and more

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

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/jasval/remove-paywall-mcp'

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