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

@iflow-mcp/waybackurls-mcp

v1.1.3

Published

Model Context Protocol (MCP) server for interacting with waybackurls for historical URL discovery

Readme

Waybackurls MCP

Waybackurls MCP is a bridge that connects Waybackurls, a tool for retrieving historical URLs from the Wayback Machine, with the Model Context Protocol (MCP) ecosystem.

Overview

Waybackurls MCP enables seamless integration of Waybackurls' capability to discover historical endpoints into MCP-compatible applications and AI-powered workflow systems. This bridge allows you to leverage the Internet Archive's Wayback Machine to find forgotten API paths, old endpoints, and potentially vulnerable URLs through a standardized protocol, making it easier to incorporate into automated security testing pipelines or AI assistant capabilities.

Features

  • Integration with Waybackurls to fetch historical URLs from the Wayback Machine
  • Option to include or exclude subdomains in the search
  • Simple configuration and setup
  • Easy integration with other MCP-compatible tools and systems
  • Standardized input/output handling

Installation

Prerequisites

  • Node.js (v16 or higher)
  • Waybackurls installed on your system

Installation

# Install globally
npm install -g gc-waybackurls-mcp

# Or run directly without installing
npx gc-waybackurls-mcp

Configuration

This server requires the path to the Waybackurls executable to be set via the WAYBACKURLS_PATH environment variable.

Example:

# Linux/macOS
export WAYBACKURLS_PATH=/usr/local/bin/waybackurls

# Windows
set WAYBACKURLS_PATH=C:\path\to\waybackurls\waybackurls.exe

Usage

Command Line

# With WAYBACKURLS_PATH environment variable set
npx gc-waybackurls-mcp

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "waybackurls": {
      "command": "npx",
      "args": ["-y", "gc-waybackurls-mcp"],
      "env": {
        "WAYBACKURLS_PATH": "C:\\path\\to\\waybackurls\\waybackurls.exe"
      }
    }
  }
}

With Other MCP Clients

For other MCP clients, you can configure them to use this server with:

WAYBACKURLS_PATH=/path/to/waybackurls npx gc-waybackurls-mcp

Running Waybackurls

Once configured, you can run Waybackurls through the MCP interface using the do-waybackurls tool:

// Example of calling Waybackurls through MCP for a domain including subdomains
const result = await mcp.tools.invoke("do-waybackurls", {
  target: "example.com",
  noSub: false
});

// Example of calling Waybackurls through MCP for a domain excluding subdomains
const resultNoSubs = await mcp.tools.invoke("do-waybackurls", {
  target: "example.com",
  noSub: true
});

Parameters

Waybackurls MCP supports the following parameters:

  • target: The domain to retrieve historical URLs for (required)
  • noSub: Boolean flag to control whether subdomains should be included (default: false)

Examples

Gather All Historical URLs

const result = await mcp.tools.invoke("do-waybackurls", {
  target: "example.com",
  noSub: false
});

Gather Historical URLs for Main Domain Only

const result = await mcp.tools.invoke("do-waybackurls", {
  target: "example.com",
  noSub: true
});

Process Results for Further Analysis

const result = await mcp.tools.invoke("do-waybackurls", {
  target: "example.com"
});

// Split the results into individual URLs
const urls = result.content[0].text.trim().split('\n');

// Filter for specific file types or patterns
const jsFiles = urls.filter(url => url.endsWith('.js'));
const apiEndpoints = urls.filter(url => url.includes('/api/'));

Integration with AI Assistants

Waybackurls MCP is designed to work seamlessly with AI assistants that support the Model Context Protocol, enabling natural language interactions for security testing and reconnaissance tasks.

Example conversation with an AI assistant:

User: Find historical URLs for example.com
AI: I'll retrieve historical URLs for example.com using the Wayback Machine.

[AI uses Waybackurls MCP to fetch the URLs and returns the results]

I found the following interesting historical endpoints for example.com:
- Several old API endpoints: /api/v1/users, /api/v2/products
- Previously accessible admin pages: /admin/dashboard, /admin/users
- Backup files: /backup/db.sql, /backup/config.old
...

Security Considerations

  • This tool is intended for legitimate security research and testing
  • Always obtain proper authorization before scanning websites
  • Use responsibly and ethically
  • The tool only retrieves information already publicly archived by the Internet Archive

Troubleshooting

If you encounter issues:

  1. Verify Waybackurls is properly installed and accessible
  2. Check the path to the Waybackurls executable in your configuration
  3. Ensure proper permissions are set for execution
  4. Review server logs for detailed error messages
  5. Some domains may have limited or no history in the Wayback Machine

Usage Tips

  • Combine Waybackurls results with other reconnaissance tools for more comprehensive target information
  • Filter results to focus on specific file types or directories of interest
  • Look for patterns in historical URLs that might indicate abandoned features or testing endpoints
  • Use the results to inform your security testing or bug bounty hunting

License

Apache-2.0

Acknowledgments

  • Waybackurls Project: https://github.com/tomnomnom/waybackurls
  • Internet Archive Wayback Machine: https://archive.org/web/
  • Model Context Protocol: https://github.com/modelcontextprotocol