shodan_host_search

Pack: shodan · Endpoint: https://gateway.pipeworx.io/shodan/mcp

Search Shodan for hosts matching using Shodan search syntax (e.g. “apache country:US”, “port:22 org:\“Google\""). Returns matching hosts with IP, port, org, hostnames, product, and location. Example: shodan_host_search({ query: “apache country:US”, _apiKey: “your-key” })

Parameters

NameTypeRequiredDescription
querystringyesShodan search query. Supports filters like country:, org:, port:, product:, os:, e.g. “apache country:US”
pageintegernoResult page number (optional, 100 results/page, default 1)
_apiKeystringyesShodan API key (account.shodan.io; paid membership required)

Example call

curl -X POST https://gateway.pipeworx.io/shodan/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"shodan_host_search","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "shodan": {
      "url": "https://gateway.pipeworx.io/shodan/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 2, 2026