variable_values
Pack: ine-es · 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/variable_values for the schema, then POST the same URL with its arguments for the data.
List the values of an INE classification variable (e.g. provinces, age groups, ECOICOP groups). With no variableId, lists all variables; with a variableId, lists that variable’s allowed values (each has an Id, Codigo, Nombre). Useful for understanding the breakdowns inside tables.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
variableId | string | no | Numeric variable Id, e.g. “115”. Omit to list all variables. |
lang | string | no | Response language. Default EN. |
Example call
Arguments
{
"variableId": "115"
}
curl
curl -X POST https://gateway.pipeworx.io/ine-es/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"variable_values","arguments":{"variableId":"115"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('variable_values', {
"variableId": "115"
});
More examples
{
"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-es pack
{
"mcpServers": {
"ine-es": {
"url": "https://gateway.pipeworx.io/ine-es/mcp"
}
}
}
See Getting Started for client-specific install steps.