Integrations
Provides access to the Internet Archive's Wayback Machine, allowing retrieval of archived web pages and checking available snapshots of URLs through tools for listing snapshots and fetching archived content.
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
- get_snapshots
- Get a list of available snapshots for a URL from the Wayback Machine
- Parameters:
url
(required): URL to check for snapshotsfrom
(optional): Start date in YYYYMMDD formatto
(optional): End date in YYYYMMDD formatlimit
(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'
- get_archived_page
- Retrieve the content of an archived webpage from the Wayback Machine
- Parameters:
url
(required): URL of the page to retrievetimestamp
(required): Timestamp in YYYYMMDDHHMMSS formatoriginal
(optional): Whether to get the original content without Wayback Machine banner (default: false)
Resource Templates
- wayback://{url}/{timestamp}
- Access archived web pages from the Internet Archive Wayback Machine
- Parameters:
url
: The webpage URL to retrievetimestamp
: The specific archive timestamp (YYYYMMDDHHMMSS format)
Installation
- Clone this repository
- Install dependencies:
npm install
- Build the project:
npm run build
- Add the server to your MCP settings file:
Copy
Usage Examples
Get Snapshots
Copy
Get Archived Page
Copy
Access Resource
Copy
API Details
This server uses the following Wayback Machine APIs:
- Availability API:
https://archive.org/wayback/available?url={url}
- CDX Server API:
https://web.archive.org/cdx/search/cdx?url={url}&output=json
- Wayback Machine Memento API:
https://web.archive.org/web/{timestamp}/{url}
License
ISC
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Wayback Machine MCP Server