UNPKG

mcp-wayback-machine

Version:

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

26 lines (24 loc) 774 B
/** * * Check Archive Status tool — Checks archival statistics for URLs. */ import * as z from "zod"; import type { ToolContext } from "./context.ts"; export declare const CheckArchiveStatus: z.ZodObject<{ url: z.ZodURL; }, z.core.$strip>; export type CheckArchiveStatus = z.output<typeof CheckArchiveStatus>; interface StatusResult { success: boolean; message: string; isArchived: boolean; firstCapture?: string; lastCapture?: string; totalCaptures?: number; yearlyCaptures?: Record<string, number>; } /** * * Check if a URL has been archived and get capture statistics. */ export declare function checkArchiveStatus(input: CheckArchiveStatus, ctx: ToolContext): Promise<StatusResult>; export {}; //# sourceMappingURL=status.d.ts.map