Skip to content

v0.1.1: First public release — 5 tools, 1 resource over the Wayback Machine and IA library

Choose a tag to compare

@cyanheads cyanheads released this 05 Jun 12:13
· 19 commits to main since this release
v0.1.1
d8db74a

First public release — 5 tools, 1 resource over the Wayback Machine and IA library

MCP server wrapping the Internet Archive Wayback Machine (CDX + Availability APIs) and IA library (Advanced Search + Metadata APIs). No API key required.

Added:

  • ia_find_snapshots — Wayback snapshot discovery; closest or CDX history mode with date/status/MIME filters and resume-key pagination
  • ia_get_snapshot — Wayback replay fetch; HTML-to-text extraction capped at IA_MAX_SNAPSHOT_CHARS
  • ia_search_items — IA library search (40M+ items) with mediatype, collection, creator, date-range, language, and sort filters
  • ia_get_item — IA Metadata API; full title, creator, subjects, collections, license, and per-file download URLs
  • ia_get_text — OCR/plain-text fetch with char_offset continuation paging for large documents
  • ia://item/{identifier} — MCP resource for Archive item metadata snapshots

Security:

  • Wayback SSRF guard — Availability API response URL validated against https://web.archive.org/ before return
  • Solr injection prevention — filter values quoted and escaped; date ranges validated against YYYY-MM-DD pattern
  • Output cap — snapshot text sliced to IA_MAX_SNAPSHOT_CHARS; status_filter restricted to 3-digit codes

44 tests pass; bun run devcheck clean.