Wayback Machine MCP Server

MCP server and CLI tool for interacting with the Wayback Machine without API keys

Local serverstdioPython

What is the Wayback Machine MCP server?

Connect Wayback Machine to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server and CLI tool for interacting with the Wayback Machine without API keys. The wayback machine mcp server is what makes that connection.

What the server does

Optional credentials (anonymous access works, but authenticated requests get higher SPN2 rate limits):

Installation

mcp-wayback-machine on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • save_url — The save_url tool exposed by this server
  • get_archived_url — The get_archived_url tool exposed by this server
  • search_archives — The search_archives tool exposed by this server
  • check_archive_status — Check archival statistics for a URL — capture counts, yearly breakdowns, and first/last capture dates
  • list_screenshots — The list_screenshots tool exposed by this server
  • compare_snapshots — Compare two archived snapshots of a URL. Fetches the raw content of both and provides a visual diff URL
  • clear_cache — Clear all cached API responses. Use when fresh data is needed or after saving a new URL

Credentials and setup notes

Configuration is passed through the environment: WAYBACK_ACCESS_KEY, WAYBACK_SECRET_KEY, MCP_AUTH_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Wayback Machine's toolset — save_url, get_archived_url, search_archives and 4 more — is a fair guide to whether it matches your workflow. It is maintained by Mearman; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
save_urlThe save_url tool exposed by this server.
get_archived_urlThe get_archived_url tool exposed by this server.
search_archivesThe search_archives tool exposed by this server.
check_archive_statusCheck archival statistics for a URL — capture counts, yearly breakdowns, and first/last capture dates.
list_screenshotsThe list_screenshots tool exposed by this server.
compare_snapshotsCompare two archived snapshots of a URL. Fetches the raw content of both and provides a visual diff URL.
clear_cacheClear all cached API responses. Use when fresh data is needed or after saving a new URL.

How to install the Wayback Machine MCP server

{
  "mcpServers": {
    "wayback-machine": {
      "command": "npx",
      "args": ["-y", "mcp-wayback-machine"],
      "env": {
        "WAYBACK_ACCESS_KEY": "your-value",
        "WAYBACK_SECRET_KEY": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
WAYBACK_ACCESS_KEYCredential the server authenticates with.Yes
WAYBACK_SECRET_KEYCredential the server authenticates with.Yes
MCP_AUTH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Wayback Machine to save url.
  • Use Wayback Machine to get archived url.
  • Use Wayback Machine to search archives.

Frequently asked questions

It connects Wayback Machine to MCP-compatible AI assistants such as Claude and Cursor, exposing 7 tools (save_url, get_archived_url, search_archives, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Wayback Machine directly.