mcp-archive
Provides tools to interact with the Internet Archive's Wayback Machine, including archiving URLs, retrieving archived pages as clean text, listing snapshots, searching items, and comparing snapshots.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-archive Get readable text of https://example.com archived in 2020"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-archive
6 Wayback Machine + Internet Archive tools for Claude. The one that doesn't blow your context window. Free, MIT.
Existing Wayback MCPs either dump raw HTML (blowing up the LLM context window) or are abandoned forks. mcp-archive returns clean readable text — stripped HTML, scripts, nav, Wayback toolbar — so you can actually fit archived pages in a Claude conversation.
Install
{
"mcpServers": {
"archive": {
"command": "npx",
"args": ["-y", "@dpm-tools/mcp-archive"]
}
}
}Requires Node.js 22.18+.
Related MCP server: MCP Wayback Machine Server
Tools (6)
archive_url— Push a URL to Wayback right now. Returns snapshot URL.get_archived— Get nearest Wayback snapshot for a URL/date.list_snapshots— List Wayback snapshots in a date range (CDX API).fetch_archived_text⭐ — Fetches archived page and returns CLEAN READABLE TEXT (strips HTML, scripts, nav, toolbar). The key differentiator.search_archive_items— Search Internet Archive items (books, audio, video, software).compare_snapshots— Compare two snapshots of the same URL by extracted text.
Example prompts
"Archive this URL right now: https://example.com/important-page"
"What did news.ycombinator.com look like on 2020-01-01?"
"List all archived versions of openai.com from 2023."
"Fetch the readable text of https://example.com archived in 2024."
"Search the Internet Archive for 'public domain javascript books'."
"Compare https://example.com between 2020 and 2024 — what changed?"
See examples/prompts.md for more.
Why this exists
Researchers, journalists, and link-rot fighters need Wayback access. Existing MCPs in this space:
5+ personal forks, mostly abandoned
Most return raw HTML — instantly blows up Claude's context window
None offer text extraction + truncation
mcp-archive solves it: regex-only HTML→text extraction (no jsdom/cheerio deps), Wayback toolbar stripping, configurable max_chars. The id_ flag is used on snapshot URLs to fetch raw content without the toolbar at the source.
Zero API keys. Custom User-Agent. 200ms inter-call sleep on rate-limited operations to respect archive.org TOS.
API sources (all free, all keyless)
Wayback Machine availability API (
archive.org/wayback/available)Wayback CDX search (
web.archive.org/cdx/search/cdx)Wayback save API (
web.archive.org/save/)Internet Archive advanced search (
archive.org/advancedsearch.php)
Sister servers from dpm
@dpm-tools/mcp-devkit— 15 dev utilities (UUID, hash, JWT, JSON, cron, color)@dpm-tools/mcp-public-data— sun, moon, holidays, geocoding (keyless)@dpm-tools/mcp-diff— diff, patch, 3-way merge
License
MIT © dpm (digital product mill)
Available Tools
6 toolsarchive_urlA
Submit a URL to be archived right now by the Wayback Machine. Returns the snapshot URL once captured.
Inputs: url (required).
compare_snapshotsA
Compare two Wayback snapshots of the same URL by extracted text. Returns added/removed line counts and sample changes.
Inputs: url (required), date_a (required), date_b (required), max_chars.
fetch_archived_textA
Fetch an archived snapshot and return CLEAN READABLE TEXT (strips HTML/scripts/nav/Wayback toolbar). Designed to not blow up the LLM context window.
Inputs: url (required), date, max_chars.
get_archivedA
Get the closest Wayback snapshot for a URL near a given date (defaults to most recent).
Inputs: url (required), date.
list_snapshotsB
List Wayback snapshots for a URL, optionally filtered by date range.
Inputs: url (required), from, to, limit.
search_archive_itemsC
Search Internet Archive items (books, audio, video, software, etc.).
Inputs: query (required), mediatype, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: submitting URLs, retrieving single snapshots, listing multiple snapshots, comparing snapshots, fetching text from a snapshot, and searching non-Wayback items. No overlap.
All tool names follow a consistent verb_noun pattern (e.g., archive_url, list_snapshots, fetch_archived_text), making the API predictable.
6 tools cover the core operations of web archiving and searching the Internet Archive catalog, neither too few nor too many.
The toolset provides a complete lifecycle for Wayback snapshots (submit, retrieve, list, compare, get text) and adds search for other archive types, with no obvious gaps.
Maintenance
Related MCP Connectors
Search the Wayback Machine and IA library (40M+ items), fetch snapshots, item metadata, and text.
Web tools for AI agents: URL to clean Markdown, site crawl, screenshots, PDF/Office to text, OCR.
Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.
Agent tools: clean web screenshots/PDFs, PDF & image OCR to Markdown, PageSpeed audits, email checks
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides access to the Internet Archive Wayback Machine to list snapshots, fetch archived web pages, and search archive.org items. Enables retrieval of historical website content and metadata through natural language queries.35MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the Internet Archive's Wayback Machine to save web pages, retrieve archived versions, search historical snapshots, and check archive statistics without requiring API keys.615 npmCreative Commons Attribution Non Commercial Share Alike 4.0 International
- AlicenseNot gradedqualityDmaintenanceProvides eight tools for web search, content extraction, screenshots, PDFs, JavaScript execution, crawling, and Wayback Machine snapshots and archiving.13 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools to query the Internet Archive, including enumerating historical captures, listing revisions, reading snapshots as clean text, diffing captures, and searching archived items.57 npmMIT