MCP Server — TocharianOU/mcp-shodan

Shodan MCP Server – network reconnaissance, DNS operations, and vulnerability intelligence

Local serverstdio

What is the MCP Server?

Shodan MCP Server – network reconnaissance, DNS operations, and vulnerability intelligence

The short version

Get your API key at account.shodan.io.

  • IP reconnaissance — — open ports, running services, banners, SSL certificates, cloud provider detection
  • Device search — — query Shodan's internet-wide scan database with advanced filters and geographic distribution
  • DNS operations — — forward and reverse DNS lookups for domains and IP addresses
  • Vulnerability intelligence — — CVE details (CVSS v2/v3, EPSS, KEV status), CPE lookups, and product-specific CVE tracking via CVEDB

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
ip_lookupIP address analysis: ports, services, banners, cloud provider, hostnames
shodan_searchSearch internet-connected devices with country distribution stats
dns_lookupBatch forward DNS resolution (hostnames → IPs)
reverse_dns_lookupBatch reverse DNS lookup (IPs → hostnames)
cve_lookupCVE details: CVSS v2/v3, EPSS, KEV status, ransomware associations
cpe_lookupSearch CPE entries by product name with pagination
cves_by_productAll CVEs for a product or CPE 2.3 identifier with filtering

How to install the MCP Server

{
  "mcpServers": {
    "shodan": {
      "command": "npx",
      "args": ["-y", "@tocharianou/mcp-shodan"],
      "env": {
        "SHODAN_API_KEY": "<your-api-key>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SHODAN_API_KEYCredential the server authenticates with.Yes
SHODAN_BASE_URLEndpoint or connection string the server talks to.Yes
SHODAN_AUTH_TOKENCredential the server authenticates with.Yes
SHODAN_CVEDB_URLEndpoint or connection string the server talks to.Yes
MCP_HTTP_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use MCP to ip lookup.”
  • “Use MCP to shodan search.”
  • “Use MCP to dns lookup.”

Frequently asked questions

Shodan MCP Server – network reconnaissance, DNS operations, and vulnerability intelligence Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.