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

VariableRequiredSecretDescription
SHODAN_API_KEYYesYesYour Shodan API key

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/w0h1v/mcp-shodan
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 1 secret: SHODAN_API_KEY
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account w0h1v
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPass@burtthecoder/mcp-shodan@1.0.34 runs nothing at install
Code red flagsPassRead 16 files in @burtthecoder/mcp-shodan@1.0.34: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo 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 toapi.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 settingsSHODAN_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 machineLoads .env via dotenv; reads its own package.json for the version. No other file access.
Runs programsNone.
TelemetryNone.
Toolsip_lookup, shodan_search, cve_lookup, dns_lookup, reverse_dns_lookup, cpe_lookup, cves_by_product, shodan_count, domain_info, api_info, search_filters
Tool descriptionsclean (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.

Popularity21 / 40

183 GitHub stars, 648 downloads last week, 0 Hacker News posts (0 points). Best two of the three, each on a log scale.

Activity23 / 25

Last push 2026-10-26, last release 2026-09-08, 30 commits in 90 days.

Issue health8 / 15

2 closed of 2 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

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 nameio.github.w0h1v/shodan
PublisherGitHub account w0h1v
How the name is verifiedName verified via GitHub account w0h1v. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm @burtthecoder/mcp-shodan 1.0.34 (stdio)
Version1.0.34
Published
Last updated
Source repositoryhttps://github.com/w0h1v/mcp-shodan
WebsiteNone linked
CategorySecurity (assigned by keyword rule, not by hand)

Related servers in Security