Skip to main content
Glama
Wayback MCP Server

Wayback MCP Server

Wayback MCP Server

MCP server for the Internet Archive's Wayback Machine. Enables AI assistants like Claude to analyze historical webpage snapshots for SEO analysis and content change tracking.

License: MIT

Features

  • Archive Availability Check - Verify if URLs are archived (with automatic www/non-www variant checking)

  • Snapshot Listing - Browse all archived versions with filtering

  • Content Extraction - Fetch snapshots with SEO metadata extraction

  • Snapshot Comparison - Compare two versions to identify changes

  • Bulk Operations - Check multiple URLs efficiently

  • Changes Timeline - Visualize content evolution over time

  • SEO Impact Analysis - Score changes for SEO impact

  • Site-Wide URL Discovery - Get all archived URLs for a domain

Related MCP server: MCP Wayback Machine Server

Installation

If you're using OpenClaw, the Wayback skill is available out of the box:

# The skill is included in the workspace
# Just use it - no installation needed!

Example commands:

# Check if a URL is archived
node ~/.openclaw/workspace/skills/wayback/scripts/wayback.js check "https://example.com"

# List snapshots
node ~/.openclaw/workspace/skills/wayback/scripts/wayback.js snapshots "https://example.com" --limit 10

# Compare two points in time
node ~/.openclaw/workspace/skills/wayback/scripts/wayback.js compare "https://example.com" \
  --from 20230101000000 --to 20231231000000

Option 2: Claude Desktop (MCP Server)

Add to your Claude Desktop configuration:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "wayback": {
      "command": "node",
      "args": ["/path/to/wayback-mcp-server/dist/index.js"]
    }
  }
}

Option 3: Run from Source

git clone https://github.com/seo-bandwagon/wayback-mcp-server.git
cd wayback-mcp-server
npm install
npm run build
npm start

Available Tools

Tool

Description

wayback_check_availability

Check if a URL is archived

wayback_get_snapshots

List all snapshots with filtering

wayback_get_snapshot_content

Fetch content with metadata extraction

wayback_compare_snapshots

Compare two snapshots

wayback_bulk_check

Check multiple URLs (max 50)

wayback_get_changes_timeline

Timeline of content changes

wayback_analyze_changes

SEO-focused change analysis

wayback_get_site_urls

Get all archived URLs for a domain

Example Usage

With Claude/OpenClaw

Once configured, you can ask:

  • "Check if example.com is in the Wayback Machine"

  • "Show me all snapshots of example.com from 2023"

  • "Compare the homepage from January vs December 2023"

  • "What SEO changes happened on this page between these dates?"

  • "What URLs have been archived for example.com?"

  • "Find all archived blog posts on moz.com"

CLI Examples

# Check availability
node wayback.js check "https://seobandwagon.com"
# Output: available: true, timestamp: 20251209071137

# Get snapshots from 2023
node wayback.js snapshots "https://moz.com" --year 2023 --limit 10

# Get content with SEO metadata
node wayback.js content "https://example.com" --latest

# Compare two versions
node wayback.js compare "https://example.com" --from 20230101000000 --to 20231201000000

# Get all archived URLs for a domain
node wayback.js urls "example.com" --limit 50

# Bulk check multiple URLs
node wayback.js bulk-check "https://a.com" "https://b.com" "https://c.com"

Use Cases

SEO Analysis

  • Track competitor changes over time

  • Analyze title/description evolution

  • Find removed content

  • Monitor redirect implementations

Content Research

  • Find original content before redesigns

  • Verify historical claims

  • Track pricing changes

  • Research topic evolution

Technical SEO

  • Diagnose traffic drops (before/after comparison)

  • Find what content used to exist at broken URLs

  • Analyze site structure changes

Configuration

Environment variables (all optional):

Variable

Default

Description

WAYBACK_CACHE_PATH

~/.wayback-mcp/cache.json

Cache file location

WAYBACK_CACHE_TTL

3600

Default cache TTL (seconds)

WAYBACK_LOG_LEVEL

info

Log level: debug, info, warn, error

Rate Limiting

