Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Wayback Machine
W
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:07:31 AM

Wayback Machine

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "wayback-machine": {
      "command": "npx",
      "args": [
        "-y",
        "wayback-machine"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

MCP Wayback Machine Server

npm version License: CC BY-NC-SA 4.0 GitHub Workflow Status

MCP server and CLI tool for interacting with the Internet Archive's Wayback Machine. Supports full CDX search, snapshot content retrieval, screenshot listing, snapshot comparison, and optional authentication for higher SPN2 rate limits.

Stack: TypeScript Β· Node.js 22+ Β· ES Modules Β· pnpm Β· Turbo Β· Zod

Getting started

Requires Node.js 22+ and pnpm.

bash
pnpm install

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

server.ts
export WAYBACK_ACCESS_KEY="your-access-key"
export WAYBACK_SECRET_KEY="your-secret-key"

Obtain credentials at archive.org/account/s3.php.

Build, test, and lint

bash
pnpm validate          # typecheck + lint + build + test + untested-files check (the full CI gate)
pnpm check             # typecheck + lint + build only
pnpm build             # compile TypeScript to dist/
pnpm test              # run unit and integration tests
pnpm test:coverage     # run tests with coverage (80% line/branch/function threshold)
pnpm lint              # lint with ESLint
pnpm lint:fix          # auto-fix lint issues

To run a single test file:

bash
node --test tests/tools/save.unit.test.ts

End-to-end tests hit the live Wayback Machine API and are opt-in:

bash
pnpm test:e2e          # sets WAYBACK_LIVE_TESTS=1 internally via turbo

pnpm validate is the gate that must pass before a release. prepublishOnly runs it automatically.

Architecture

src/bin.ts is the entry point. It detects whether it is invoked as a CLI or loaded as an MCP server and routes accordingly.

Code
src/
  bin.ts          β€” entry point; dispatches to CLI or MCP server
  cli.ts          β€” Commander-based CLI implementation
  server.ts       β€” MCP server wiring (ListTools + CallTool handlers)
  contexts.ts     β€” shared context (rate limiter, cache, credentials)
  schemas.ts      β€” Zod schemas for all tool inputs; single source of truth
  tools/
    save.ts       β€” save_url tool (SPN2 API)
    retrieve.ts   β€” get_archived_url tool
    search.ts     β€” search_archives tool (CDX API)
    status.ts     β€” check_archive_status tool (sparkline API)
    screenshots.ts β€” list_screenshots tool
    compare.ts    β€” compare_snapshots tool
    cache.ts      β€” clear_cache tool
    context.ts    β€” injects shared context into tool handlers
  utils/
    http.ts       β€” fetch wrapper with rate limiting and Retry-After handling
    cache.ts      β€” in-memory + disk cache with per-endpoint TTLs
    rate-limit.ts β€” 15 req/min token bucket
    validation.ts β€” shared Zod validation helpers

Each tool module exports a schema (consumed by ListToolsRequestSchema) and an execution function (consumed by CallToolRequestSchema). New tools need both registrations in server.ts.

Caching TTLs are intentional β€” do not normalise them:

ResourceTTLReason
Snapshot content24 hImmutable once captured
Availability, CDX, sparkline1 hGrows but never mutates
Save operations30 minIdempotent per URL
Save status polling30 sChanges during active jobs

Conventions

  • TypeScript strict mode with noUncheckedIndexedAccess and exactOptionalPropertyTypes β€” no any, no as assertions.
  • ES Modules throughout β€” "type": "module" in package.json. Always use .ts extensions in relative imports (rewritten to .js at build time via rewriteRelativeImportExtensions).
  • Zod is the single source of truth for all tool input shapes. schemas.ts defines them; zodToJsonSchema derives the MCP-compatible JSON Schema.
  • Prettier formats all TypeScript: 4-space indent, double quotes, trailing commas (es5), 80-char print width, LF line endings.
  • Conventional commits are enforced by commitlint. Allowed scopes: retrieve, save, search, status, fetch, http, validation, cli, build, release, ci, deps. Commit messages must use British English.
  • Test colocation: unit tests in tests/tools/*.unit.test.ts and tests/utils/*.unit.test.ts; integration tests in tests/*.integration.test.ts. Use the Node.js built-in test runner β€” no Jest or Vitest.
  • erasableSyntaxOnly: true β€” no TypeScript syntax that cannot be stripped without transformation (no enum, no decorators, no namespace).

Gotchas

  • pnpm validate before pushing. CI runs check + test + coverage + untested-files. pnpm validate replicates this locally via Turbo.
  • Turbo caches aggressively. If you change a config file that Turbo doesn't track as an input, cached task results may be stale. Clear with pnpm turbo run <task> --force if results look wrong.
  • WAYBACK_LIVE_TESTS must be set to run test:e2e. The Turbo config passes it through via globalPassThroughEnv; don't set it in .env files β€” export it in your shell before running.
  • Coverage excludes src/contexts.ts, src/cli.ts, src/bin.ts, and src/tools/context.ts β€” these are wiring/entry-point files. The 80% threshold applies to the remaining surface.
  • Rate limiting is 15 req/min across all Wayback Machine API calls, with automatic Retry-After handling for 429 responses. Tests that mock HTTP must respect this β€” don't call real endpoints from unit tests.
  • noUncheckedIndexedAccess means Record<string, T> lookups return T | undefined. Never fall back to ?? default β€” narrow explicitly or restructure to a concrete type.
  • Node version is pinned in .tool-versions. CI tests against Node 22, 24, and 26. Do not use Node APIs that aren't available in 22.

Contributing

Commits follow Conventional Commits and are lint-checked by commitlint on PRs. PRs target main; CI must pass (check, test, coverage). Releases are fully automated via semantic-release on push to main.

After release, alias packages (wayback-machine-mcp, mcp-internet-archive, internet-archive-mcp, @mearman/mcp-wayback-machine) are published automatically by CI β€” do not publish these manually.

Installation

As an MCP server

CLI shorthand

Claude Code (MCP):

Terminal
claude mcp add wayback-machine -- npx -y mcp-wayback-machine

Claude Code (plugin marketplace):

bash
/plugin marketplace add https://github.com/Mearman/mcp-wayback-machine.git
/plugin install mcp-wayback-machine@mcp-wayback-machine

OpenAI Codex:

bash
codex mcp add wayback-machine -- npx -y mcp-wayback-machine

To include optional credentials:

Terminal
claude mcp add wayback-machine --env WAYBACK_ACCESS_KEY=xxx --env WAYBACK_SECRET_KEY=xxx -- npx -y mcp-wayback-machine

Manual configuration

Add to the appropriate config file:

config.json
{
  "wayback-machine": {
    "command": "npx",
    "args": ["-y", "mcp-wayback-machine"],
    "env": {
      "WAYBACK_ACCESS_KEY": "your-access-key",
      "WAYBACK_SECRET_KEY": "your-secret-key"
    }
  }
}
HarnessConfig fileConfig key
Claude Code.mcp.json (project) / ~/.claude.json (user)mcpServers
Codex~/.codex/config.toml[mcp_servers.wayback-machine]
Gemini CLI~/.gemini/settings.jsonmcpServers
Crush.crush.json / ~/.config/crush/crush.jsonmcp
Cline.cline/mcp.jsonmcpServers
Cursor.cursor/mcp.jsonmcpServers
Zed~/.config/zed/settings.jsoncontext_servers
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonmcpServers

The env block is optional β€” the server works anonymously without credentials.

As a CLI tool

Terminal
npx mcp-wayback-machine save https://example.com

Or install globally:

Terminal
npm install -g mcp-wayback-machine
wayback save https://example.com

As a Cloudflare Worker

Deploy the MCP server as a stateless Cloudflare Worker. Runs on the free tier with no paid bindings β€” all persistent state uses the Cache API which has no published daily limits.

bash
pnpm add -D wrangler
wrangler deploy

The Worker uses the SDK's StreamableHTTPServerTransport in stateless mode (no session IDs), so each request is independent and cold starts are handled gracefully.

Environment variables (set via wrangler secret put):

VariableRequiredPurpose
WAYBACK_ACCESS_KEYNoFallback IA S3 credentials for higher SPN2 rate limits
WAYBACK_SECRET_KEYNoFallback IA S3 credentials
MCP_AUTH_TOKENNoBearer token for client authentication

When MCP_AUTH_TOKEN is set, clients must send Authorization: Bearer <token>. When absent, the Worker accepts unauthenticated requests.

Per-request credentials. Clients can pass their own IA S3 credentials on each request via HTTP headers, overriding the server's environment variables:

Code
X-Archive-Access-Key: <your-access-key>
X-Archive-Secret-Key: <your-secret-key>

This lets multiple users share a single Worker deployment while each using their own credentials for higher SPN2 rate limits. When both headers are present, they take precedence over WAYBACK_ACCESS_KEY/WAYBACK_SECRET_KEY. When absent, the Worker falls back to its environment variables.

Worker-specific files are excluded from the main tsconfig.json and type-checked separately via tsconfig.worker.json (which adds @cloudflare/workers-types).

Architecture. The stdio and Worker deployments share the same tool logic through pluggable interfaces:

ComponentStdioWorker
CachingDiskCacheBackend (OS cache dir)CacheApiBackend (caches.open())
Rate limitingInMemoryRateLimiterCacheApiRateLimiter
AuthNoneStaticTokenAuthProvider (optional)
CredentialsEnvironment variablesRequest headers, then environment variables

Quick examples

Code
Archive https://example.com to the Wayback Machine
Find all archived snapshots of https://example.com from 2023
What's the earliest archived version of https://example.com?
Compare the oldest and newest snapshots of https://example.com
Check how many times https://example.com has been archived

Tools

save_url

Archive a URL to the Wayback Machine using the SPN2 API.

Parameters
ParameterRequiredDescription
urlYesThe URL to archive
captureScreenshotNoCapture a screenshot as a PNG image
captureOutlinksNoAlso archive up to 100 outlinked pages
ifNotArchivedWithinNoSkip if archived within timeframe, e.g. "30d"
jsBehaviorTimeoutNoRun JavaScript for N seconds before capturing (max 30)
forceGetNoUse simple HTTP GET instead of browser rendering
delayWbAvailabilityNoDelay indexing ~12 hours to reduce server load

get_archived_url

Retrieve an archived snapshot's content and metadata.

Parameters
ParameterRequiredDescription
urlYesThe URL to retrieve
timestampNoSpecific timestamp (YYYYMMDDhhmmss) or "latest"
modifierNoURL modifier: id_ (raw), im_ (screenshot), js_ (JS), cs_ (CSS)

search_archives

Search the CDX API for archived versions of a URL.

Parameters
ParameterRequiredDescription
urlYesThe URL pattern to search for
matchTypeNoexact, prefix, host, or domain
fromNoStart date (YYYYMMDD or YYYY-MM-DD)
toNoEnd date (YYYYMMDD or YYYY-MM-DD)
limitNoMaximum results (default 10)
offsetNoSkip the first N results
collapseNoCollapse duplicates, e.g. "timestamp:8" (per hour), "digest"
filterNoFilter by field regex, e.g. ["statuscode:200", "!mimetype:image.*"]
resolveRevisitsNoResolve warc/revisit entries to original metadata
showDupeCountNoShow duplicate count per capture
pageNoPage number for pagination
pageSizeNoResults per page

check_archive_status

Check archival statistics for a URL β€” capture counts, yearly breakdowns, and first/last capture dates.

Parameters
ParameterRequiredDescription
urlYesThe URL to check

list_screenshots

List available screenshots for a URL.

Parameters
ParameterRequiredDescription
urlYesThe URL to find screenshots for
limitNoMaximum results (default 10)

compare_snapshots

Compare two archived snapshots of a URL. Fetches the raw content of both and provides a visual diff URL.

Parameters
ParameterRequiredDescription
urlYesThe URL to compare snapshots for
timestampANoFirst timestamp. Defaults to oldest available.
timestampBNoSecond timestamp. Defaults to newest available.

clear_cache

Clear all cached API responses. Use when fresh data is needed or after saving a new URL.

CLI usage

bash
wayback save https://example.com
wayback get https://example.com
wayback get https://example.com --timestamp 20231225120000
wayback search https://example.com --from 2023-01-01 --to 2023-12-31 --limit 20
wayback status https://example.com
wayback screenshots https://example.com
wayback compare https://example.com
wayback compare https://example.com --timestamp-a 20230101000000 --timestamp-b 20240101000000

References

  • Internet Archive Developer Portal
  • CDX Server Documentation
  • Save Page Now 2 (SPN2) API
  • Bots, LLMs, and Automated Access
  • internet-archive-skills β€” Official Claude Code skill for the ia Python CLI; complements this server.

License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International.

CC BY-NC-SA 4.0

Related MCP Servers

View all in Developer Tools View all alternatives
  • P
    Portkey Admin Mcp

    Full Portkey Admin API MCP server β€” configs, prompts, keys, analytics, and more.

    πŸ’» Developer Tools1 views
    Compare vs Portkey Admin Mcp β†’
  • G
    Graphql

    Turn any GraphQL API into MCP tools. Zero config, zero code.

    πŸ’» Developer Tools0 views
    Compare vs Graphql β†’
  • A
    Ai Netcafe

    Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

    πŸ’» Developer Tools0 views
    Compare vs Ai Netcafe β†’
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    πŸ’» Developer Tools7 views
    Compare vs Claude Task Master β†’

Frequently Asked Questions about Wayback Machine

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "wayback-machine": { "command": "npx", "args": ["-y", "Wayback Machine"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWayback Machine AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wayback-machine?style=directory)](https://allmcps.com/mcp/wayback-machine)
HTML Embed
<a href="https://allmcps.com/mcp/wayback-machine"><img src="https://allmcps.com/api/badge/wayback-machine?style=directory" alt="Wayback Machine on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Wayback Machine β†’Install in Claude DesktopInstall in CursorInstall in VS Code