brazil-parliament-mcp-server

v0.3.0 pre-1.0

Trace bills, votes, members, speeches, and quota expenses in Brazil’s National Congress via MCP. STDIO or Streamable HTTP.

brazil-parliament.caseyjhand.com/mcp
claude mcp add --transport http brazil-parliament-mcp-server https://brazil-parliament.caseyjhand.com/mcp
codex mcp add brazil-parliament-mcp-server --url https://brazil-parliament.caseyjhand.com/mcp
{
  "mcpServers": {
    "brazil-parliament-mcp-server": {
      "url": "https://brazil-parliament.caseyjhand.com/mcp"
    }
  }
}
gemini mcp add --transport http brazil-parliament-mcp-server https://brazil-parliament.caseyjhand.com/mcp
{
  "mcpServers": {
    "brazil-parliament-mcp-server": {
      "command": "bunx",
      "args": [
        "mcp-remote",
        "https://brazil-parliament.caseyjhand.com/mcp"
      ]
    }
  }
}
{
  "mcpServers": {
    "brazil-parliament-mcp-server": {
      "type": "http",
      "url": "https://brazil-parliament.caseyjhand.com/mcp"
    }
  }
}
curl -X POST https://brazil-parliament.caseyjhand.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl","version":"1.0.0"}}}'

Tools

9

brparl_get_bill

open-world

Read recorded steps, authors, the Câmara appreciation regime, and Senado deliberation and disposition for a Brazilian bill across identifiable chamber stages. Pass identifier alone or a chamber and ID from brparl_search_bills. Set include_related to false to omit relationship lists while paging through history. For recorded roll calls, call brparl_search_votes with the bill identifier.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_get_bill",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "chamber": {
      "description": "Chamber for a chamber-specific bill ID.",
      "type": "string",
      "enum": [
        "camara",
        "senado"
      ]
    },
    "id": {
      "description": "Positive decimal ID from brparl_search_bills. Pass chamber too.",
      "type": "string",
      "pattern": "^\\s*(?:0*[1-9][0-9]*)?\\s*$"
    },
    "identifier": {
      "description": "Bill citation such as PL 2338/2023 or PL2338/2023, or an exact Câmara selector from bill search such as camara:2645231. Use a space after a type containing digits.",
      "type": "string"
    },
    "include_related": {
      "default": true,
      "description": "Include related and attached bill lists for each stage.",
      "type": "boolean"
    },
    "history_offset": {
      "default": 0,
      "description": "Zero-based history offset to apply to each stage.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "history_limit": {
      "description": "Maximum history steps per stage. Defaults to 10 and caps at 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "include_related",
    "history_offset"
  ],
  "additionalProperties": false
}
view source ↗

brparl_get_member

open-world

Read a Brazilian deputy or senator by chamber and member ID, including former senators. Request optional history, committees, affiliations, leaves, professions, occupations, or external mandates as applicable. Find member IDs with brparl_search_members.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_get_member",
    "arguments": {
      "chamber": "<chamber>",
      "id": "<id>"
    }
  }
}
view source ↗

brparl_get_vote

open-world

