UNPKG

mcp-wayback-machine

Version:

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

38 lines 1.05 kB
/** * Search Archives tool - Search the Wayback Machine for archived versions */ import { z } from 'zod'; export declare const SearchArchivesSchema: z.ZodObject<{ url: z.ZodString; from: z.ZodOptional<z.ZodString>; to: z.ZodOptional<z.ZodString>; limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; }, "strip", z.ZodTypeAny, { url: string; limit: number; from?: string | undefined; to?: string | undefined; }, { url: string; from?: string | undefined; to?: string | undefined; limit?: number | undefined; }>; export type SearchArchivesInput = z.infer<typeof SearchArchivesSchema>; /** * Search the Wayback Machine archives */ export declare function searchArchives(input: SearchArchivesInput): Promise<{ success: boolean; message: string; results?: Array<{ url: string; archivedUrl: string; timestamp: string; date: string; statusCode: string; mimeType: string; }>; totalResults?: number; }>; //# sourceMappingURL=search.d.ts.map