プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Wayback Machine

作者:Mearmanバージョン 3.7.1i★ –iパソコンで動く
レジストリ名io.github.Mearman/mcp-wayback-machine

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:WAYBACK_ACCESS_KEY, WAYBACK_SECRET_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: WAYBACK_ACCESS_KEY, WAYBACK_SECRET_KEY

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

claude mcp add wayback-machine --env WAYBACK_ACCESS_KEY=your-value --env WAYBACK_SECRET_KEY=your-value -- npx -y mcp-wayback-machine

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • WAYBACK_ACCESS_KEY 秘密 env
    Internet Archive S3 access key for higher SPN2 rate limits. Optional — anonymous mode works without it.
  • WAYBACK_SECRET_KEY 秘密 env
    Internet Archive S3 secret key for higher SPN2 rate limits. Optional — anonymous mode works without it.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Mearman で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32678件のうち0%よりスターが多い
  • このカテゴリのほかの32678件のうち11%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32678件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Wayback Machineは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:WAYBACK_ACCESS_KEY, WAYBACK_SECRET_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(3.7.1)がレジストリに届いたのは5 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Starreel

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

Starreel

作者:starreel

Turn a script into a finished, downloadable short-drama episode — via MCP or REST.

パソコンで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

MCP Wayback Machine Server

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.

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 # 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:

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

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

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.

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 --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 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):

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

Claude Code (plugin marketplace):

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

/plugin install mcp-wayback-machine@mcp-wayback-machine

OpenAI Codex:

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

To include optional credentials:

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:

{

"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
npx mcp-wayback-machine save https://example.com

Or install globally:

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.

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 . 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:

X-Archive-Access-Key: <your-access-key>

X-Archive-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

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.

<detai

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く