resource_data

Pack: data-gov-in · Endpoint: https://gateway.pipeworx.io/data-gov-in/mcp

Fetch records from any India Open Government Data (data.gov.in) resource by its resourceId.

Parameters

NameTypeRequiredDescription
_apiKeystringyesdata.gov.in API key
resourceIdstringyesThe dataset resource UUID from its data.gov.in page (e.g. “9ef84268-d588-465a-a308-a864a43d0070”).
limitnumbernoMax records to return (default 10). The API caps page size; use offset to page.
offsetnumbernoRecords to skip for pagination (default 0).
filtersobjectnoPer-field exact-match filters, mapped to filters[field]=value query params.
additionalPropertiesstringno
fieldsstringnoOptional comma-separated list of field ids to return (projection), e.g. “state,commodity,modal_price”.
sortobjectnoOptional sort spec mapped to sort[field]=direction, where direction is “asc” or “desc”,
additionalPropertiesstringno

Example call

Arguments

{
  "_apiKey": "your-data-gov-in-api-key",
  "resourceId": "9ef84268-d588-465a-a308-a864a43d0070",
  "limit": 10,
  "offset": 0
}

curl

curl -X POST https://gateway.pipeworx.io/data-gov-in/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resource_data","arguments":{"_apiKey":"your-data-gov-in-api-key","resourceId":"9ef84268-d588-465a-a308-a864a43d0070","limit":10,"offset":0}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('resource_data', {
  "_apiKey": "your-data-gov-in-api-key",
  "resourceId": "9ef84268-d588-465a-a308-a864a43d0070",
  "limit": 10,
  "offset": 0
});

More examples

{
  "_apiKey": "your-data-gov-in-api-key",
  "resourceId": "9ef84268-d588-465a-a308-a864a43d0070",
  "limit": 20,
  "offset": 0,
  "filters": {
    "state": "Punjab",
    "commodity": "Apple"
  },
  "fields": "state,commodity,modal_price,arrival_date",
  "sort": {
    "modal_price": "desc"
  }
}

Connect

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

{
  "mcpServers": {
    "data-gov-in": {
      "url": "https://gateway.pipeworx.io/data-gov-in/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 28, 2026