Skip to main content
Glama

Shodan MCP Server

get_host_count

Retrieve the count of hosts matching a Shodan search query without using query credits, optionally including facets like country or organization for detailed insights.

Instructions

Get the count of hosts matching a search query without consuming query credits

Input Schema

NameRequiredDescriptionDefault
facetsNoList of facets to include in the count results (e.g., ['country', 'org'])
queryYesShodan search query to count hosts for

Input Schema (JSON Schema)

{ "properties": { "facets": { "description": "List of facets to include in the count results (e.g., ['country', 'org'])", "items": { "type": "string" }, "type": "array" }, "query": { "description": "Shodan search query to count hosts for", "type": "string" } }, "required": [ "query" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cyreslab-AI/shodan-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server