portal_detect

Pack: open-data-portals · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/portal_detect for the schema, then POST the same URL with its arguments for the data.

Identify which open-data platform a domain runs: CKAN, Socrata, DKAN, Opendatasoft or ArcGIS Hub. Probes each platform’s documented API path and returns the platform, the evidence and every probe URL with its HTTP status. A domain that is none of them returns not_a_portal, never an empty success. Use before portal_search_datasets / portal_query on a portal with no dedicated pack. Keyless; public portals only.

Example call

Arguments

{
  "domain": "data.texas.gov"
}

curl

curl -X POST https://gateway.pipeworx.io/open-data-portals/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"portal_detect","arguments":{"domain":"data.texas.gov"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('portal_detect', {
  "domain": "data.texas.gov"
});

Response shape

FieldTypeDescription
domainstring
platformstring
evidencestring
upstream_urlstring
also_matchedarray
probesarray
budgetobject
nextstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string"
    },
    "platform": {
      "type": "string"
    },
    "evidence": {
      "type": "string"
    },
    "upstream_url": {
      "type": "string"
    },
    "also_matched": {
      "type": "array",
      "items": {}
    },
    "probes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "matched": {
            "type": "boolean"
          },
          "evidence": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "budget": {
      "type": "object",
      "properties": {
        "used": {
          "type": "number"
        },
        "limit": {
          "type": "number"
        },
        "scope": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "next": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the open-data-portals pack
{
  "mcpServers": {
    "open-data-portals": {
      "url": "https://gateway.pipeworx.io/open-data-portals/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 1, 2026