datagovin-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATA_GOV_IN_API_KEY | No | Your data.gov.in API key. Required for data queries; catalog search works without it. | |
| DATA_GOV_IN_MAX_SCAN | No | How many catalog entries one search scans, newest first. | 500 |
| DATA_GOV_IN_MAX_SERIES_RECORDS | No | Row cap when building a series. | 1000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Tools for India's Open Government Data platform (data.gov.in). Workflow: search_datasets -> describe_dataset -> get_series (time-series tables) or query_dataset (row lookups). Many datasets are old: always check 'updated' and 'data_covers' and tell the user how current the data is. Values are as published by the source ministry; mention the dataset title when citing numbers.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_datasetsA | Search the data.gov.in catalog for datasets. Args: query: Keywords that must all appear in the title, description, ministry or sector, e.g. "gdp quarterly". sector: Optional exact sector name, e.g. "Economy", "Finance", "Industries", "Agriculture". org: Optional ministry/organisation substring, e.g. "Statistics" or "Petroleum". limit: Maximum results to return (1-25). Returns compact summaries (id, title, ministry, last update, and the period the data covers). Newest datasets are scanned first. |
| describe_datasetA | Show a dataset's schema: its dimension columns, and for wide time-series tables, which metrics and periods it covers. Call this before query_dataset or get_series. Args: dataset_id: The 'id' from search_datasets. |
| query_datasetA | Fetch rows from a dataset, with exact-match filters and column selection. Args: dataset_id: The 'id' from search_datasets. filters: Column (name or id) -> exact value, e.g. {"State/UT": "Odisha"}. columns: Columns (names or ids) to return. Defaults to all, except that very wide time-series tables return only their dimension columns (use get_series for those). limit: Rows per page (1-100). offset: Row offset for pagination; use 'next_offset' from the previous call. |
| get_seriesA | Read a wide time-series table (one column per year/quarter) as tidy rows: [{, metric, period, value}], sorted by period. Args: dataset_id: The 'id' from search_datasets. item: Optional case-insensitive filter on any dimension value, e.g. "GDP" or "Odisha". metric: Optional case-insensitive filter on the metric name, e.g. "growth" or "value". max_rows: Maximum rows to return (1-1000). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool serves a distinct stage of the workflow: search the catalog, describe a dataset, fetch rows, or extract wide time-series data. The query_dataset vs get_series overlap is explicitly clarified by their descriptions, so an agent can select correctly.
All tool names follow a consistent snake_case verb_noun pattern: search_datasets, describe_dataset, query_dataset, get_series. The convention is predictable and readable.
Four tools are tightly scoped to the data.gov.in catalog workflow, and each earns its place. The set avoids unnecessary surface area while covering discovery, inspection, and data retrieval.
The surface covers catalog search, schema inspection, row queries, and time-series extraction, which are the core read-only operations. Minor gaps exist around richer metadata or facet browsing, but agents can work around them.