MCP server for Shodan API — device search, IP lookup, DNS, and CVE/CPE queries.
MCPpedia last refreshed this data
Shodan MCP Server is an MCP server that MCP server for Shodan API — device search, IP lookup, DNS, and CVE/CPE queries. It exposes 7 tools over stdio, sse and http, requires no API key, and scores 88/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"shodan": {
"env": {
"SHODAN_API_KEY": "your-shodan-api-key"
},
"command": "mcp-shodan"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for Shodan API — device search, IP lookup, DNS, and CVE/CPE queries.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@burtthecoder/mcp-shodan' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @burtthecoder/mcp-shodan against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in security
Search-first MCP server for JavaScript reverse engineering: 736 tools across 36 domains.
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Deterministic security scanning, no model or API key, plus offline-verifiable proof a fix worked.
MCP security scanner. CI-native testing, attack simulation, health scoring, and SARIF.
MCP Security Weekly
Get CVE alerts and security updates for Shodan MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Quickstart · Tools · HTTP · Security · Troubleshooting · Docs
mcp-shodan is an MCP server that gives AI agents access to the Shodan API and Shodan CVEDB. Hand your agent an IP, hostname, search query, product or CVE and get back what an analyst would look at: open ports and banners, TLS certificates, DNS, and vulnerability severity with EPSS and KEV status.
[!NOTE] Independent project, not affiliated with Shodan. You need your own Shodan API key.
api_info shows the credits left on your plan.flowchart LR
A["AI agent<br/>(Claude, Codex, Gemini, VS Code)"] -->|"MCP over stdio or HTTP"| S["mcp-shodan"]
S -->|"validate input,<br/>HTTPS + API key"| SH["Shodan REST API"]
S -->|"HTTPS, no key"| C["Shodan CVEDB"]
SH -->|"JSON"| S
C -->|"JSON"| S
S -->|"structured JSON text"| A
Requirements: Node.js 20 or newer and a Shodan API key.
# Claude Code
claude mcp add --transport stdio --env SHODAN_API_KEY=your-key shodan -- npx -y @burtthecoder/mcp-shodan
# Codex CLI
codex mcp add shodan --env SHODAN_API_KEY=your-key -- npx -y @burtthecoder/mcp-shodan
# Gemini CLI
gemini mcp add -e SHODAN_API_KEY=your-key shodan npx -y @burtthecoder/mcp-shodan
For Claude Desktop, VS Code and running from source, see Connect a client.
Then ask your agent: "What is exposed on 8.8.8.8, and is CVE-2021-44228 in the KEV catalog?" More prompts are in example workflows.
Eleven read-only tools. Full parameters are in the tool reference.
| Group | Tool | What it does |
|---|---|---|
| Network | ip_lookup | Ports, products, CVEs, TLS, location and cloud for one IP, optionally with banner history |
shodan_search | Search devices with Shodan query syntax, with paging and facet breakdowns | |
| `shodan_c |