get_dataset

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

Get full metadata for a specific Data.gov dataset by its ID or name. Returns title, description, resources (download links), organization, tags, and update frequency.

Parameters

NameTypeRequiredDescription
idstringyesDataset ID or name slug from Data.gov

Example call

Arguments

{
  "id": "noaa-global-monitoring-laboratory-carbon-cycle-greenhouse-gases"
}

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":"get_dataset","arguments":{"id":"noaa-global-monitoring-laboratory-carbon-cycle-greenhouse-gases"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_dataset', {
  "id": "noaa-global-monitoring-laboratory-carbon-cycle-greenhouse-gases"
});

Response shape

Always returns: id, name, title, description, organization, tags, resources, created, modified

FieldTypeDescription
idstringDataset unique identifier
namestringDataset name slug
titlestringHuman-readable dataset title
descriptionstring | nullFull dataset description
organizationstring | nullPublishing organization name
tagsarrayList of tag names associated with the dataset
resourcesarray
createdstringISO timestamp of dataset creation
modifiedstringISO timestamp of last metadata modification
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Dataset unique identifier"
    },
    "name": {
      "type": "string",
      "description": "Dataset name slug"
    },
    "title": {
      "type": "string",
      "description": "Human-readable dataset title"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Full dataset description"
    },
    "organization": {
      "type": [
        "string",
        "null"
      ],
      "description": "Publishing organization name"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of tag names associated with the dataset"
    },
    "resources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Resource unique identifier"
          },
          "name": {
            "type": "string",
            "description": "Resource name"
          },
          "format": {
            "type": "string",
            "description": "File format (e.g., CSV, JSON, XML)"
          },
          "url": {
            "type": "string",
            "description": "Download URL for the resource"
          },
          "description": {
            "type": "string",
            "description": "Resource description (truncated to 200 chars)"
          }
        },
        "required": [
          "id",
          "name",
          "format",
          "url",
          "description"
        ]
      }
    },
    "created": {
      "type": "string",
      "description": "ISO timestamp of dataset creation"
    },
    "modified": {
      "type": "string",
      "description": "ISO timestamp of last metadata modification"
    }
  },
  "required": [
    "id",
    "name",
    "title",
    "description",
    "organization",
    "tags",
    "resources",
    "created",
    "modified"
  ]
}

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 May 9, 2026