Shodan vs ToolTrust Scanner

A side-by-side look at the Shodan and ToolTrust Scanner MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Shodan logoShodanSecurity · Local subprocess (stdio)MCP server for Shodan API — device search, IP lookup, DNS, and CVE/CPE queries.68GreatAuth: not declaredToolTrust Scanner logoToolTrust ScannerSecurity · Local subprocess (stdio)Scans MCP servers for prompt injection, data exfiltration, and privilege escalation.57GoodAuth: not declared

Verdict: choose Shodan for security work as a local process; choose ToolTrust Scanner for security as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Shodan logoChoose Shodan when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: SHODAN_API_KEY.
  • You want tools like ip_lookup, shodan_search, cve_lookup.
Explore Shodan

ToolTrust Scanner logoChoose ToolTrust Scanner when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like tooltrust_scan_config, tooltrust_scan_server, tooltrust_scanner_scan.
Explore ToolTrust Scanner

Feature & specification comparison

Rows where the two servers differ are marked.

SpecShodan logoShodanToolTrust Scanner logoToolTrust Scanner
CategorySecuritySecurity
Quality signal68/100 · Great57/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredNot declared
Required env varsSHODAN_API_KEYNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars17819
Directory activity 1 views 0 installs 0 upvotes 2 views 0 installs 0 upvotes
Tools115

Tools & capabilities

Shodan tools 11

  • ip_lookupRetrieve comprehensive information about an IP address, including geolocation, operating system, open ports, running services (product, version, CPE), known vulnerabilities (CVEs), SSL certificates, hostnames, and cloud provider details if available. Returns service banners and HTTP server information when present. Optional history returns historical banners; minify omits banners.
  • shodan_searchSearch Shodan's database of internet-connected devices. Returns detailed information about matching devices including services, vulnerabilities, and geographic distribution. Supports advanced search filters and returns facet statistics (default: by country). Costs 1 query credit when the query uses filters, plus 1 per page beyond the first. Use shodan_count (free) to get totals and facets without results.
  • cve_lookupQuery detailed vulnerability information from Shodan's CVEDB. Returns comprehensive CVE details including CVSS scores (v4/v3/v2), EPSS probability and ranking, KEV status, proposed mitigations, ransomware associations, and affected products (CPEs).
  • dns_lookupResolve domain names to IP addresses using Shodan's DNS service. Supports batch resolution of multiple hostnames in a single query. Returns IP addresses mapped to their corresponding hostnames.
  • reverse_dns_lookupPerform reverse DNS lookups to find hostnames associated with IP addresses. Supports batch lookups of multiple IP addresses in a single query. Returns all known hostnames for each IP address, with clear indication when no hostnames are found.
  • cpe_lookupSearch for Common Platform Enumeration (CPE) entries by product name in Shodan's CVEDB. Supports pagination and can return either full CPE details or just the total count. Useful for identifying specific versions and configurations of software and hardware.
  • cves_by_productSearch for vulnerabilities affecting specific products or CPEs. Supports filtering by KEV status, sorting by EPSS score, date ranges, and pagination. Can search by product name or CPE 2.3 identifier. Returns detailed vulnerability information including severity scores and impact assessments.
  • shodan_countGet the total number of Shodan results for a query, with optional facet breakdowns (e.g. by country, org, port). Free: does not consume query credits. Use search_filters to list valid filters and facets.
  • domain_infoGet subdomains and DNS records for a domain from Shodan. Costs 1 query credit per lookup.
  • api_infoShow the Shodan API plan, remaining query and scan credits, monitored IPs, and usage limits for the configured API key. Free: does not consume credits.
  • search_filtersList the search filters and facets Shodan supports. Use this to build valid shodan_search and shodan_count queries and facets. Free: does not consume credits.

ToolTrust Scanner tools 5

  • tooltrust_scan_configScan all MCP servers in your `.mcp.json` or `~/.claude.json
  • tooltrust_scan_serverLaunch and scan a specific MCP server by command
  • tooltrust_scanner_scanScan a raw JSON blob of tool definitions
  • tooltrust_lookupLook up a server's trust grade from the ToolTrust Directory
  • tooltrust_list_rulesList all built-in security rules

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Shodan

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "shodan-2": {
      "command": "npx",
      "args": [
        "-y",
        "@burtthecoder/mcp-shodan"
      ],
      "env": {
        "SHODAN_API_KEY": "YOUR_SHODAN_API_KEY_HERE"
      }
    }
  }
}

ToolTrust Scanner

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "tooltrust-scanner": {
      "command": "npx",
      "args": [
        "-y",
        "tooltrust-mcp"
      ]
    }
  }
}

Frequently asked questions

Shodan is categorized under Security and uses a local stdio subprocess. ToolTrust Scanner belongs to Security and uses a local stdio subprocess. Pick Shodan for security work and ToolTrust Scanner for security.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Shodan has no declared pricing — check the project's own site. ToolTrust Scanner has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add shodan-2 and tooltrust-scanner as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Shodan has a quality signal of 68/100 (Great) with 1 views, 0 installs and 178 GitHub stars. ToolTrust Scanner has 57/100 (Good) with 2 views, 0 installs and 19 GitHub stars.