Shodan MCP Server

A Model Context Protocol (MCP) server for querying the Shodan API and Shodan CVEDB. This server provides comprehensive access to Shodan's network intelligence and security services, including IP reconnaissance, DNS operations, vulnerability tracking, and device discovery. All tools provide structured, formatted output for easy analysis and integration.

People connecting security tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-03-31 · ★ 157 · #47 OF 182 MAINTAINED SECURITY · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Shodan

before you install - you'll need

SHODAN_API_KEY

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

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

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "burtthecoder-mcp-shodan": {
      "command": "npx",
      "args": [
        "-y",
        "@burtthecoder/mcp-shodan"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @burtthecoder/mcp-shodan - published under the repo owner's npm scope (@burtthecoder)

registry namespace io.github.BurtTheCoder is GitHub-verified and matches the repo owner

03 · Who maintains Shodan

shodan is maintained by burtthecoder. We track 2 MCP servers from burtthecoder - 2 actively maintained, 304 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from burtthecoder.

  1. virustotal MCP server for querying VirusTotal API with comprehensive security analysis tools. ★ 147

04 · Facts

category
security - ranked #47 of 182 actively-maintained security servers as of 2026-08-25.
registry
io.github.BurtTheCoder/shodan (active, first published 2026-03-03)
packages
npm:@burtthecoder/mcp-shodan

05 · Shodan FAQ

What is Shodan?

A Model Context Protocol (MCP) server for querying the Shodan API and Shodan CVEDB. This server provides comprehensive access to Shodan's network intelligence and security services, including IP reconnaissance, DNS operations, vulnerability tracking, and device discovery. All tools provide structured, formatted output for easy analysis and integration.

Is Shodan still maintained?

Yes - as of 2026-08-25, its last commit was 2026-03-31. We re-verify nightly.

How do I install Shodan?

Run `npx -y @burtthecoder/mcp-shodan`. The README documents one environment variable (SHODAN_API_KEY) to set first. You can also paste the ready-made client config above.

Does Shodan run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

06 · Alternatives to Shodan

More security MCP servers · Virustotal · Wireshark MCP · Calllint · Cinderfi - Retirement Planning · Ethical Hacking

More TypeScript MCP servers · Butterbase Ai MCP Server · Enzyme · Tachibot MCP · Dbhub · see all