Skip to main content
Glama
daedalus

io.github.daedalus/mcp-shodan

by daedalus

mcp-shodan

MCP server exposing Shodan API functionality via the Model Context Protocol.

PyPI Python Coverage Ruff

Install

pip install mcp-shodan

Related MCP server: Shodan MCP Server

Usage

export SHODAN_API_KEY=your_api_key
mcp-shodan

Or add to your MCP configuration:

{
  "mcpServers": {
    "shodan": {
      "command": "mcp-shodan",
      "env": {
        "SHODAN_API_KEY": "your_api_key"
      }
    }
  }
}

Available Tools

Host Information

  • shodan_host - Get all available information on an IP address

  • shodan_search - Search the Shodan database

  • shodan_search_cursor - Search and return an iterator

  • shodan_count - Get total number of search results

  • shodan_search_tokens - Get information about a search query

Alerts

  • shodan_alerts - List all active alerts

  • shodan_create_alert - Create a new alert

  • shodan_delete_alert - Delete an alert

Scanning

  • shodan_scan - Scan a network

  • shodan_scan_internet - Scan the internet on a port

  • shodan_scan_status - Get scan status

Saved Queries

  • shodan_queries - List shared search queries

  • shodan_queries_search - Search saved queries

  • shodan_queries_tags - Get popular query tags

Exploits

  • shodan_exploits_search - Search the Shodan Exploits archive

  • shodan_exploits_count - Get total exploit count

Utilities

  • shodan_info - Get API key information

  • shodan_ports - Get list of ports Shodan crawls

  • shodan_protocols - Get supported protocols

  • shodan_services - Get list of services

Example

# Get information about a host
shodan_host("1.1.1.1")

# Search for specific services
shodan_search("apache", limit=10)

# Count results for a query
shodan_count("nginx")

# Check your API plan
shodan_info()

mcp-name: io.github.daedalus/mcp-shodan

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    F
    maintenance
    MCP server for querying the Shodan API and Shodan CVEDB. This server provides tools for IP lookups, device searches, DNS lookups, vulnerability queries, CPE lookups, and more.
    7
    304
    149
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A WebSocket server that provides MCP interface for searching and retrieving information about internet-connected devices, IP addresses, DNS data, and CVE vulnerabilities through the Shodan API.
    3
  • F
    license
    -
    quality
    D
    maintenance
    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.
    2
  • F
    license
    -
    quality
    D
    maintenance
    Integrates Shodan search capabilities into MCP-compatible applications for discovering internet-connected devices. Enables domain searches, IP lookups, and advanced queries to identify exposed services, infrastructure mapping, and security analysis.
    3

View all related MCP servers

Related MCP Connectors

  • Shodan MCP — wraps the full Shodan REST API (api.shodan.io)

  • Shodan InternetDB MCP — wraps Shodan InternetDB (internetdb.shodan.io)

  • MCP server for ScanMalware.com URL scanning, malware detection, and analysis.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-shodan'

If you have feedback or need assistance with the MCP directory API, please join our Discord server