mospi_in_options
Pack: mospi-in · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/mospi_in_options for the schema, then POST the same URL with its arguments for the data.
What India’s Ministry of Statistics (MoSPI) publishes for the Index of Industrial Production (iip) and the Wholesale Price Index (wpi): the base years available (newest first), and for one base year the years, the series you can ask for (IIP: General, sectoral and use-based categories; WPI: major groups and groups) and the LATEST month that has data. Start here to learn the latest period and the exact series names for mospi_in_get_data. India only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
product | string | yes | ”iip” = Index of Industrial Production, “wpi” = Wholesale Price Index. |
base_year | string | no | Base year such as “2022-23” or “2011-12”. Default: the newest base. |
Example call
Arguments
{
"product": "wpi"
}
curl
curl -X POST https://gateway.pipeworx.io/mospi-in/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mospi_in_options","arguments":{"product":"wpi"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mospi_in_options', {
"product": "wpi"
});
Response shape
| Field | Type | Description |
|---|---|---|
product | string | |
source | string | |
base_years | array | |
base_year | string | |
years | array | |
latest_period | object | |
series | array | |
more_series | string | |
note | string |
Full JSON Schema
{
"type": "object",
"properties": {
"product": {
"type": "string"
},
"source": {
"type": "string"
},
"base_years": {
"type": "array",
"items": {
"type": "string"
}
},
"base_year": {
"type": "string"
},
"years": {
"type": "array",
"items": {
"type": "number"
}
},
"latest_period": {
"type": "object",
"properties": {
"year": {
"type": "number"
},
"month": {
"type": "string"
},
"month_number": {
"type": "number"
}
},
"additionalProperties": true
},
"series": {
"type": "array",
"items": {
"type": "object",
"properties": {
"series": {
"type": "string"
},
"level": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": true
}
},
"more_series": {
"type": "string"
},
"note": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the mospi-in pack
{
"mcpServers": {
"mospi-in": {
"url": "https://gateway.pipeworx.io/mospi-in/mcp"
}
}
}
See Getting Started for client-specific install steps.