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

NameTypeRequiredDescription
productstringyes”iip” = Index of Industrial Production, “wpi” = Wholesale Price Index.
base_yearstringnoBase 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

FieldTypeDescription
productstring
sourcestring
base_yearsarray
base_yearstring
yearsarray
latest_periodobject
seriesarray
more_seriesstring
notestring
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.

Regenerated from source · build November 15, 2026