Atlas / MCP servers / mearman / Wayback Machine

Wayback MachineCAUTION

mcp/mearman/wayback-machine

MCP server and CLI tool for interacting with the Internet Archive's Wayback Machine

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
10 8r · 1w · 1d
Transport
stdio · streamable-http
License
NOASSERTION
Stars
56
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://github.com/Mearman/mcp-wayback-machine) [](https://www.npmjs.com/package/mcp-wayback-machine) [](https://github.com/Mearman/mcp-wayback-machine/releases/latest) [](https://github.com/Mearman/mcp-wayback-machine/actions)

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.

[](https://www.npmjs.com/package/mcp-wayback-machine) [](https://github.com/Mearman/mcp-wayback-machine/stargazers)

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

Getting started

Requires Node.js 22+ and pnpm.

pnpm install

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

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

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    
Read from source at commit f8409e61d168OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mcp-wayback-machine --env WAYBACK_ACCESS_KEY=${WAYBACK_ACCESS_KEY} --env WAYBACK_SECRET_KEY=${WAYBACK_SECRET_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-wayback-machine": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "WAYBACK_ACCESS_KEY": "${WAYBACK_ACCESS_KEY}",
        "WAYBACK_SECRET_KEY": "${WAYBACK_SECRET_KEY}"
      }
    }
  }
}
03

Exposed tools (10)

8 read · 1 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
WAYBACK_ACCESS_KEYreadInternet Archive S3 access key for higher SPN2 rate limits. Optional — anonymous mode works without it.
WAYBACK_SECRET_KEYreadInternet Archive S3 secret key for higher SPN2 rate limits. Optional — anonymous mode works without it.
check_archive_statusread
clear_cachedestructive
compare_snapshotsread
get_archived_urlread
healthread
list_screenshotsread
save_urlwrite
search_archivesread
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (5 observation(s))
Shell
declared (1 observation(s))
Dependencies
pinned
Secrets in source
found

Findings (7)

MEDIUMHard-coded secrets · secret.generic · CWE-798, CWE-321
tests/auth/provider.unit.test.ts:5
const TOKEN = "test-secret-token-abc123";
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
clear_cache
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/tools/health.ts:8
import pkg from "../../package.json" with { type: "json" };
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/auth/provider.unit.test.ts:3
import { StaticTokenAuthProvider } from "../../src/auth/provider.ts";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/tools/cache.unit.test.ts:3
import { clearCache, getCacheStatus } from "../../src/tools/cache.ts";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/tools/compare.unit.test.ts:3
import { compareSnapshots } from "../../src/tools/compare.ts";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/tools/retrieve.unit.test.ts:3
import { getArchivedUrl } from "../../src/tools/retrieve.ts";

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha f8409e61d168full audit observations/trust-audit/mcp-server/mearman__wayback-machine.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08f8409e61d168CAUTIONB89first audit
06

Questions

What is the Wayback Machine MCP server?

MCP server and CLI tool for interacting with the Internet Archive's Wayback Machine

What tools does Wayback Machine expose?

10 in total: 8 read-only, 1 that write, and 1 that can delete or overwrite (clear_cache). Every one is listed on this page with its risk.

Is Wayback Machine safe to connect to an agent?

With care. The audit graded it B (89/100) and found 7 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Wayback Machine need?

It reads WAYBACK_ACCESS_KEY and WAYBACK_SECRET_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Wayback Machine run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as mcp-wayback-machine at 3.7.1.

How current is this page?

The grade is for one exact copy of the source (f8409e61d168), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement