What is mcp-shodan

mcp-shodan is an advanced Model Context Protocol (MCP) server developed by BurtTheCoder. It is designed to interface seamlessly with the Shodan API and Shodan CVEDB, providing users with deep insights into network intelligence and security. This server allows users to perform IP reconnaissance, DNS operations, vulnerability tracking, and device discovery. By offering structured and formatted outputs, mcp-shodan ensures easy analysis and integration into various workflows, making it an essential tool for network security professionals and researchers.

How to Use mcp-shodan

To get started with mcp-shodan, you have several installation options. For a straightforward setup, you can install it automatically using Smithery, a tool that simplifies server installations. Alternatively, you can manually install it via npm. Here's a quick guide to both methods:

Installing via Smithery

Run the following command to install:

npx -y @smithery/cli install @burtthecoder/mcp-shodan --client claude

Manual Installation

  1. Install globally with npm:

    npm install -g @burtthecoder/mcp-shodan
    
  2. Configure it in your Claude Desktop configuration file, ensuring you include your Shodan API key.

  3. Restart Claude Desktop to finalize the setup.

For advanced users, there's also an option to clone the source code from a repository, build it, and integrate it manually into the Claude Desktop configuration.

Key Features of mcp-shodan

  • Network Reconnaissance: Perform detailed queries about IP addresses, revealing open ports, services, and potential vulnerabilities.
  • DNS Operations: Execute forward and reverse DNS lookups, providing insights into domain and IP address relationships.
  • Vulnerability Intelligence: Access Shodan's extensive CVEDB to gather detailed vulnerability information and track product-specific CVEs.
  • Device Discovery: Leverage Shodan's comprehensive database to identify internet-connected devices with advanced filtering capabilities.

Tools Included

  1. IP Lookup Tool: Retrieves detailed information about an IP address, including geolocation, open ports, and associated domains.
  2. Shodan Search Tool: Searches Shodan's database for internet-connected devices based on specified queries.
  3. CVE Lookup Tool: Provides detailed vulnerability data from Shodan's CVEDB using CVE identifiers.
  4. DNS Lookup Tool: Resolves hostnames to IP addresses using Shodan's DNS service.
  5. Reverse DNS Lookup Tool: Finds hostnames linked to specific IP addresses.
  6. CPE Lookup Tool: Searches for Common Platform Enumeration entries by product name.
  7. CVEs by Product Tool: Identifies vulnerabilities affecting specific products or CPEs.

Requirements

  • Node.js version 18 or later
  • A valid Shodan API Key

mcp-shodan is a robust tool for security and IT professionals looking to enhance their network analysis and security capabilities. By providing a range of tools and easy integration options, it helps users effectively monitor and manage their network environments.

How to Use

To use the mcp-shodan, follow these steps:

  1. Visit https://github.com/BurtTh...
  2. Follow the setup instructions to create an account (if required)
  3. Connect the MCP server to your Claude Desktop application
  4. Start using mcp-shodan capabilities within your Claude conversations

Additional Information

Created

March 12, 2025

Start building your own MCP Server

Interested in creating your own MCP Server? Check out the official documentation and resources.

Learn More