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
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Dataset 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
| Field | Type | Description |
|---|---|---|
id | string | Dataset unique identifier |
name | string | Dataset name slug |
title | string | Human-readable dataset title |
description | string | null | Full dataset description |
organization | string | null | Publishing organization name |
tags | array | List of tag names associated with the dataset |
resources | array | |
created | string | ISO timestamp of dataset creation |
modified | string | ISO 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.