shodan_host_count
Pack: shodan · Endpoint: https://gateway.pipeworx.io/shodan/mcp
Count hosts matching
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Shodan search query, e.g. “apache” or “port:443 country:DE” |
facets | string | no | Comma-separated facets for aggregation, e.g. “country:10” or “org:5,port:5” (optional) |
_apiKey | string | yes | Shodan 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_count","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.