lookup_host

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

Look up a hostname or IP address in the URLhaus database to find associated malware URLs. Returns all known malicious URLs hosted on that host.

Parameters

NameTypeRequiredDescription
hoststringyesHostname or IP address to look up (e.g. “example.com” or “192.168.1.1”).

Example call

Arguments

{
  "host": "malicious-site.com"
}

curl

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

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('lookup_host', {
  "host": "malicious-site.com"
});

More examples

{
  "host": "192.168.1.100"
}

Response shape

Always returns: query_status, urlhaus_reference, blacklists, url_count, urls

FieldTypeDescription
query_statusstringStatus of the query
urlhaus_referencestring | nullReference URL on URLhaus for this host
blacklistsobject | nullBlacklist detection status by various services
url_countnumberNumber of malware URLs found on this host
urlsarrayList of malware URLs on this host
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query_status": {
      "type": "string",
      "description": "Status of the query"
    },
    "urlhaus_reference": {
      "type": [
        "string",
        "null"
      ],
      "description": "Reference URL on URLhaus for this host"
    },
    "blacklists": {
      "type": [
        "object",
        "null"
      ],
      "description": "Blacklist detection status by various services"
    },
    "url_count": {
      "type": "number",
      "description": "Number of malware URLs found on this host"
    },
    "urls": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "URLhaus ID for this URL"
          },
          "url": {
            "type": "string",
            "description": "The malware URL"
          },
          "url_status": {
            "type": "string",
            "description": "Status of the URL"
          },
          "date_added": {
            "type": "string",
            "description": "Date when URL was added"
          },
          "threat": {
            "type": "string",
            "description": "Threat category"
          },
          "tags": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            },
            "description": "Associated tags"
          }
        },
        "required": [
          "id",
          "url",
          "url_status",
          "date_added",
          "threat",
          "tags"
        ]
      },
      "description": "List of malware URLs on this host"
    }
  },
  "required": [
    "query_status",
    "urlhaus_reference",
    "blacklists",
    "url_count",
    "urls"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026