Wayback Machine Snapshots

Wayback Machine capture history for URLs and domains: dates, status, changes, archived text.

Documentation

Wayback Machine Snapshots MCP Server

Glama score MCP Registry npm version npm downloads license

An MCP server for the Mamba Labs Wayback Machine Snapshots actor on Apify. Wayback Machine capture history as rows.

What's Inside

What it does

Takes web addresses or domains and returns one row per Wayback Machine capture from the archive's capture index, with the archived page text when asked.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-wayback-machine-snapshots": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-wayback-machine-snapshots"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The list_wayback_snapshots tool appears.

Prerequisites

Example prompts

  • "When did the Stripe pricing page change in 2019, and what did it say?"
  • "List the pages archived on linear.app, one capture each."

Tool

list_wayback_snapshots. One tool. Example arguments:

{
  "urls": [
    "https://stripe.com/pricing"
  ],
  "collapse": "changes",
  "only_successful": true,
  "max_snapshots_per_url": 10
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

InputTypeRequiredDescription
urlsarraynoWeb addresses (https://stripe.com/pricing) or domains (stripe.com). Up to 10,000 captures each. Clay: put the column inside a one item list.
match_typestringnoexact (default): this one address. prefix: every address that starts with it, for example stripe.com/docs. host: every address on this host. domain: this host and every subdomain. Host and domain searches of very large sites can time out in the archive's index.
date_fromstringnoOptional. Earliest capture, as a year, month, or date: 2019, 2019-06, or 2019-06-15.
date_tostringnoOptional. Latest capture, as a year, month, or date.
closest_tostringnoOptional. Return the captures nearest this year, month, or date instead of a date range, nearest first. With this set, Max snapshots per address defaults to 1, From and To are not used, and with Read page text only HTTP 200 captures are kept.
collapsestringnonone (default): every capture. day, month, or year: the first capture in each. changes: skip a capture whose content matches the one before it.
only_successfulbooleannoyes: keep only captures the site answered with HTTP 200. no (default): every status, redirects and revisit records included.
only_htmlbooleannoyes: keep only text/html captures, which drops images, scripts, and files on prefix, host, and domain searches. no (default): every type.
newest_firstbooleannoyes: return the newest captures first, in one index request. no (default): oldest first.
max_snapshots_per_urlnumbernoCaptures to return for each address or domain, 1 to 10,000. Default 100, or 1 with Closest to date.
include_textbooleannoyes: also read each HTML capture's archived page for its title, description, visible text, and word count, billed as a snapshot with text. Captures that are not HTML 200 pages are billed as a plain snapshot. no (default): index rows only.
text_max_charsnumbernoWith Read page text: characters of page text to keep per capture, 200 to 50,000. Default 5,000.
max_charge_usdnumbernoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
snapshot-row, one capture from the index$0.0043$0.004085$0.00387$0.003655
snapshot-text-row, one capture with its page text$0.008$0.0076$0.0072$0.0068
apify-actor-start, per run start$0.005$0.005$0.005$0.005

Repeats, summaries, refused requests, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/wayback-machine-snapshots

License

MIT. See LICENSE.