Shodan

Shodan MCP Connector for Claude

A+

Search for internet-connected devices, analyze open ports, discover vulnerabilities and explore the IoT landscape.

10 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect to Shodan, the world's first search engine for internet-connected devices, and explore the digital landscape through natural conversation.

What you can do

  • Device Search — Find internet-connected devices by product, OS, port, country, vulnerability and more
  • Host Lookup — Get comprehensive info on any IP: open ports, services, banners, location and vulnerabilities
  • DNS Lookup — Resolve hostnames to IPs and reverse DNS lookups
  • Port Discovery — See which ports Shodan actively scans across the internet
  • Account Info — Check your remaining query credits and API plan details

How it works

  1. Subscribe to this server
  2. Enter your Shodan API Key (free registration at shodan.io)
  3. Start exploring the internet's connected devices from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Security Researchers — discover exposed services, scan for vulnerabilities and analyze attack surfaces
  • Sysadmins — monitor their organization's exposed services, check for misconfigurations and track open ports
  • IoT Analysts — explore IoT device distributions, identify trends and map internet-connected infrastructure
cybersecuritynetwork-scanningthreat-intelligenceopen-portsbanner-grabbingattack-surface

10 tools expose this connector's capabilities to your AI agent.

get_account_info

Useful for checking your remaining usage limits. Get Shodan account information

get_api_info

Useful for monitoring API usage limits. Get API plan information

dns_resolve

Returns a mapping of hostname to IP. Supports comma-separated hostnames. Useful for DNS lookups without leaving the terminal. Resolve hostnames to IP addresses

get_facets

g. country, org, port, os, product). Useful for building advanced search queries with faceted analysis. Get available search facets for result aggregation

get_host_info

Returns all open ports, hostnames, geographic location, AS/org info, operating system and service banners for every open port. Includes vulnerability data if available. This is the most detailed view of a single host. Get detailed info for a specific IP address

get_host_count

Useful for checking how many devices match a filter before running a full search. Get total number of results for a search query

get_my_ip

Useful for identifying your external IP for firewall rules, access control and debugging. Get your current external IP address

get_ports

Useful for understanding which ports are monitored and for reference when building search queries. Get a list of ports that Shod is scanning

reverse_dns

Returns a mapping of IP to hostname(s). Supports comma-separated IPs. Useful for reverse DNS lookups. Resolve IP addresses to hostnames

search_hosts

Supports powerful filters: product name (e.g. "nginx", "apache"), OS (e.g. "Windows", "Linux"), port (e.g. "port:80"), country (e.g. "country:US"), city, org, hostname, vulnerability (e.g. "vuln:CVE-2021-44228"), and many more. Returns matching hosts with IP, port, product, OS, location and banners. Pagination with page parameter. Use get_host for full details on a specific IP. Search Shodan for internet-connected devices

See how to talk to your AI agent using Shodan.

Search for nginx servers in Brazil.

Found 125,000+ nginx servers in Brazil. Top results show servers in São Paulo, Rio de Janeiro and Brasília running nginx versions 1.18 through 1.25. Common ports: 80, 443, 8080.

Look up info for IP 8.8.8.8.

8.8.8.8 (Google Public DNS): Located in Mountain View, CA, US. Organization: Google LLC. Open ports: 53 (DNS), 443 (HTTPS). Services: DNS server, DoH (DNS over HTTPS). Hostnames: dns.google.

Resolve google.com and github.com to IPs.

DNS resolution: google.com → 142.250.189.14, github.com → 140.82.121.4. Use get_host_info for detailed information on any IP address.

Sign up for a free account at [**shodan.io**](https://account.shodan.io/register). Your API key is displayed on your account dashboard. Free accounts get limited query credits per month.

Related Connectors