Shodan MCP server
io.github.w0h1v/shodan·v1.0.34·178 starsMCP server for Shodan API — device search, IP and domain recon, DNS, and CVE/CPE queries.
178 stars731 downloads/wk
Reviews
Write oneNobody has reviewed Shodan yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Shodan tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-10-15 · same rubric, same numbers if you re-run it
- Code scan15 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 3 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Shodan compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 70% of 3,470 Web search servers
- GitHub stars
- 178
- more than 95% of 1,786 Web search servers
- Downloads a week
- 731
- more than 91% of 827 Web search servers with a package
Release history: 2 versions in the registry since 2026-09-08, latest 2026-10-12, typically one every 34 days.
Install Shodan in Claude Code, Cursor or VS Code
Runs npx -y @burtthecoder/mcp-shodan on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add shodan -- npx -y @burtthecoder/mcp-shodan
What the publisher says
From the Shodan repository's README, as published. We do not edit it. Read it on GitHub
Shodan MCP Server
A Model Context Protocol (MCP) server for querying the Shodan API and Shodan CVEDB. This server provides comprehensive access to Shodan's network intelligence and security services, including IP reconnaissance, DNS operations, vulnerability tracking, and device discovery. All tools provide structured, formatted output for easy analysis and integration.
Quick Start (Recommended)
Installing via Claude Code
claude mcp add --transport stdio --env SHODAN_API_KEY=your-shodan-api-key shodan -- npx -y @burtthecoder/mcp-shodanInstalling via Codex CLI
codex mcp add shodan --env SHODAN_API_KEY=your-shodan-api-key -- npx -y @burtthecoder/mcp-shodanInstalling via Gemini CLI
gemini mcp add -e SHODAN_API_KEY=your-shodan-api-key shodan npx -y @burtthecoder/mcp-shodanInstalling via Smithery
To install Shodan Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @burtthecoder/mcp-shodan --client claudeInstalling Manually
- Install the server globally via npm:
npm install -g @burtthecoder/mcp-shodan- Add to your Claude Desktop configuration file:
{
"mcpServers": {
"shodan": {
"command": "mcp-shodan",
"env": {
"SHODAN_API_KEY": "your-shodan-api-key"
}
}
}
}Configuration file location:
- macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
- Windows: %APPDATA%\Claude\claudedesktopconfig.json
- Restart Claude Desktop
Alternative Setup (From Source)
If you prefer to run from source or need to modify the code:
- Clone and build:
git clone https://github.com/w0h1v/mcp-shodan.git
cd mcp-shodan
npm install
npm run build- Add to your Claude Desktop configuration:
{
"mcpServers": {
"shodan": {
"command": "node",
"args": ["/absolute/path/to/mcp-shodan/build/index.js"],
"env": {
"SHODAN_API_KEY": "your-shodan-api-key"
}
}
}
}Features
- Network Reconnaissance: Query detailed information about IP addresses, including open ports, services, and vulnerabilities
- DNS Operations: Forward and reverse DNS lookups for domains and IP addresses
- Vulnerability Intelligence: Access to Shodan's CVEDB for detailed vulnerability information, CPE lookups, and product-specific CVE tracking
- Device Discovery: Search Shodan's database of internet-connected devices with advanced filtering
Tools
1. IP Lookup Tool
- Name: ip_lookup
- Description: Retrieve comprehensive information about an IP address, including geolocation, open ports, running services, SSL certificates, hostnames, and cloud provider details if available
- Parameters:
- ip (required): IP address to lookup
- Returns:
- IP Information (address, organization, ISP, ASN)
- Location (country, city, coordinates)
- Services (ports, protocols, banners)
- SSL/TLS details per service (certificate subject/issuer CN, serial, SHA-256 fingerprint, validity, TLS versions, cipher, JARM, JA3S) — certificate SAN hostnames appear in the top-level Hostnames/Domains
- Cloud Provider details (if available)
- Associated hostnames and domains
- Tags
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Shodan: common questions
- Is Shodan MCP server safe?
- Mostly: it is graded B (83/100). Read the Shodan safety report
- How do I install Shodan?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Shodan need an API key?
- Yes. The registry entry asks for
SHODAN_API_KEY. - Is Shodan maintained?
- The last commit was 23 days ago (2026-10-12). The latest release is v1.0.34.
- What can I use instead of Shodan?
- Servers from other publishers that do the same job: Jshookmcp MCP server.
- How does Shodan compare with other Web search MCP servers?
- safety score 83/100 (higher than 70% of 3,470 Web search servers); github stars 178 (more than 95% of 1,786 Web search servers); downloads a week 731 (more than 91% of 827 Web search servers with a package). Full comparison.
Alternatives to Shodan
Same job from other publishers: the closest match first, then the best rated.
- JshookmcpSearch-first MCP server for JavaScript reverse engineering: 735 tools across 36 domains.not reviewedEstablishedC