Data Gov In
v0.2.2India Open Government Data (OGD) Platform MCP — data.gov.in
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
resource_data
Fetch records from any India Open Government Data (data.gov.in) resource by its resourceId. Supports pagination, per-field filtering, field projection, and sorting. The resourceId is the UUID shown on a dataset's page on data.gov.in (and in its API URL, e.g. api.data.gov.in/resource/<resourceId>). Example resourceId 9ef84268-d588-465a-a308-a864a43d0070 is "Current Daily Price of Various Commodities from Various Markets (Mandi)" with fields like state, district, market, commodity, variety, grade, arrival_date, min_price, max_price, modal_price. Use resource_meta first if you do not know a resou…
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | data.gov.in API key |
resourceId * | string | The dataset resource UUID from its data.gov.in page (e.g. "9ef84268-d588-465a-a308-a864a43d0070"). |
fields | string | Optional comma-separated list of field ids to return (projection), e.g. "state,commodity,modal_price". |
filters | object | Per-field exact-match filters, mapped to filters[field]=value query params. Field ids come from the resource schema (see resource_meta), e.g. {"state":"Punjab","commodity":"Apple"}. |
limit | number | Max records to return (default 10). The API caps page size; use offset to page. |
offset | number | Records to skip for pagination (default 0). |
sort | object | Optional sort spec mapped to sort[field]=direction, where direction is "asc" or "desc", e.g. {"modal_price":"desc"}. |
resource_meta
Fetch the schema/metadata for a data.gov.in resource by resourceId: title, publishing org, sector, last-updated time, and the list of fields (each with name, id, type). Use this to discover the filterable/sortable field ids before calling resource_data. The resourceId is the UUID from the dataset's page on data.gov.in.
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | data.gov.in API key |
resourceId * | string | The dataset resource UUID from its data.gov.in page (e.g. "9ef84268-d588-465a-a308-a864a43d0070"). |