Openparliament Ca

v0.2.1
io.github.pipeworx-io/openparliament-ca Checked 4 days ago Published 1 month ago

OpenParliament.ca MCP — civic-tech mirror of the Parliament of Canada

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_debates

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.

ParameterTypeDescription
date_fromstringYYYY-MM-DD
date_tostringYYYY-MM-DD
limitnumber1-100 (default 20)
offsetnumber0-based offset
partystringParty slug (e.g. "liberal", "conservative", "ndp")
politicianstringMP slug, e.g. "justin-trudeau" (use list_politicians to find slugs)

list_bills

List Canadian Parliament bills from OpenParliament.ca, optionally filtered by parliament-session (e.g. "44-1"), sponsor politician slug, and status. Returns bill number, name, sponsor, and current status.

ParameterTypeDescription
limitnumber
offsetnumber
sessionstringParliament-session (e.g. "44-1")
sponsorstringSponsor politician slug
statusstring

get_bill

Fetch full detail for a Canadian Parliament bill by session (e.g. "44-1") and bill number (e.g. "C-318") — returns title, sponsor, status, and legislative history.

ParameterTypeDescription
number *stringBill number (e.g. "C-318")
session *stringSession (e.g. "44-1")

list_votes

List recorded votes in the Canadian Parliament from OpenParliament.ca, optionally filtered by session. Returns vote number, date, description, and yes/no/paired tallies.

ParameterTypeDescription
limitnumber
offsetnumber
sessionstring

list_politicians

Current + historic MPs.

ParameterTypeDescription
currentbooleanOnly currently sitting (default true)
limitnumber
namestringName fragment
offsetnumber
partystringParty slug
provincestringProvince code (e.g. "ON")

get_politician

Fetch a Canadian MP profile from OpenParliament.ca by politician slug — returns name, party, riding, province, election history, and links to their debate contributions.

ParameterTypeDescription
slug *stringPolitician slug

list_committees

List Canadian House of Commons committees from OpenParliament.ca, optionally filtered by session. Returns committee slug, name, and acronym for use with list_committee_meetings.

ParameterTypeDescription
limitnumber
offsetnumber
sessionstring

list_committee_meetings

Committee meetings (with witnesses + evidence).

ParameterTypeDescription
committee_slugstringCommittee slug filter
date_fromstring
date_tostring
limitnumber