Shodan MCP
MCP server by Vorota-ai Verified · gh:vorota-ai
Shodan MCP gives Claude, Cursor and VS Code access to Shodan for passive reconnaissance, CVE and CPE lookups, and DNS analysis. Four tools work without an API key. It is aimed at security researchers and OSINT work.
Install Shodan MCP
Built from the published package, never by AI.
claude mcp add shodan-mcp -- uvx shodan-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"shodan-mcp": {
"args": [
"shodan-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"shodan-mcp": {
"args": [
"shodan-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"shodan-mcp": {
"args": [
"shodan-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add shodan-mcp -- uvx shodan-mcp{
"mcpServers": {
"shodan-mcp": {
"args": [
"shodan-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add shodan-mcp uvx shodan-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 shodan-mcp block.
About
shodan-mcp is a Model Context Protocol server that gives AI agents such as Claude, Cursor and GitHub Copilot direct access to Shodan, a search engine for internet-connected devices. It is built by Vorota AI and provides 20 tools for passive reconnaissance, vulnerability intelligence, DNS analysis and device search. Four tools need no API key: CVE lookup, CVE search, CPE search and InternetDB.
The server runs through Docker, or with uv or pip, and is added to an MCP client through a JSON configuration. Queries run against Shodan's pre-indexed database, so no packets are sent to any target. The README says it is intended for legitimate security research, authorized assessments and defensive operations, and that users must have explicit authorization to investigate any target. It is licensed under the Apache License 2.0.
Written from the project's README and checked against it.
Tools it gives your assistant
shodan-cve-lookupLook up any CVE, with CVSS v3 scores, EPSS scores, references and affected CPEs.shodan-search-cvesSearch CVEs with filters such as CISA KEV catalog, EPSS sorting and date ranges.shodan-search-cpesSearch CPE identifiers by product name, such as apache or nginx.shodan-internetdb-lookupFast free IP intelligence covering open ports, vulns, hostnames, CPEs and tags.shodan-ip-lookupFull IP reconnaissance with ports, services, banners, geolocation, vulns, ISP and ASN.shodan-searchSearch Shodan's database of billions of devices with query syntax.shodan-dns-resolveResolve hostnames to IP addresses.shodan-domain-infoDomain reconnaissance covering subdomains, DNS records and tags.shodan-honeypot-scoreEstimate whether an IP is a honeypot, from 0.0 (real) to 1.0 (honeypot).shodan-api-infoCheck API key usage, including plan type and remaining credits.
What you need
- Docker
- Shodan API key for 16 of the 20 tools
- An MCP client such as Claude Desktop, Cursor or VS Code
Try asking
- What are the details of CVE-2021-44228?
- Look up CPE identifiers for nginx
- Do a quick InternetDB lookup on my server's IP
Good to know
- 16 of the 20 tools require a Shodan API key.
- Users must have explicit authorization to investigate any target.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Shodan MCP
All alternatives →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.
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.
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.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
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.
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.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Shodan MCP: common questions
Do I need a Shodan API key to use it?
No. Four tools work immediately without a key: shodan-cve-lookup, shodan-search-cves, shodan-search-cpes and shodan-internetdb-lookup. A Shodan API key unlocks the other 16 tools.
Which MCP clients does it support?
The source lists Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf and Cline, and says any client supporting MCP stdio transport should work.
Does it send packets to scanned targets?
No. The source says all queries are passive and hit Shodan's pre-indexed database, so no packets are sent to any target.
How do I install Shodan MCP?
In Claude Code run claude mcp add shodan-mcp -- uvx shodan-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Shodan MCP the official server?
Shodan MCP is published by gh:vorota-ai from its verified domain in the official MCP Registry.
Is Shodan MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Shodan MCP safe to use?
It scores 53 of 100. Grades: maintenance D, licence A, quality C. 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 Shodan MCP?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Shodan MCP 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.
