A Model Context Protocol server that provides access to Shodan API functionality
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"shodan-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that provides access to Shodan API functionality and CVE database, allowing AI assistants to query information about internet-connected devices, services, and vulnerabilities.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
shodan_hostInformation about a specific host/IP address
shodan://host/{ip}
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in security
An evil MCP server used for redteam testing
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
mcpki-server is the backend infrastructure for https://www.mcpki.org, enabling secure public key management and autonomous certificate handling for large language models (LLMs).
MCP Security Weekly
Get CVE alerts and security updates for Shodan Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.

A Model Context Protocol (MCP) server that provides access to Shodan API functionality and CVE database, allowing AI assistants to query information about internet-connected devices, services, and vulnerabilities.
Clone the repository:
git clone https://github.com/Cyreslab-AI/shodan-mcp-server.git
cd shodan-mcp-server
Install dependencies:
npm install
Build the server:
npm run build
Set up your Shodan API key:
export SHODAN_API_KEY="your-api-key-here"
Start the server:
npm start
This server can be integrated with Claude or other MCP-compatible AI assistants. To add it to Claude Desktop or Claude.app:
Add the server to your MCP settings:
{
"mcpServers": {
"shodan": {
"command": "node",
"args": ["/path/to/shodan-mcp-server/build/index.js"],
"env": {
"SHODAN_API_KEY": "your-api-key-here"
}
}
}
}
Restart Claude to load the new MCP server.
Get detailed information about a specific IP address.
Parameters:
ip (required): IP address to look upmax_items (optional): Maximum number of items to include in arrays (default: 5)fields (optional): List of fields to include in the results (e.g., ['ip_str', 'ports', 'location.country_name'])Search Shodan's database for devices and services.
Parameters:
query (required): Shodan search query (e.g., 'apache country:US')page (optional): Page number for results pagination (default: 1)facets (optional): List of facets to include in the search results (e.g., ['country', 'org'])max_items (optional): Maximum number of items to include in arrays (default: 5)fields (optional): List of fields to include in the results (e.g., ['ip_str', 'ports', 'location.country_name'])summarize (optional): Whether to return a summary of the results instead of the full data (default: false)Get the count of hosts matching a search query without consuming query credits.
Parameters:
query (required): Shodan search query to count hosts forfacets (optional): List of facets to include in the count results (e.g., ['country', 'org'])Scan a network range (CIDR notation) for devices.
Parameters:
cidr (required): Network range in CIDR notation (e.g., 192.168.1.0/24)max_items (optional): Maximum number of items to include in results (default: 5)fields (optional): List of fields to include in the results (e.g., ['ip_str', 'ports', 'location.country_name'])Search for specific types of IoT devices.
Parameters:
device_type (required): Type of IoT device to search for (e.g., 'webcam', 'router', 'smart tv')country (optional): Optional country code to limit search (e.g., 'US', 'DE')max_items (optional): Maximum number of items to i