list_organizations

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

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

List all organizations publishing datasets on Data.gov. Returns organization names and dataset counts. Useful for discovering data publishers.

Example call

Arguments

{}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('list_organizations', {});

Response shape

Always returns: count, organizations

FieldTypeDescription
countnumberTotal number of organizations
organizationsarray
totalnumberTotal organizations the upstream reports, independent of how many were returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "Total number of organizations"
    },
    "organizations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Organization identifier slug"
          },
          "name": {
            "type": "string",
            "description": "Human-readable organization name"
          },
          "dataset_count": {
            "type": "number",
            "description": "Number of datasets published by this organization"
          },
          "organization_type": {
            "type": "string",
            "description": "e.g. \"Federal Government\", \"State Government\". Absent when the upstream omits it."
          },
          "source_count": {
            "type": "number",
            "description": "Number of harvest sources feeding this organization."
          }
        },
        "required": [
          "slug",
          "name",
          "dataset_count"
        ]
      }
    },
    "total": {
      "type": "number",
      "description": "Total organizations the upstream reports, independent of how many were returned."
    }
  },
  "required": [
    "count",
    "organizations"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 22, 2026