Read one vote by its chamber-specific ID. Filter members by party, state, or position and follow next_offset with the same filters to page the published rows. Tallies cover the full published roll. Secret votes can show attendance and aggregate totals.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_get_vote",
    "arguments": {
      "chamber": "<chamber>",
      "id": "<id>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "chamber": {
      "type": "string",
      "enum": [
        "camara",
        "senado"
      ],
      "description": "Chamber that issued the vote ID."
    },
    "id": {
      "type": "string",
      "pattern": "^\\s*[0-9]+\\s*[-/]\\s*[0-9]+\\s*$",
      "description": "Câmara item-sequence or Senado session/session-vote ID from brparl_search_votes."
    },
    "party": {
      "description": "Party abbreviation recorded at the vote.",
      "type": "string"
    },
    "state": {
      "description": "State abbreviation recorded at the vote.",
      "type": "string"
    },
    "position": {
      "description": "Normalized member vote or attendance classification.",
      "type": "string",
      "enum": [
        "yes",
        "no",
        "abstain",
        "obstruction",
        "absent",
        "present_no_vote",
        "presiding",
        "other"
      ]
    },
    "offset": {
      "default": 0,
      "description": "Zero-based offset within the filtered member rows.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Member rows per page. Defaults to 25 and caps at 513.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "chamber",
    "id",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

brparl_list_reference

open-world

List official Câmara and Senado reference terms for chambers, bill types, situations, subjects, parties, committees, legislatures, vote codes, expense categories, or states. Use the published codes and abbreviations when filtering other brparl tools.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_list_reference",
    "arguments": {
      "topic": "<topic>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "enum": [
        "chambers",
        "bill_types",
        "situations",
        "subjects",
        "parties",
        "committees",
        "legislatures",
        "vote_codes",
        "expense_types",
        "states"
      ],
      "description": "Reference vocabulary to return"
    },
    "chamber": {
      "default": "both",
      "description": "Chamber whose vocabulary to return. Both lists Câmara before Senado.",
      "type": "string",
      "enum": [
        "camara",
        "senado",
        "both"
      ]
    },
    "offset": {
      "default": 0,
      "description": "Zero-based result offset.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Results per page. Defaults to 25 and caps at 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "topic",
    "chamber",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

brparl_search_bills

open-world

Find bills in Câmara dos Deputados and Senado Federal by type, number, identifier year, Portuguese keywords, author, or presentation dates. Use author_state for Câmara and in_progress for Senado. Set year to search older records. Call brparl_get_bill with an identifier or chamber and ID for status and history.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_search_bills",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "chamber": {
      "default": "both",
      "description": "Select Câmara, Senado, or both chambers.",
      "type": "string",
      "enum": [
        "camara",
        "senado",
        "both"
      ]
    },
    "type": {
      "description": "Bill type abbreviation such as PL, PEC, or PLP.",
      "type": "string"
    },
    "number": {
      "description": "Positive bill number such as 2338 or 2.338, with an optional Senado reissue sequence such as 2163-41.",
      "type": "string"
    },
    "year": {
      "description": "Four-digit year in the bill identifier.",
      "type": "integer",
      "minimum": 1000,
      "maximum": 9999
    },
    "keywords": {
      "description": "Portuguese keywords describing the bill.",
      "type": "string"
    },
    "author": {
      "description": "Bill author name.",
      "type": "string"
    },
    "author_id": {
      "description": "Member ID from brparl_search_members. Select that member’s chamber.",
      "type": "string",
      "pattern": "^\\s*(?:0*[1-9][0-9]*)?\\s*$"
    },
    "author_state": {
      "description": "Câmara author state abbreviation, such as SP.",
      "type": "string"
    },
    "subject": {
      "description": "Subject code from brparl_list_reference with topic=subjects. Select the code’s chamber. Published classification coverage varies by period.",
      "type": "string",
      "pattern": "^\\s*(?:0*[1-9][0-9]*)?\\s*$"
    },
    "norm_number": {
      "description": "Senado generated law number as a string, such as 14133 or 14.133.",
      "type": "string"
    },
    "norm_year": {
      "description": "Four-digit year of the law generated by a Senado process.",
      "type": "integer",
      "minimum": 1000,
      "maximum": 9999
    },
    "in_progress": {
      "description": "Filter Senado processes by whether they remain in progress.",
      "type": "boolean"
    },
    "start_date": {
      "description": "Inclusive presentation start day in YYYY-MM-DD. Pass end_date too.",
      "type": "string",
      "pattern": "^\\s*(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?\\s*$"
    },
    "end_date": {
      "description": "Inclusive presentation end day in YYYY-MM-DD. Pass start_date too.",
      "type": "string",
      "pattern": "^\\s*(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?\\s*$"
    },
    "offset": {
      "default": 0,
      "description": "Zero-based result offset.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Results per page. Defaults to 25 and caps at 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "chamber",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

brparl_search_expenses

open-world

Read one Brazilian deputy’s CEAP or senator’s CEAPS quota receipts, with totals by category and supplier over the full filtered set. Amounts are BRL and descriptions are in Portuguese. Find the member ID with brparl_search_members.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_search_expenses",
    "arguments": {
      "chamber": "<chamber>",
      "member_id": "<member_id>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "chamber": {
      "type": "string",
      "enum": [
        "camara",
        "senado"
      ],
      "description": "Chamber of the member."
    },
    "member_id": {
      "type": "string",
      "pattern": "^0*[1-9]\\d*$",
      "description": "Positive parliamentary member ID from brparl_search_members."
    },
    "year": {
      "description": "Four-digit quota accounting year. Defaults to the last six months in Câmara or the current year in Senado.",
      "type": "integer",
      "minimum": 1000,
      "maximum": 9999
    },
    "month": {
      "description": "Quota accounting month, 1 through 12.",
      "type": "integer",
      "minimum": 1,
      "maximum": 12
    },
    "supplier_id": {
      "description": "Supplier CNPJ in either chamber, or CPF in Câmara, with or without punctuation.",
      "type": "string",
      "pattern": "^(?:\\d{11}|\\d{14}|\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}|\\d{2}\\.\\d{3}\\.\\d{3}\\/\\d{4}-\\d{2})$"
    },
    "offset": {
      "default": 0,
      "description": "Zero-based result offset.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Results per page. Defaults to 25 and caps at 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "chamber",
    "member_id",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

brparl_search_members

open-world

Find Brazilian deputies and senators by Portuguese parliamentary name, party, state, sex, or legislature. Request in_office for members currently in exercise. Use a returned chamber and ID with brparl_get_member.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_search_members",
    "arguments": {}
  }
}
view source ↗

