shodan
io.github.w0h1v/shodan
About shodan
shodan is an MCP server published by the GitHub account w0h1v. MCP server for Shodan API — device search, IP and domain recon, DNS, and CVE/CPE queries.
It runs on your own machine: your AI client starts it from the npm package @burtthecoder/mcp-shodan at version 1.0.34.
It asks for one secret: SHODAN_API_KEY. Give it a key with the least access that still works.
Version 1.0.34 was published on 12 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
SHODAN_API_KEY | Yes | Yes | Your Shodan API key |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/w0h1v/mcp-shodan |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: SHODAN_API_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account w0h1v |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @burtthecoder/mcp-shodan@1.0.34 runs nothing at install |
| Code red flags | Pass | Read 16 files in @burtthecoder/mcp-shodan@1.0.34: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 16 files, including comments and the README |
Code review: Pass
We read all 951 lines in 14 files of @burtthecoder/mcp-shodan 1.0.34 on 2026-10-31, without running it.
Looks up IPs, domains, devices and CVEs using Shodan. It only talks to Shodan's API and CVE database, and your Shodan key is sent only to Shodan. Some searches use your Shodan query credits, which the tool descriptions state clearly.
What we found
- Info The API key travels as a URL query parameter, as the Shodan API requires; error messages logged to stderr do not include the URL or key.
build/helpers.js:7-13 - Info Inputs placed in URL paths are validated (z.ip(), hostname regex, CVE regex, encodeURIComponent).
build/tools/ip-lookup.js:8, domain-info.js:3-12, cve-lookup.js:10 - Info Optional httpStream transport binds localhost by default with no auth; stdio is the default.
build/index.js:51-61 - Info No package.json in the reviewed copy (read at runtime for the version); dependencies are taken from imports. All tools are read-only lookups. No obfuscation, install hooks, dynamic code or hard-coded secrets.
package - Info lines_read (951) is the real line count of every file (Read tool / splitlines). The manifest's 965 counts one extra empty 'line' after the trailing newline of 14 files; no file or line was skipped.
manifest.tsv
| Talks to | api.shodan.io: IP addresses, hostnames, domains, search queries and facets, plus the API key as the 'key' query parameter (Shodan's API design) (only when a tool is called) cvedb.shodan.io: CVE id, product name or CPE string and filters (no API key) (when cve_lookup, cpe_lookup or cves_by_product is called) |
|---|---|
| Keys and settings | SHODAN_API_KEY: api.shodan.io only (query string)MCP_TRANSPORT / MCP_PORT / MCP_HOST / MCP_ENDPOINT: local (optional HTTP transport, default host localhost) |
| Files on your machine | Loads .env via dotenv; reads its own package.json for the version. No other file access. |
| Runs programs | None. |
| Telemetry | None. |
| Tools | ip_lookup, shodan_search, cve_lookup, dns_lookup, reverse_dns_lookup, cpe_lookup, cves_by_product, shodan_count, domain_info, api_info, search_filters |
| Tool descriptions | clean (descriptions accurately state which calls cost Shodan query credits) |
This covers the package's own code only, not the 4 packages it depends on (fastmcp (npm), axios, zod, dotenv). A new version drops this review until we read it again.
Popularity & health: 72 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
30 forks, 10 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.w0h1v/shodan |
|---|---|
| Publisher | GitHub account w0h1v |
| How the name is verified | Name verified via GitHub account w0h1v. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @burtthecoder/mcp-shodan 1.0.34 (stdio) |
| Version | 1.0.34 |
| Published | |
| Last updated | |
| Source repository | https://github.com/w0h1v/mcp-shodan |
| Website | None linked |
| Category | Security (assigned by keyword rule, not by hand) |
Related servers in Security
- shodan7/7MCP server for Shodan API — device search, IP lookup, DNS, and…
AgentDiet Domain OSINT, TLS Certificate & Security Headers Recon4/4Inspects live IPv4/IPv6 DNS resolution, TLS certificate…
EchelonGraph CVE & Exposure8/8CVE, KEV, EPSS, SBOM and advisory lookups; per-CVE exposure from…- recon-kit-mcp7/7Read-only network & security recon tools (DNS, TLS, headers, CORS)…
AgentDiet Real-Time Open-Source Package CVE & GHSA Vulnerability Scanner (OSV.dev)4/4Queries live Google OSV.dev vulnerability intelligence for any…
Sn1per MCP Server: pentest, recon and attack surface scanning7/7Run scoped, authorized Sn1per pentest, recon and attack surface…