mcp-archive
Provides tools to archive URLs, retrieve clean readable text from Wayback Machine snapshots, list snapshots, search Internet Archive items, and compare snapshots, designed to avoid context window blowup by returning stripped text.
README
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+.
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)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.