Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
MCP server and CLI tool for interacting with the Wayback Machine without API keys
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
WAYBACK_ACCESS_KEY, WAYBACK_SECRET_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Mearman 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:WAYBACK_ACCESS_KEY, WAYBACK_SECRET_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(3.7.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Kanal Varna — drains, leaks & plumbing (Varna, BG)
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Drain unblocking, leak detection & plumbing in Varna, Bulgaria: services, prices, areas, contact
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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
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.
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.
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:
| Resource | TTL | Reason |
|---|---|---|
| Snapshot content | 24 h | Immutable once captured |
| Availability, CDX, sparkline | 1 h | Grows but never mutates |
| Save operations | 30 min | Idempotent per URL |
| Save status polling | 30 s | Changes during active jobs |
noUncheckedIndexedAccess and exactOptionalPropertyTypes — no any, no as assertions."type": "module" in package.json. Always use .ts extensions in relative imports (rewritten to .js at build time via rewriteRelativeImportExtensions).schemas.ts defines them; zodToJsonSchema derives the MCP-compatible JSON Schema.es5), 80-char print width, LF line endings.retrieve, save, search, status, fetch, http, validation, cli, build, release, ci, deps. Commit messages must use British English.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.enum, no decorators, no namespace).check + test + coverage + untested-files. pnpm validate replicates this locally via Turbo.pnpm turbo run --force if results look wrong.test:e2e. The Turbo config passes it through via globalPassThroughEnv; don't set it in .env files — export it in your shell before running.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.Record lookups return T | undefined. Never fall back to ?? default — narrow explicitly or restructure to a concrete type..tool-versions. CI tests against Node 22, 24, and 26. Do not use Node APIs that aren't available in 22.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.
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
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" } } }
| Harness | Config file | Config key |
|---|---|---|
| Claude Code | .mcp.json (project) / ~/.claude.json (user) | mcpServers |
| Codex | ~/.codex/config.toml | [mcp_servers.wayback-machine] |
| Gemini CLI | ~/.gemini/settings.json | mcpServers |
| Crush | .crush.json / ~/.config/crush/crush.json | mcp |
| Cline | .cline/mcp.json | mcpServers |
| Cursor | .cursor/mcp.json | mcpServers |
| Zed | ~/.config/zed/settings.json | context_servers |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json | mcpServers |
The env block is optional — the server works anonymously without credentials.
npx mcp-wayback-machine save https://example.com
Or install globally:
npm install -g mcp-wayback-machine
wayback save https://example.com
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):
| Variable | Required | Purpose |
|---|---|---|
WAYBACK_ACCESS_KEY | No | Fallback IA S3 credentials for higher SPN2 rate limits |
WAYBACK_SECRET_KEY | No | Fallback IA S3 credentials |
MCP_AUTH_TOKEN | No | Bearer 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:
| Component | Stdio | Worker |
|---|---|---|
| Caching | DiskCacheBackend (OS cache dir) | CacheApiBackend (caches.open()) |
| Rate limiting | InMemoryRateLimiter | CacheApiRateLimiter |
| Auth | None | StaticTokenAuthProvider (optional) |
| Credentials | Environment variables | Request headers, then environment variables |
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
save_urlArchive a URL to the Wayback Machine using the SPN2 API.
Parameters
| Parameter | Required | Description |
|---|---|---|
url | Yes | The URL to archive |
captureScreenshot | No | Capture a screenshot as a PNG image |
captureOutlinks | No | Also archive up to 100 outlinked pages |
ifNotArchivedWithin | No | Skip if archived within timeframe, e.g. "30d" |
jsBehaviorTimeout | No | Run JavaScript for N seconds before capturing (max 30) |
forceGet | No | Use simple HTTP GET instead of browser rendering |
delayWbAvailability | No | Delay indexing ~12 hours to reduce server load |
get_archived_urlRetrieve an archived snapshot's content and metadata.
<detai
只显示了开头部分;其余内容请在仓库中阅读