list_subjects
Pack: dst-dk · Endpoint: https://gateway.pipeworx.io/dst-dk/mcp
Browse the Statistics Denmark subject tree (People, Labour, Economy, Business, Environment, …). Pass a subject id to drill into its children; set recursive to expand the whole subtree.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
subjects | string | no | Comma-separated subject id(s) to drill into (e.g. “1”). Omit for the top-level tree. |
recursive | boolean | no | Expand all descendant subjects (default false). |
lang | string | no | Language: “en” (default) or “da”. |
Example call
Arguments
{
"subjects": "1"
}
curl
curl -X POST https://gateway.pipeworx.io/dst-dk/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_subjects","arguments":{"subjects":"1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('list_subjects', {
"subjects": "1"
});
More examples
{
"recursive": true,
"lang": "en"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"dst-dk": {
"url": "https://gateway.pipeworx.io/dst-dk/mcp"
}
}
}
See Getting Started for client-specific install steps.