npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dpm-tools/mcp-archive

v0.1.0

Published

MCP server with 6 Wayback Machine + Internet Archive tools. Fetches archived pages as readable text (no context-window explosion). Free, MIT.

Downloads

53

Readme

mcp-archive

6 Wayback Machine + Internet Archive tools for Claude. The one that doesn't blow your context window. Free, MIT.

Existing Wayback MCPs either dump raw HTML (blowing up the LLM context window) or are abandoned forks. mcp-archive returns clean readable text — stripped HTML, scripts, nav, Wayback toolbar — so you can actually fit archived pages in a Claude conversation.


Install

{
  "mcpServers": {
    "archive": {
      "command": "npx",
      "args": ["-y", "@dpm-tools/mcp-archive"]
    }
  }
}

Requires Node.js 22.18+.


Tools (6)

  • archive_url — Push a URL to Wayback right now. Returns snapshot URL.
  • get_archived — Get nearest Wayback snapshot for a URL/date.
  • list_snapshots — List Wayback snapshots in a date range (CDX API).
  • fetch_archived_text ⭐ — Fetches archived page and returns CLEAN READABLE TEXT (strips HTML, scripts, nav, toolbar). The key differentiator.
  • search_archive_items — Search Internet Archive items (books, audio, video, software).
  • compare_snapshots — Compare two snapshots of the same URL by extracted text.

Example prompts

  • "Archive this URL right now: https://example.com/important-page"
  • "What did news.ycombinator.com look like on 2020-01-01?"
  • "List all archived versions of openai.com from 2023."
  • "Fetch the readable text of https://example.com archived in 2024."
  • "Search the Internet Archive for 'public domain javascript books'."
  • "Compare https://example.com between 2020 and 2024 — what changed?"

See examples/prompts.md for more.


Why this exists

Researchers, journalists, and link-rot fighters need Wayback access. Existing MCPs in this space:

  • 5+ personal forks, mostly abandoned
  • Most return raw HTML — instantly blows up Claude's context window
  • None offer text extraction + truncation

mcp-archive solves it: regex-only HTML→text extraction (no jsdom/cheerio deps), Wayback toolbar stripping, configurable max_chars. The id_ flag is used on snapshot URLs to fetch raw content without the toolbar at the source.

Zero API keys. Custom User-Agent. 200ms inter-call sleep on rate-limited operations to respect archive.org TOS.


API sources (all free, all keyless)

  • Wayback Machine availability API (archive.org/wayback/available)
  • Wayback CDX search (web.archive.org/cdx/search/cdx)
  • Wayback save API (web.archive.org/save/)
  • Internet Archive advanced search (archive.org/advancedsearch.php)

Sister servers from dpm

  • @dpm-tools/mcp-devkit — 15 dev utilities (UUID, hash, JWT, JSON, cron, color)
  • @dpm-tools/mcp-public-data — sun, moon, holidays, geocoding (keyless)
  • @dpm-tools/mcp-diff — diff, patch, 3-way merge

License

MIT © dpm (digital product mill)