Waybackurls MCP

by GH05TCREW
0
  • Linux
  • Apple

Integrations

  • Enables fetching historical URLs from the Internet Archive's Wayback Machine, allowing discovery of old endpoints, forgotten API paths, and potentially vulnerable URLs for a specified domain.

  • Requires Node.js v16 or higher as a runtime environment for the MCP server.

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

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

A bridge that connects Waybackurls with the Model Context Protocol ecosystem, enabling AI assistants to fetch historical URLs from the Wayback Machine to discover forgotten endpoints and potentially vulnerable URLs.

  1. Overview
    1. Features
      1. Installation
        1. Prerequisites
        2. Installation
      2. Configuration
        1. Usage
          1. Command Line
          2. With Claude Desktop
          3. With Other MCP Clients
          4. Running Waybackurls
        2. Parameters
          1. Examples
            1. Gather All Historical URLs
            2. Gather Historical URLs for Main Domain Only
            3. Process Results for Further Analysis
          2. Integration with AI Assistants
            1. Security Considerations
              1. Troubleshooting
                1. Usage Tips
                  1. License
                    1. Acknowledgments

                      Related MCP Servers

                      • A
                        security
                        A
                        license
                        A
                        quality
                        A Model Context Protocol server that allows AI assistants to interact with Appwrite's API, providing tools to manage databases, users, functions, teams, and other resources within Appwrite projects.
                        Last updated -
                        84
                        36
                        Python
                        MIT License
                        • Linux
                        • Apple
                      • A
                        security
                        A
                        license
                        A
                        quality
                        A Model Context Protocol server that enables AI assistants to create, update, and delete Dub.co short links through the Dub.co API.
                        Last updated -
                        3
                        11
                        5
                        JavaScript
                        MIT License
                        • Linux
                        • Apple
                      • A
                        security
                        A
                        license
                        A
                        quality
                        A Model Context Protocol server that enables AI assistants to interact with Confluence content, supporting operations like retrieving, searching, creating, and updating pages and spaces.
                        Last updated -
                        9
                        3
                        TypeScript
                        MIT License
                      • A
                        security
                        F
                        license
                        A
                        quality
                        A Model Context Protocol server that enables AI assistants to perform real-time web searches, retrieving up-to-date information from the internet via a Crawler API.
                        Last updated -
                        1
                        44
                        8
                        JavaScript
                        • Apple
                        • Linux

                      View all related MCP servers

                      ID: si2ghoockn