Shodan MCP Server

A Model Context Protocol (MCP) server for interacting with the Shodan API. This server provides a WebSocket interface for querying Shodan's

Local serverstdio

What is the Shodan MCP Server?

Shodan mcp server lets Claude, Cursor and other MCP clients work with Shodan directly. A Model Context Protocol (MCP) server for interacting with the Shodan API. This server provides a WebSocket interface for querying Shodan's database of internet-connected devices and vulnerabilities.

What Shodan does

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, vulnerabilities, and more.

The shodan-mcp-server provides a simple way to integrate Shodan intelligence into your applications using the Model Context Protocol (MCP). It exposes several tools that allow you to query Shodan for various types of information.

Practical notes

  • Maintained by X3r0K.

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
searchA JSON object containing a list of devices matching the query.

How to install the Shodan MCP Server

{
  "mcpServers": {
    "shodan": {
      "command": "node",
      "args": [
        "/path/to/shodan-mcp-server/build/index.js"
      ],
      "env": {
        "SHODAN_API_KEY": "YOUR_SHODAN_API_KEY"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
SHODAN_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Shodan to search.”

Frequently asked questions

A Model Context Protocol (MCP) server for interacting with the Shodan API. This server provides a WebSocket interface for querying Shodan's database of Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.