Câmara dos Deputados (v2) MCP Server for Mastra AIGive Mastra AI instant access to 49 tools to Get Bloco, Get Deputado, Get Evento, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Câmara dos Deputados (v2) through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The Câmara dos Deputados (v2) MCP Server for Mastra AI is a standout in the Knowledge Management category — giving your AI agent 49 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"camara-dos-deputados-v2": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Câmara dos Deputados (v2) Agent",
instructions:
"You help users interact with Câmara dos Deputados (v2) " +
"using 49 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Câmara dos Deputados (v2)?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Câmara dos Deputados (v2) MCP Server
Connect to the Chamber of Deputies Open Data API to monitor the Brazilian legislative branch. This server allows AI agents to query detailed information about deputies, their spending, and their political performance through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and Câmara dos Deputados (v2) tool infrastructure. Connect 49 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Deputy Profiles — Search for deputies by name, party, state, or legislature and get full biographical details.
- Expense Tracking (CEAP) — Monitor the use of the Parliamentary Quota (CEAP), filtering by year, month, and supplier CNPJ.
- Legislative Activity — Access transcripts of speeches, participation in events, and membership in committees or organs.
- Political Affiliations — List parliamentary fronts and historical mandate data for any deputy.
- Professional Background — Inspect declared professions and previous occupations of elected officials.
The Câmara dos Deputados (v2) MCP Server exposes 49 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 49 Câmara dos Deputados (v2) tools available for Mastra AI
When Mastra AI connects to Câmara dos Deputados (v2) through Vinkius, your AI agent gets direct access to every tool listed below — spanning brazil-politics, legislative-transparency, public-spending, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get bloco on Câmara dos Deputados (v2)
Get details of a block
Get deputado on Câmara dos Deputados (v2)
Get details of a specific deputy
Get evento on Câmara dos Deputados (v2)
Get details of an event
Get frente on Câmara dos Deputados (v2)
Get details of a parliamentary front
Get orgao on Câmara dos Deputados (v2)
Get details of an organ
Get partido on Câmara dos Deputados (v2)
Get details of a party
Get proposicao on Câmara dos Deputados (v2)
Get details of a proposition
Get votacao on Câmara dos Deputados (v2)
Get details of a specific voting
List blocos on Câmara dos Deputados (v2)
List active parliamentary blocks
List deputado despesas on Câmara dos Deputados (v2)
List expenses reimbursed via Parliamentary Quota for a deputy
List deputado discursos on Câmara dos Deputados (v2)
List transcripts of speeches made by the deputy
List deputado eventos on Câmara dos Deputados (v2)
List events the deputy participated in
List deputado frentes on Câmara dos Deputados (v2)
List parliamentary fronts the deputy belongs to
List deputado historico on Câmara dos Deputados (v2)
List historical data of the deputy mandates
List deputado ocupacoes on Câmara dos Deputados (v2)
List professional occupations of the deputy
List deputado orgaos on Câmara dos Deputados (v2)
List committees and other organs the deputy is a member of
List deputado profissoes on Câmara dos Deputados (v2)
List declared professions of the deputy
List deputados on Câmara dos Deputados (v2)
List deputies (deputados)
List despesas cota on Câmara dos Deputados (v2)
Search for expenses across multiple deputies (CEAP)
List evento deputados on Câmara dos Deputados (v2)
List deputies present at the event
List evento orgaos on Câmara dos Deputados (v2)
List organs responsible for the event
List evento pauta on Câmara dos Deputados (v2)
List the agenda (items to be discussed/voted) for an event
List evento votacoes on Câmara dos Deputados (v2)
List votings that occurred during the event
List eventos on Câmara dos Deputados (v2)
List events (sessions, hearings, meetings)
List frente membros on Câmara dos Deputados (v2)
List members of the parliamentary front
List frentes on Câmara dos Deputados (v2)
List parliamentary fronts
List legislatura mesa on Câmara dos Deputados (v2)
List members of the Board of Directors for that legislature
List legislaturas on Câmara dos Deputados (v2)
List legislatures (four-year periods of parliamentary work)
List orgao membros on Câmara dos Deputados (v2)
List current members and their roles in the organ
List orgao votacoes on Câmara dos Deputados (v2)
List votings held within the organ
List orgaos on Câmara dos Deputados (v2)
List organs (Committees, Councils, Board of Directors)
List partido membros on Câmara dos Deputados (v2)
List deputies currently or previously affiliated with the party
List partidos on Câmara dos Deputados (v2)
List political parties
List proposicao autores on Câmara dos Deputados (v2)
List authors of the proposition
List proposicao relacionadas on Câmara dos Deputados (v2)
List other propositions related to this one
List proposicao temas on Câmara dos Deputados (v2)
List areas of interest/themes associated with the proposition
List proposicao tramitacoes on Câmara dos Deputados (v2)
List history of the proposition progress
List proposicao votacoes on Câmara dos Deputados (v2)
List votings related to the proposition
List proposicoes on Câmara dos Deputados (v2)
List propositions (projects of law, amendments, etc)
List ref deputados sigla uf on Câmara dos Deputados (v2)
List state abbreviations
List ref eventos cod situacao evento on Câmara dos Deputados (v2)
List status codes for events
List ref eventos cod tipo evento on Câmara dos Deputados (v2)
List types of events
List ref orgaos cod tipo orgao on Câmara dos Deputados (v2)
List types of organs
List ref proposicoes cod situacao on Câmara dos Deputados (v2)
List status codes for propositions
List ref proposicoes cod tema on Câmara dos Deputados (v2)
List theme codes for propositions
List ref proposicoes sigla tipo on Câmara dos Deputados (v2)
List types of propositions (PEC, PL, etc)
List votacao orientacoes on Câmara dos Deputados (v2)
List voting recommendations given by party leaders
List votacao votos on Câmara dos Deputados (v2)
List individual votes cast by deputies (for nominal votings)
List votacoes on Câmara dos Deputados (v2)
List votings
Connect Câmara dos Deputados (v2) to Mastra AI via MCP
Follow these steps to wire Câmara dos Deputados (v2) into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the Câmara dos Deputados (v2) MCP Server
Mastra AI provides unique advantages when paired with Câmara dos Deputados (v2) through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Câmara dos Deputados (v2) without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every Câmara dos Deputados (v2) tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Câmara dos Deputados (v2) + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Câmara dos Deputados (v2) MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Câmara dos Deputados (v2), process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Câmara dos Deputados (v2) as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Câmara dos Deputados (v2) on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Câmara dos Deputados (v2) tools alongside other MCP servers
Example Prompts for Câmara dos Deputados (v2) in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Câmara dos Deputados (v2) immediately.
"List all deputies from the state of Rio de Janeiro (RJ) belonging to the PL party."
"Show me the expenses for deputy ID 204556 for the year 2023."
"What committees and organs does deputy ID 178835 belong to?"
Troubleshooting Câmara dos Deputados (v2) MCP Server with Mastra AI
Common issues when connecting Câmara dos Deputados (v2) to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpCâmara dos Deputados (v2) + Mastra AI FAQ
Common questions about integrating Câmara dos Deputados (v2) MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
Zoho Projects
9 toolsManage projects, tasks, and milestones via the Zoho Projects V3 API.

Loop Subscriptions
9 toolsSubscription management for Shopify — manage recurring orders and customers via Loop.

MightyCall
6 toolsSet up a professional virtual phone system with call routing, voicemail, and analytics that makes your small team sound big.

Tower
10 toolsLightweight project management and team collaboration platform — manage tasks, projects, and discussions via AI.
