list_politicians

Pack: openparliament-ca · Endpoint: https://gateway.pipeworx.io/openparliament-ca/mcp

Current + historic MPs.

Parameters

NameTypeRequiredDescription
currentbooleannoOnly currently sitting (default true)
partystringnoParty slug
provincestringnoProvince code (e.g. “ON”)
namestringnoName fragment
limitnumberno
offsetnumberno

Example call

Arguments

{
  "current": true,
  "party": "liberal"
}

curl

curl -X POST https://gateway.pipeworx.io/openparliament-ca/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_politicians","arguments":{"current":true,"party":"liberal"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('list_politicians', {
  "current": true,
  "party": "liberal"
});

More examples

{
  "name": "Smith",
  "province": "ON",
  "limit": 20
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "List of current and historic Members of Parliament with pagination"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "openparliament-ca": {
      "url": "https://gateway.pipeworx.io/openparliament-ca/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026