get_entity_by_id
Pack: folketinget-dk · Endpoint: https://gateway.pipeworx.io/folketinget-dk/mcp
Fetch a single Folketinget entity record by its numeric id, e.g. Sag(1). Returns the record object directly (not wrapped in value). Use $expand to inline related entities.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
entity | string | yes | |
id | number | yes | Numeric id of the record. |
expand | string | no | OData $expand — related entities to inline, e.g. “Sagstrin” or “Stemme”. |
select | string | no | OData $select — comma-separated fields. |
Example call
curl -X POST https://gateway.pipeworx.io/folketinget-dk/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_entity_by_id","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"folketinget-dk": {
"url": "https://gateway.pipeworx.io/folketinget-dk/mcp"
}
}
}
See Getting Started for client-specific install steps.