mospi_in_get_data

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_get_data for the schema, then POST the same URL with its arguments for the data.

Get India’s Index of Industrial Production (iip) or Wholesale Price Index (wpi) for a month, a year, or the latest month. Returns index values (and IIP year-on-year growth rate) with base year, period and series labels. series names what to read: IIP “General” (default), “Sectoral”, “Use-based category” or a category such as “Manufacturing” (which returns its sub-categories); WPI an all-commodities index (default), a group, sub-group or item such as “Wheat”. Omit year and month for the latest month that has data. Uses the newest base year unless base_year is given; index levels from different base years are not comparable. India only.

Parameters

NameTypeRequiredDescription
productstringyes”iip” or “wpi”.
seriesstringnoSeries name or code from mospi_in_options / mospi_in_search_series. Default: the overall index (IIP General, WPI all commodities).
yearintegernoCalendar year, e.g. 2026. Omit (with month) for the latest month.
monthstringnoMonth number 1-12, a month name, or “all”. With a year and no month, all months of that year are returned.
base_yearstringnoBase year, e.g. “2022-23”. Default: newest.

Example call

Arguments

{
  "product": "iip",
  "series": "General"
}

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_get_data","arguments":{"product":"iip","series":"General"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('mospi_in_get_data', {
  "product": "iip",
  "series": "General"
});

Response shape

FieldTypeDescription
productstring
base_yearstring
seriesstring
sourcestring
data_as_ofstring
countnumber
rowsarray
notestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "product": {
      "type": "string"
    },
    "base_year": {
      "type": "string"
    },
    "series": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "year": {
            "type": "number"
          },
          "month": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "index": {
            "type": "number"
          },
          "growth_rate_pct": {
            "type": "number"
          }
        },
        "additionalProperties": true
      }
    },
    "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