mcp-shodan
Community MCP server that lets an AI agent query Shodan host data, device search, DNS and the free Shodan CVEDB with your own API key.
MCP server (local, Node.js) · optional self-hosted HTTP · Freemium · API · Infrastructure and domains · github.com
- Takes
- IP · Domain
- Pricing
- Freemium
- Footprint
- Passive · no contact with target
- Account
- Needed for full results
- API
- Yes
- Last verified
- Nov 25, 2026
Community MCP server that lets an AI agent query Shodan host data, device search, DNS and the free Shodan CVEDB with your own API key. It takes IP address and domain. Read the cons before you build a workflow on it.
What it does
mcp-shodan is an independent MCP server, first published under the BurtTheCoder account and now maintained at w0h1v/mcp-shodan, that connects an AI agent to the Shodan API and to Shodan's CVEDB. It offers eleven read-only tools: host lookups for an IP (ports, products, TLS details, cloud provider, banner history), device search with Shodan query syntax and facets, a count-only search, subdomains and DNS records for a domain, forward and reverse DNS in batch, and CVE and CPE lookups with CVSS, EPSS and CISA KEV status.
Investigators use it to ask plain-language questions about exposed infrastructure, such as what is running on an address or how many hosts of a product sit in one country, without writing Shodan queries by hand. It runs locally over stdio, or as an HTTP service; the README marks which tools spend query credits and which are free.
Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is an API.
- +Covers both Shodan host data and vulnerability data in one server
- +Marks which tools cost credits
- +Read-only tools with input validation
- +Actively maintained with CI tests
- −Needs your own Shodan API key; search filters need a paid membership or API plan
- −Not affiliated with Shodan, and everything you look up is sent to Shodan
- −The optional HTTP transport has no authentication and must be kept private
When to use it
- 01Use it when you want an agent to profile an IP or domain from Shodan's index during an investigation.
- 02Use it when you need to size how widely a product or vulnerable version is exposed online.
Next steps from this result
Suggested from the inputs mcp-shodan takes- Found a resultConfirm it with a second, independent source before you record it
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
Docs (opens in new tab)claude mcp add --transport stdio --env SHODAN_API_KEY=your-key shodan -- npx -y @burtthecoder/mcp-shodan
Technical details
Listing verified by an editor on Nov 25, 2026- API
- Yes, see the vendor docs for auth and limits
- Account
- Needed for full results
- Footprint
- Passive · no contact with target
- Pricing
- Freemium · Free MIT-licensed server; Shodan API key required, with paid plans for filtered search
- Platforms
- MCP server (local, Node.js) · optional self-hosted HTTP
- Runs
- On your own machine
- Publisher
- Community wrapper for Shodan
- Repository
- w0h1v/mcp-shodan 192 stars
- Language
- TypeScript
- Licence
- MIT
- Last commit
- Nov 2026
- Listed
- Nov 25
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used mcp-shodan? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to mcp-shodan
Listed tools that take the same inputs, closest match first.
- ShodanFreemium · Passive · account · APIWhat it does
Search engine for internet-connected hosts, indexing open ports, service banners and TLS certificates by IP.
IPDomainNo ratings yetVerified 3d ago - CensysFreemium · Passive · account · APIWhat it does
Internet-wide scan data for hosts, services and certificates, searchable through the Censys Platform.
IPDomainNo ratings yetVerified 3d ago - DNSReconOpen source · ActiveWhat it does
Python DNS enumeration script: zone transfer checks, record enumeration, subdomain brute force and reverse lookups.
DomainIPNo ratings yetVerified today
