Shodan MCP Server

This is a Model Context Protocol (MCP) server that provides access to the Shodan API. It allows you to programmatically query Shodan for information

Local serverstdio

What is the Shodan MCP Server?

This is a Model Context Protocol (MCP) server that provides access to the Shodan API. It allows you to programmatically query Shodan for information about devices

The short version

A Model Context Protocol (MCP) server that provides access to Shodan's internet scanning capabilities through a standardized interface.

This server implements the Model Context Protocol to expose Shodan's powerful internet scanning and reconnaissance capabilities. It provides a standardized interface for querying Shodan's database of internet-connected devices, services, and vulnerabilities.

  • Search Capabilities — Query Shodan's database using advanced search filters
  • DNS Lookup — Resolve domain names and get detailed DNS information
  • CVE Information — Get detailed information about Common Vulnerabilities and Exposures
  • Get Vulnerabilities — Get detailed infor Vulnerabilities related to an IP address
  • Standardized Interface — Uses MCP protocol for consistent communication
  • Environment Variable Support — Secure API key management through environment variables

What it needs from you

  • Node.js (v14 or higher) - npm (v6 or higher) - Shodan API key

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.

Configuration

  • Node.js (v14 or higher) - npm (v6 or higher) - Shodan API key
VariableDescriptionRequired
SHODAN_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Shodan to Query.”
  • “Use Shodan to Example.”
  • “Use Shodan to Returns.”

Frequently asked questions

Node.js (v14 or higher), npm (v6 or higher), and a Shodan API key are required.