get_indicator
Pack: ine-pt · Endpoint: https://gateway.pipeworx.io/ine-pt/mcp
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
| Name | Type | Required | Description |
|---|---|---|---|
varcd | string | yes | |
dims | object | no | Dimension 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, …]. |
lang | string | no | Response 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, or use one-click install buttons:
{
"mcpServers": {
"ine-pt": {
"url": "https://gateway.pipeworx.io/ine-pt/mcp"
}
}
}
See Getting Started for client-specific install steps.