search_url
Pack: wayback · Endpoint: https://gateway.pipeworx.io/wayback/mcp
Search the Wayback Machine CDX index for archived snapshots of a URL. Returns timestamps, HTTP status codes, MIME types, and archive URLs. Filter by date range. Example: search_url(“example.com”, from: “2020”, to: “2023”, limit: 10).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | URL to search for in the archive (e.g., “example.com” or “https://example.com/page”) |
from | string | no | Start date filter as YYYYMMDD or partial (e.g., “2020”, “202301”) |
to | string | no | End date filter as YYYYMMDD or partial (e.g., “2023”, “20231231”) |
limit | number | no | Max number of results to return (default 25, max 1000) |
Example call
Arguments
{
"url": "example.com",
"from": "2020",
"to": "2023",
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/wayback/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_url","arguments":{"url":"example.com","from":"2020","to":"2023","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_url', {
"url": "example.com",
"from": "2020",
"to": "2023",
"limit": 10
});
More examples
{
"url": "https://example.com/page",
"from": "202301",
"to": "20231231"
}
Response shape
Always returns: url, count, snapshots
| Field | Type | Description |
|---|---|---|
url | string | The URL that was searched |
count | number | Number of snapshots found |
snapshots | array | Array of archived snapshots |
Full JSON Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL that was searched"
},
"count": {
"type": "number",
"description": "Number of snapshots found"
},
"snapshots": {
"type": "array",
"description": "Array of archived snapshots",
"items": {
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"description": "Raw timestamp from CDX index (YYYYMMDDhhmmss)"
},
"date": {
"type": "string",
"description": "Formatted date as YYYY-MM-DD"
},
"original_url": {
"type": "string",
"description": "Original URL of the archived page"
},
"status_code": {
"type": "string",
"description": "HTTP status code when archived"
},
"mime_type": {
"type": "string",
"description": "MIME type of the archived resource"
},
"size_bytes": {
"type": [
"number",
"null"
],
"description": "Size of archived resource in bytes"
},
"archive_url": {
"type": "string",
"description": "Direct URL to the archived snapshot"
}
},
"required": [
"timestamp",
"date",
"original_url",
"status_code",
"mime_type",
"size_bytes",
"archive_url"
]
}
}
},
"required": [
"url",
"count",
"snapshots"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"wayback": {
"url": "https://gateway.pipeworx.io/wayback/mcp"
}
}
}
See Getting Started for client-specific install steps.