You're viewing a demo portfolio

Join the waitlist
PRSM

search_debates

Active

Tool of openparliament-ca

declared in 0.1.0

List Hansard speeches (debate contributions) by a specific MP and/or party, optionally within a date range. Returns who spoke, when, and the speech text. IMPORTANT: the OpenParliament API has NO free-text/topic search — you must filter by `politician` (MP slug; find one via list_politicians) and/or `party`. There is no way to search debates by subject keyword.

Parameters schema

{
  "type": "object",
  "examples": [
    {
      "limit": 10,
      "politician": "justin-trudeau"
    },
    {
      "limit": 50,
      "party": "liberal",
      "date_to": "2024-12-31",
      "date_from": "2024-01-01"
    }
  ],
  "properties": {
    "limit": {
      "type": "number",
      "description": "1-100 (default 20)"
    },
    "party": {
      "type": "string",
      "description": "Party slug (e.g. \"liberal\", \"conservative\", \"ndp\")"
    },
    "offset": {
      "type": "number",
      "description": "0-based offset"
    },
    "date_to": {
      "type": "string",
      "description": "YYYY-MM-DD"
    },
    "date_from": {
      "type": "string",
      "description": "YYYY-MM-DD"
    },
    "politician": {
      "type": "string",
      "description": "MP slug, e.g. \"justin-trudeau\" (use list_politicians to find slugs)"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

openparliament-ca

https://github.com/pipeworx-io/mcp-openparliament-ca

2/7 registries
View full server →