MCP Shodan Server
MCP server by Cyreslab-AI Verified · npm:@iflow-mcp
MCP Shodan Server gives AI assistants access to Shodan host, search, CVE and network alert data through the Model Context Protocol. It suits users who want to query internet-connected devices and known vulnerabilities from an AI assistant.
Install MCP Shodan Server
Built from the published package, never by AI.
claude mcp add mcp-shodan-server -- npx -y @iflow-mcp/mcp-shodan-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-shodan-server": {
"args": [
"-y",
"@iflow-mcp/mcp-shodan-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-shodan-server": {
"args": [
"-y",
"@iflow-mcp/mcp-shodan-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-shodan-server": {
"args": [
"-y",
"@iflow-mcp/mcp-shodan-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-shodan-server -- npx -y @iflow-mcp/mcp-shodan-server{
"mcpServers": {
"mcp-shodan-server": {
"args": [
"-y",
"@iflow-mcp/mcp-shodan-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-shodan-server npx -y @iflow-mcp/mcp-shodan-serverGemini 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 mcp-shodan-server block.
About
MCP Shodan Server is a Model Context Protocol server written for Node.js. It connects AI assistants such as Claude to the Shodan API and a CVE database. Once running, the assistant can call tools to look up IP addresses, search Shodan's database, scan CIDR network ranges, and check SSL certificates. It also covers vulnerability data, including CVE lookups, KEV status, EPSS scores and CPE information.
The server also offers network monitoring. Users can create, list, inspect and delete persistent Shodan alerts that watch IPs or ranges for changes, and manage notifiers such as Slack, email or webhook. A free InternetDB lookup needs no API key. The source describes the server as a way for AI assistants to query information about internet-connected devices, services and vulnerabilities.
Written from the project's README and checked against it.
Tools it gives your assistant
get_host_infoGets detailed information about a specific IP address.search_shodanSearches Shodan's database for devices and services.get_host_countCounts hosts matching a search query without consuming query credits.scan_network_rangeScans a network range given in CIDR notation for devices.get_cve_infoGets detailed information about a specific CVE.search_cvesSearches vulnerabilities with filters such as product, KEV status and EPSS.get_kev_cvesGets Known Exploited Vulnerabilities from CISA.get_internetdb_hostLooks up open ports, hostnames, CPEs and vulnerabilities for an IP. No API key required.create_alertCreates a persistent Shodan network alert that monitors IPs or ranges.get_api_infoGets information about your API plan, including credits and limits.
What you need
- Shodan API key set as SHODAN_API_KEY
- Paid Shodan membership for search, scanning, SSL and domain tools
- Node.js and npm to install and build the server
- Claude Desktop or another MCP-compatible AI assistant
Try asking
- Look up open ports and vulnerabilities for IP 8.8.8.8 using InternetDB.
- Show me the latest Known Exploited Vulnerabilities from CISA.
- Count hosts matching 'apache country:US' on Shodan.
Good to know
- Search, scanning, SSL and domain endpoints require a paid Shodan membership.
- The upstream exploits endpoint no longer serves this API. The tool returns an error object instead.
- create_alert and create_notifier are not read-only actions.
- delete_alert and delete_notifier permanently delete items and cannot be undone.
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 MCP Shodan Server
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
MCP Shodan Server: common questions
Does MCP Shodan Server need a Shodan API key?
Most tools need a Shodan API key set as SHODAN_API_KEY. The get_internetdb_host tool is free and needs no API key.
Can the assistant change anything in my Shodan account?
Yes. Tools such as create_alert and create_notifier create persistent items, and delete_alert and delete_notifier permanently remove them.
Does exploit search work with this server?
The source says the upstream exploits host redirects to cvedb.shodan.io and no longer serves this API. The search_exploits tool returns a clean error instead of crashing.
How do I install MCP Shodan Server?
In Claude Code run claude mcp add mcp-shodan-server -- npx -y @iflow-mcp/mcp-shodan-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Shodan Server the official server?
MCP Shodan Server is published by npm:@iflow-mcp from its verified domain in the official MCP Registry.
Is MCP Shodan Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Shodan Server safe to use?
It scores 72 of 100. Grades: maintenance B, 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 Server?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does MCP Shodan Server 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.
