get_indicator

Pack: ine-pt · 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/get_indicator for the schema, then POST the same URL with its arguments for the data.

Fetch data values for an INE (Statistics Portugal) indicator. Pass the indicator code (varcd) and optionally a dims object mapping dimension slots (“Dim1”,“Dim2”,…) to dimension-value codes to select a slice (codes come from indicator_meta). Omit a Dim slot to return all of its values. Requires varcd — INE has no keyword/search endpoint, so look the code up on https://www.ine.pt first.

Parameters

NameTypeRequiredDescription
varcdstringyes
dimsobjectnoDimension selections, e.g. {“Dim1”:“S7A2021”,“Dim3”:“1”}. Keys are Dim1..DimN (matching the dim_num from indicator_meta); values are dimension-value codes. May also be passed as an array, treated as [Dim1, Dim2, …].
langstringnoResponse language. Default EN.

Example call

Arguments

{
  "varcd": "0008159"
}

curl

curl -X POST https://gateway.pipeworx.io/ine-pt/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_indicator","arguments":{"varcd":"0008159"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_indicator', {
  "varcd": "0008159"
});

More examples

{
  "varcd": "0008159",
  "dims": {
    "Dim1": "S7A2021",
    "Dim3": "1"
  },
  "lang": "EN"
}

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 ine-pt pack
{
  "mcpServers": {
    "ine-pt": {
      "url": "https://gateway.pipeworx.io/ine-pt/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 14, 2026