Shodan (Unofficial)
MCP server by pipeworx-io Community
Shodan MCP wraps the Shodan REST API so AI assistants can look up exposed hosts, search Shodan, and count matches. It is aimed at users who already have their own Shodan API key.
Install Shodan (Unofficial)
Built from the published package, never by AI.
claude mcp add shodan -- npx -y @pipeworx/mcp-shodanRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"shodan": {
"args": [
"-y",
"@pipeworx/mcp-shodan"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"shodan": {
"args": [
"-y",
"@pipeworx/mcp-shodan"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"shodan": {
"args": [
"-y",
"@pipeworx/mcp-shodan"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add shodan -- npx -y @pipeworx/mcp-shodan{
"mcpServers": {
"shodan": {
"args": [
"-y",
"@pipeworx/mcp-shodan"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Shodan (Unofficial) in Antigravity CLI
gemini mcp add shodan npx -y @pipeworx/mcp-shodanGemini 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 block.
About
Shodan MCP is an MCP server that wraps the Shodan REST API at api.shodan.io. It exposes three tools: one returns the full host profile for an IP address, one searches hosts using Shodan search syntax, and one counts matching hosts with optional facet breakdowns. The host profile covers open ports, services, CVEs, hostnames, org or ISP, geolocation, and OS.
The server is hosted by Pipeworx, an MCP gateway, and can be added to clients such as Claude Desktop, Cursor, or Windsurf by URL. It can also run locally through npx as a stdio bridge that forwards calls to the same endpoint. Each call takes your own Shodan API key as a parameter. The source describes it as an independent, unofficial integration. It suits people who need to check internet-exposed systems from an AI assistant.
Written from the project's README and checked against it.
Tools it gives your assistant
shodan_hostReturns the full Shodan host profile for an IP, including ports, services, and CVEs.shodan_host_searchSearches Shodan for hosts matching a query written in Shodan search syntax.shodan_host_countCounts hosts matching a query, with optional facet breakdowns such as top countries or ports.
What you need
- A Shodan API key, passed as _apiKey with each call
- A Pipeworx account and key for higher call limits (optional)
- Node.js and npx if running the local npm bridge
- Network access, since there is no offline mode
| Setting | Needed | What it is |
|---|---|---|
PIPEWORX_Environment variable, secret | Optional | Optional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Use shodan_host to show open ports and known CVEs for 8.8.8.8
- Search Shodan for apache servers in the US with shodan_host_search
- Count hosts matching apache with shodan_host_count, facet by country
Good to know
- Needs network access; there is no offline mode
- Anonymous calls are capped at 50 a day; a free Pipeworx account raises this to 200 a day
- Calls are metered and billed through Pipeworx as they are on the hosted gateway
- Pack endpoints also list roughly 30 shared Pipeworx meta-tools beyond the three Shodan tools
Security check
ANo 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 Shodan (Unofficial)
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 (Unofficial): common questions
Do I need my own Shodan account to use this?
Yes. The source says the pack takes your own API key as _apiKey and that Pipeworx does not supply one.
Is this an official Shodan integration?
No. The source describes it as an independent, unofficial integration that is not affiliated with or endorsed by the upstream provider.
Does shodan_host_count use query credits?
The source says shodan_host_count is free and does not consume query credits.
How do I install Shodan (Unofficial)?
In Claude Code run claude mcp add shodan -- npx -y @pipeworx/mcp-shodan. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Shodan (Unofficial) the official server?
Shodan (Unofficial) is a community project by pipeworx-io, not verified by a company domain.
Is Shodan (Unofficial) free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Shodan (Unofficial) safe to use?
It scores 74 of 100. Grades: maintenance A, 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 (Unofficial)?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Shodan (Unofficial) work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
