dk_speeches_in_debate

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

Every speech in one Folketing debate: pass the bill, motion or debate number (case, e.g. “L 71”, “B 12”, “F 57”, with session such as 20211 when the number is old) and/or a sitting date. Returns each agenda item with its speeches in order, speaker, party, Folketing actor id and the speech text (truncated per speech; max_chars). With a case, also returns the Folketing case id (sag_id) from its open data when available. Covers 2014-10-07 to 2022-06-07; the response states the coverage. Danish text.

Parameters

NameTypeRequiredDescription
casestringnoBill (L), motion (B) or debate (F) number, e.g. “L 71”. Numbers restart each session.
sessionstringnoFolketing session code, e.g. “20211” for 2021-22. Needed when the number exists in several sessions.
datestringnoSitting date, ISO. With no case, returns every agenda item of that day.
limitnumbernoMax speeches returned (default 40, max 100).
max_charsnumbernoMax characters of text per speech (default 1200). Use dk_speech_get for a full speech.

Example call

Arguments

{
  "case": "L 71",
  "session": "20211",
  "limit": 6
}

curl

curl -X POST https://gateway.pipeworx.io/denmark-speeches/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dk_speeches_in_debate","arguments":{"case":"L 71","session":"20211","limit":6}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('dk_speeches_in_debate', {
  "case": "L 71",
  "session": "20211",
  "limit": 6
});

Response shape

FieldTypeDescription
foundboolean
caseobject
datenull
agenda_itemsarray
total_speechesnumber
returnednumber
truncated_to_limitboolean
notesarray
coverageobject
data_as_ofstring
sourcestring
licencestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "case": {
      "type": "object",
      "properties": {
        "case_ref": {
          "type": "string"
        },
        "session": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "official_case_page": {
          "type": "string"
        },
        "other_sessions": {
          "type": "array",
          "items": {}
        },
        "folketing_case": {
          "type": "object",
          "properties": {
            "found": {
              "type": "boolean"
            },
            "sag_id": {
              "type": "number"
            },
            "number": {
              "type": "string"
            },
            "title": {
              "type": "string"
            }
          },
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    },
    "date": {
      "type": "null"
    },
    "agenda_items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "sitting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "agenda_item": {
            "type": "string"
          },
          "case_ref": {
            "type": "string"
          },
          "speeches_in_item": {
            "type": "number"
          },
          "speeches": {
            "type": "array",
            "items": {
              "type": [
                "object",
                null
              ],
              "properties": {
                "speech_id": {
                  "type": "string"
                },
                "speech_seq": {
                  "type": "number"
                },
                "date": {
                  "type": "string"
                },
                "sitting": {
                  "type": "string"
                },
                "session": {
                  "type": "string"
                },
                "meeting": {
                  "type": "string"
                },
                "speaker": {
                  "type": "string"
                },
                "speaker_party": {
                  "type": "string"
                },
                "speaker_actor_id": {
                  "type": "number"
                },
                "speaker_role": {
                  "type": "string"
                },
                "agenda_item": {
                  "type": "string"
                },
                "case_ref": {
                  "type": "string"
                },
                "case_session": {
                  "type": "string"
                },
                "official_case_page": {
                  "type": "string"
                },
                "words": {
                  "type": "number"
                },
                "text": {
                  "type": "string"
                },
                "truncated": {
                  "type": "boolean"
                }
              },
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": true
      }
    },
    "total_speeches": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated_to_limit": {
      "type": "boolean"
    },
    "notes": {
      "type": "array",
      "items": {}
    },
    "coverage": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "sittings": {
          "type": "number"
        },
        "speeches": {
          "type": "number"
        },
        "note": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "data_as_of": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "licence": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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

See Getting Started for client-specific install steps.

Regenerated from source · build November 26, 2026