io.github.daedalus/mcp-shodan
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.daedalus/mcp-shodan search for nginx servers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-shodan
MCP server exposing Shodan API functionality via the Model Context Protocol.
Install
pip install mcp-shodanRelated MCP server: Shodan MCP Server
Usage
export SHODAN_API_KEY=your_api_key
mcp-shodanOr 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
Search
shodan_search- Search the Shodan databaseshodan_search_cursor- Search and return an iteratorshodan_count- Get total number of search resultsshodan_search_tokens- Get information about a search query
Alerts
shodan_alerts- List all active alertsshodan_create_alert- Create a new alertshodan_delete_alert- Delete an alert
Scanning
shodan_scan- Scan a networkshodan_scan_internet- Scan the internet on a portshodan_scan_status- Get scan status
Saved Queries
shodan_queries- List shared search queriesshodan_queries_search- Search saved queriesshodan_queries_tags- Get popular query tags
Exploits
shodan_exploits_search- Search the Shodan Exploits archiveshodan_exploits_count- Get total exploit count
Utilities
shodan_info- Get API key informationshodan_ports- Get list of ports Shodan crawlsshodan_protocols- Get supported protocolsshodan_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
Available Tools
20 toolsshodan_alertsB
List all of the active alerts that the user created.
Inputs: aid, include_expired. Returns: object
shodan_countB
Returns the total number of search results for the query.
Inputs: query (required), facets. Returns: object
shodan_create_alertC
Create a new alert.
Inputs: name (required), ip (required), expires. Returns: object
shodan_delete_alertB
Delete the alert with the given ID.
Inputs: aid (required). Returns: object
shodan_exploits_countA
Search the Shodan Exploits archive and return total count.
Inputs: query (required), facets. Returns: object
shodan_exploits_searchC
Search the Shodan Exploits archive.
Inputs: query (required), page, facets. Returns: object
shodan_hostB
Get all available information on an IP.
Inputs: ip (required), history, minify. Returns: object
shodan_infoA
Returns information about the current API key.
Returns: A dictionary with API key information.
Example: >>> shodan_info() {"plan": "developer", "credits": 100}
Inputs: no named parameters. Returns: object
shodan_portsA
Get a list of ports that Shodan crawls.
Returns: An array containing the ports that Shodan crawls for.
Example: >>> shodan_ports() [22, 80, 443, ...]
Inputs: no named parameters. Returns: result
shodan_protocolsA
Get a list of protocols that the Shodan on-demand scanning API supports.
Returns: A dictionary containing protocol name and description.
Example: >>> shodan_protocols() {"http": "HTTP", "ssh": "SSH"}
Inputs: no named parameters. Returns: object
shodan_queriesC
List the search queries that have been shared by other users.
Inputs: page, sort, order. Returns: object
shodan_queries_searchC
Search the directory of saved search queries in Shodan.
Inputs: query (required), page. Returns: object
shodan_queries_tagsC
Get popular query tags.
Inputs: size. Returns: object
shodan_scanC
Scan a network using Shodan.
Inputs: ips (required), force. Returns: object
shodan_scan_internetC
Scan the internet using Shodan.
Inputs: port (required), protocol (required). Returns: object
shodan_scan_statusA
Get the status information about a previously submitted scan.
Inputs: scan_id (required). Returns: object
shodan_searchC
Search the SHODAN database.
Inputs: query (required), page, limit, offset, +2 more. Returns: object
shodan_search_cursorC
Search the SHODAN database and return an iterator.
Inputs: query (required), minify, retries. Returns: result
shodan_search_tokensC
Returns information about the search query itself.
Inputs: query (required). Returns: object
shodan_servicesB
Get a list of services that Shodan crawls.
Returns: A dictionary containing ports and service names.
Example: >>> shodan_services() {"80": "http", "443": "https"}
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Tools are generally distinct, but shodan_queries and shodan_queries_search overlap in purpose slightly. Most tools target unique actions and resources.
All tools use 'shodan_' prefix with snake_case. While some are nouns and some verbs, patterns are consistent within groups (e.g., alerts: list, create, delete). Minor mixing of styles.
20 tools is well-scoped for the Shodan API, covering search, host, scans, alerts, exploits, and metadata without being overweight.
Covers major Shodan features, but lacks tools for account management or DNS lookups. Core workflows (search, host, scan, alerts) are complete.
Maintenance
Related MCP Connectors
Unofficial Shodan MCP — wraps the full Shodan REST API (api.shodan.io)
Defensive Shodan search and host intelligence MCP using customer-provided SHODAN_API_KEY for
Unofficial Shodan InternetDB MCP — wraps Shodan InternetDB (internetdb.shodan.io)
MCP server for the Vulners.com API
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP 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.7192MIT
- FlicenseNot gradedqualityDmaintenanceA 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-
- FlicenseNot gradedqualityDmaintenanceThis 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-
- FlicenseNot gradedqualityDmaintenanceIntegrates 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-