Skip to content
OSINTtools.io

mcp-shodan

Verified yesterday

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
Summary

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.

Pros
  • +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
Cons
  • −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

  1. 01Use it when you want an agent to profile an IP or domain from Shodan's index during an investigation.
  2. 02Use it when you need to size how widely a product or vulnerable version is exposed online.
Key featuresIP host lookups with banner historyShodan search with facets and pagingFree count-only queriesSubdomains and DNS recordsBatch forward and reverse DNSCVE, CPE and KEV lookups via CVEDBstdio or HTTP streaming transport

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 target
    Depends
Claude Code (Node.js 20+)
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 review

Alternatives to mcp-shodan

Listed tools that take the same inputs, closest match first.

mcp-shodanFreemium · API · verified yesterday
Visit github.com (opens in new tab)