brparl_search_speeches

open-world

Read Portuguese speeches by a deputy or senator, or read all Senado plenary speeches within one month. Search the specified window with contains. Request include_text for complete verbatim transcripts.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_search_speeches",
    "arguments": {
      "chamber": "<chamber>"
    }
  }
}
view source ↗

brparl_search_votes

open-world

Find votes by date range, bill identifier, Câmara body, or participating senator. Symbolic approvals may appear only in bill history. Pass the returned chamber and ID to brparl_get_vote for the paged member roll and leadership orientations. Pass next_offset as offset with the same filters to continue the roll.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brparl_search_votes",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "chamber": {
      "default": "both",
      "description": "Search Câmara, Senado, or both. Combined results list Câmara first.",
      "type": "string",
      "enum": [
        "camara",
        "senado",
        "both"
      ]
    },
    "start_date": {
      "description": "Inclusive YYYY-MM-DD start. Pass end_date as well. Unscoped Câmara and Senado searches default to 30 days and 12 months, respectively.",
      "type": "string",
      "pattern": "^\\s*(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?\\s*$"
    },
    "end_date": {
      "description": "Inclusive YYYY-MM-DD end. A date-only Senado window is at most one calendar year.",
      "type": "string",
      "pattern": "^\\s*(?:[0-9]{4}-[0-9]{2}-[0-9]{2})?\\s*$"
    },
    "bill": {
      "description": "Bill citation such as PL 2338/2023 or PL2338/2023, or a camara: selector from bill search. Use a space after a type containing digits. Includes associated procedure votes.",
      "type": "string"
    },
    "body": {
      "description": "Use plenary for either chamber or a positive Câmara body ID from brparl_list_reference with topic=committees.",
      "type": "string"
    },
    "senator_id": {
      "description": "Positive Senado member ID from brparl_search_members. Matches published participation.",
      "type": "string",
      "pattern": "^\\s*(?:0*[1-9][0-9]*)?\\s*$"
    },
    "offset": {
      "default": 0,
      "description": "Zero-based result offset.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Results per page. Defaults to 25 and caps at 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "chamber",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

Extensions

1

io.modelcontextprotocol/skills

{
  "directoryRead": true
}