Shodan

Shodan

A Model Context Protocol server that provides access to Shodan API functionality.

3.9K

5 Tools

Packaged by
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

Shodan MCP Server

A Model Context Protocol server that provides access to Shodan API functionality.

What is an MCP Server?

Characteristics

AttributeDetails
Docker Imagemcp/cyreslab-ai-shodan
AuthorCyreslab-AI
Repositoryhttps://github.com/Cyreslab-AI/shodan-mcp-server
Dockerfilehttps://github.com/Cyreslab-AI/shodan-mcp-server/blob/935f7044f60570cf2d094d94596eeea7872fb6be/Dockerfile
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/cyreslab-ai-shodan --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (5)

Tools provided by this ServerShort Description
get_host_infoGet detailed information about a specific IP address
get_ssl_infoGet SSL certificate information for a domain
scan_network_rangeScan a network range (CIDR notation) for devices
search_iot_devicesSearch for specific types of IoT devices
search_shodanSearch Shodan's database for devices and services

Tools Details

Tool: get_host_info

Get detailed information about a specific IP address

ParametersTypeDescription
ipstringIP address to look up
fieldsarrayoptionalList of fields to include in the results (e.g., ['ip_str', 'ports', 'location.country_name'])
max_itemsnumberoptionalMaximum number of items to include in arrays (default: 5)

Tool: get_ssl_info

Get SSL certificate information for a domain

ParametersTypeDescription
domainstringDomain name to look up SSL certificates for (e.g., example.com)

Tool: scan_network_range

Scan a network range (CIDR notation) for devices

ParametersTypeDescription
cidrstringNetwork range in CIDR notation (e.g., 192.168.1.0/24)
fieldsarrayoptionalList of fields to include in the results (e.g., ['ip_str', 'ports', 'location.country_name'])
max_itemsnumberoptionalMaximum number of items to include in results (default: 5)

Tool: search_iot_devices

Search for specific types of IoT devices

ParametersTypeDescription
device_typestringType of IoT device to search for (e.g., 'webcam', 'router', 'smart tv')
countrystringoptionalOptional country code to limit search (e.g., 'US', 'DE')
max_itemsnumberoptionalMaximum number of items to include in results (default: 5)

Tool: search_shodan

Search Shodan's database for devices and services

ParametersTypeDescription
querystringShodan search query (e.g., 'apache country:US')
facetsarrayoptionalList of facets to include in the search results (e.g., ['country', 'org'])
fieldsarrayoptionalList of fields to include in the results (e.g., ['ip_str', 'ports', 'location.country_name'])
max_itemsnumberoptionalMaximum number of items to include in arrays (default: 5)
pagenumberoptionalPage number for results pagination (default: 1)
summarizebooleanoptionalWhether to return a summary of the results instead of the full data (default: false)

Use this MCP Server

{
  "mcpServers": {
    "cyreslab-ai-shodan": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SHODAN_API_KEY",
        "mcp/cyreslab-ai-shodan"
      ],
      "env": {
        "SHODAN_API_KEY": "YOUR_SHODAN_API_KEY"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Manual installation

You can install the MCP server using:

Installation for

Related servers