The server implements conservative rate limiting to respect archive.org:

  • Availability checks: 15/minute

  • CDX queries: 10/minute

  • Content fetches: 5/minute

Requirements

  • Node.js >= 18.0.0

License

MIT - see LICENSE

Contributing

Contributions welcome! Please read CONTRIBUTING.md first.


Built by SEO Bandwagon | Data provided by the Internet Archive

Available Tools

10 tools
wayback_analyze_changesB

Analyze what changed on a page between two dates. Automatically finds the closest snapshots and provides detailed SEO-focused analysis of the changes.

Inputs: url (required), afterDate (required), beforeDate (required), analysisDepth.

wayback_bulk_checkB

Check multiple URLs for Wayback Machine availability in a single operation. Useful for auditing site archive coverage.

Inputs: urls (required), timestamp, checkWwwVariant, includeSnapshotCount.

wayback_check_availabilityB

Check if a URL is archived in the Wayback Machine and get the closest available snapshot. Optionally specify a target timestamp to find the nearest archive to that date.

Inputs: url (required), timestamp, checkWwwVariant.

wayback_compare_snapshotsB

Compare two Wayback Machine snapshots to identify changes between them. Highlights differences in title, meta description, headings, content, and structure.

Inputs: url (required), timestamp1 (required), timestamp2 (required), showDiff, +1 more.

wayback_get_changes_timelineB

Get a timeline of content changes for a URL. Identifies when significant changes occurred by comparing content digests across snapshots.

Inputs: url (required), to, from, granularity, +1 more.

wayback_get_site_urlsB

Get all unique URLs archived for a domain or URL prefix. Useful for discovering site structure, finding removed pages, and conducting site-wide SEO audits.

Inputs: url (required), to, from, limit, +6 more.

wayback_get_snapshot_contentA

Fetch the content of a specific Wayback Machine snapshot. Returns the HTML content along with extracted metadata like title, meta description, and headings.

Inputs: url (required), timestamp (required), includeRawHtml, extractMetadata, +1 more.

wayback_get_snapshotsC

Get a list of all archived snapshots for a URL with filtering by date range, status code, and deduplication options. Uses the CDX Server API for comprehensive results.

Inputs: url (required), to, from, limit, +3 more.

wayback_research_domainB

Systematic domain research workflow. Fetches archived URLs, sorts by oldest first (client-side), extracts content/metadata, finds external domains to research next, and flags findings (announcements, jobs, partnerships). Note: CDX API returns URLs in alphabetical order; sorting by date is done after fetching. For large domains, use pathPrefix to narrow scope.

Inputs: domain (required), limit, fromYear, pathPrefix, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools target clearly distinct operations (availability check, snapshot listing, content fetch, link extraction, site URL enumeration). There is a cluster of three change-related tools (compare_snapshots, get_changes_timeline, analyze_changes) plus a composite research_domain that overlaps with get_site_urls and extract_links, but the descriptions articulate the differences (two fixed snapshots vs. date range vs. digest timeline vs. full workflow).

    Naming Consistency5/5

    Every tool uses the wayback_ prefix followed by a consistent snake_case verb_noun phrase (check_availability, get_snapshots, extract_links, analyze_changes). No mixed conventions or ambiguous verbs anywhere in the set.

    Tool Count5/5

    Ten tools is well within the ideal range and each one earns its place by covering a distinct analysis step. Even the composite research_domain is justified as an explicit convenience workflow rather than filler.

    Completeness4/5

    The surface covers the full read-only archive lifecycle: availability, discovery (site URLs, links), retrieval of content, and historical comparison/analysis. Minor gaps exist—no way to submit a live page to the archive (Save Page Now), capture screenshots, or search snapshot text—but these are outside the core analysis workflow and easy to work around.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides 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.
      3
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      Creative Commons Attribution Non Commercial Share Alike 4.0 International
    • A
      license
      A
      quality
      D
      maintenance
      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.
      6
      3 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables agents to retrieve the closest archived snapshot of a URL with extracted page text, and to query the complete capture history for a URL, prefix, host, or domain, with fallback to Common Crawl.
      1
      MIT