Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

MCP Shodan

MCP server by BurtTheCoder Verified · npm:@mseep

Gives AI assistants access to Shodan host lookups, device searches, DNS records and CVE data through MCP. Built for security analysts and researchers who need exposure and vulnerability context. Requires your own Shodan API key.

  • Score 78
  • 195 stars
  • 233 a week
  • MIT
  • Updated

Install MCP Shodan

Built from the published package, never by AI.

claude mcp add mcp-shodan -- npx -y @mseep/mcp-shodan

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP Shodan in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-shodan block.

About

mcp-shodan is an MCP server that gives AI agents access to the Shodan API and Shodan CVEDB. Given an IP, hostname, search query, product or CVE, it returns open ports and banners, TLS certificates, DNS records, and vulnerability severity with EPSS and KEV status. It exposes eleven read-only tools.

The server runs over stdio for desktop clients such as Claude Code, Codex CLI and Gemini CLI, or as an HTTP streaming service for a shared setup. It uses your own Shodan API key, which is sent only to api.shodan.io, and CVEDB calls need no key. Input is validated with zod schemas before requests are built. It suits people doing host reconnaissance and vulnerability research who want an AI assistant to look up exposure, CVE and DNS data.

Written from the project's README and checked against it.

Tools it gives your assistant

  • ip_lookupPorts, products, CVEs, TLS, location and cloud for one IP, optionally with banner history.
  • shodan_searchSearches devices using Shodan query syntax, with paging and facet breakdowns.
  • shodan_countReturns total matches and facet breakdowns for a query without results, free of charge.
  • domain_infoLists subdomains and DNS records for a domain.
  • dns_lookupResolves hostnames to IPs, in batch.
  • reverse_dns_lookupReturns hostnames for IPs, in batch.
  • cve_lookupShows CVSS, EPSS, KEV, references and affected CPEs for one CVE.
  • cpe_lookupReturns CPE 2.3 identifiers for a product name.
  • cves_by_productLists CVEs for a product or CPE, filterable by KEV and date, sortable by EPSS.
  • api_infoShows your Shodan plan and remaining query and scan credits.

What you need

  • Node.js 20 or newer
  • Your own Shodan API key
  • Shodan membership or paid API plan for filtered shodan_search queries
  • Docker, optional, for the HTTP container image

Try asking

  • What is exposed on 8.8.8.8, and is CVE-2021-44228 in the KEV catalog?
  • Count how many Shodan results match apache country:DE before I search.
  • List the subdomains and DNS records for example.com using domain_info.

Good to know

  • The HTTP transport has no authentication, so keep it on localhost or behind an authenticating proxy.
  • Shodan allows about one request per second, and 429 errors mean you should retry later.
  • Filtered shodan_search queries need a membership or paid API plan.
  • Independent project, not affiliated with Shodan.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to MCP Shodan

All alternatives →
Agentmesh MCP Proxy microsoft
94

Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.

AAA Local 6.6k
Bla qybaihe
94

Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.

AAA Local 7.3k
Bla Agents qybaihe
94

Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.

AAA Local 11k/wk
MCP Auth zgeoff
94

A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner

AAC Local 44k/wk
Agentos MCP Server microsoft
94

Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.

AAA Local 6.6k
Convex MCP Gateway tfohlmeister
93

Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.

AAC Local 37k/wk

Compare with Agentmesh MCP Proxy, Bla or Bla Agents

MCP Shodan: common questions

Do I need a Shodan account to use mcp-shodan?

Yes. The source says you need your own Shodan API key, and the API key is read from the environment and sent only to api.shodan.io.

Which tools cost no query credits?

The source marks shodan_count, ip_lookup, dns_lookup, reverse_dns_lookup, search_filters, api_info and the CVEDB tools as free.

Can I run mcp-shodan as a shared service?

Yes, with MCP_TRANSPORT set to httpStream, which serves a health check at /health. The source warns that this transport has no authentication.

How do I install MCP Shodan?

In Claude Code run claude mcp add mcp-shodan -- npx -y @mseep/mcp-shodan. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP Shodan the official server?

MCP Shodan is published by npm:@mseep from its verified domain in the official MCP Registry.

Is MCP Shodan free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is MCP Shodan safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to MCP Shodan?

Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.

Does MCP Shodan work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

MCP Shodan Install

Add to stack

Loading.