MCP cover image
See in Github
2025-03-30

1

Github Watches

0

Github Forks

2

Github Stars

Wayback Machine MCP Server

This is a Model Context Protocol (MCP) server that provides access to the Internet Archive's Wayback Machine. It allows you to retrieve archived versions of web pages and check available snapshots of URLs.

Features

Tools

  1. get_snapshots

    • Get a list of available snapshots for a URL from the Wayback Machine
    • Parameters:
      • url (required): URL to check for snapshots
      • from (optional): Start date in YYYYMMDD format
      • to (optional): End date in YYYYMMDD format
      • limit (optional): Maximum number of snapshots to return (default: 100)
      • match_type (optional): Type of URL matching to use (default: exact)
        • Options: 'exact', 'prefix', 'host', 'domain'
  2. get_archived_page

    • Retrieve the content of an archived webpage from the Wayback Machine
    • Parameters:
      • url (required): URL of the page to retrieve
      • timestamp (required): Timestamp in YYYYMMDDHHMMSS format
      • original (optional): Whether to get the original content without Wayback Machine banner (default: false)

Resource Templates

  1. wayback://{url}/{timestamp}
    • Access archived web pages from the Internet Archive Wayback Machine
    • Parameters:
      • url: The webpage URL to retrieve
      • timestamp: The specific archive timestamp (YYYYMMDDHHMMSS format)

Installation

  1. Clone this repository
  2. Install dependencies: npm install
  3. Build the project: npm run build
  4. Add the server to your MCP settings file:
{
  "mcpServers": {
    "wayback-machine": {
      "command": "node",
      "args": ["/path/to/wayback-server/build/index.js"],
      "env": {},
      "disabled": false,
      "autoApprove": []
    }
  }
}

Usage Examples

Get Snapshots

use_mcp_tool(
  server_name="wayback-machine",
  tool_name="get_snapshots",
  arguments={
    "url": "example.com",
    "from": "20200101",
    "to": "20201231",
    "limit": 10
  }
)

Get Archived Page

use_mcp_tool(
  server_name="wayback-machine",
  tool_name="get_archived_page",
  arguments={
    "url": "example.com",
    "timestamp": "20200101120000",
    "original": true
  }
)

Access Resource

access_mcp_resource(
  server_name="wayback-machine",
  uri="wayback://example.com/20200101120000"
)

API Details

This server uses the following Wayback Machine APIs:

  1. Availability API: https://archive.org/wayback/available?url={url}
  2. CDX Server API: https://web.archive.org/cdx/search/cdx?url={url}&output=json
  3. Wayback Machine Memento API: https://web.archive.org/web/{timestamp}/{url}

License

ISC

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

    Reviews

    1 (1)
    Avatar
    user_2BxrcTNq
    2025-04-16

    As a devoted user of Wayback-mcp-server by Cyreslab-AI, I find it incredibly efficient and reliable for all my MCP needs. The seamless integration and user-friendly interface make it a must-have for any professional. Highly recommended!