mcp-camara
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Server for Brazilian Chamber of Deputies (Câmara dos Deputados) 🇧🇷
Model Context Protocol (MCP) server that connects Claude, Cursor, Windsurf, and other AI assistants to the Brazilian Chamber of Deputies open data API — 62 tools covering deputies, bills, votes, committees, parties, and more.
English
What is this?
mcp-camara is a Model Context Protocol server that bridges any MCP-compatible AI assistant to the Brazilian Chamber of Deputies (Câmara dos Deputados) open data API. Once configured, your AI assistant can answer natural language questions about Brazilian federal legislation in real time — no API keys, no extra accounts, no cost.
Ask things like:
"Show me all bills about tax reform from 2024"
"What were the recent expenses of deputy 220593?"
"How did each party vote on PEC 45/2019?"
"List the committees that deputy Maria Santos is a member of"
The server handles authentication, caching, rate limiting, and data formatting automatically.
Quick Install
npx @aredes.me/mcp-camaraOr install globally:
npm install -g @aredes.me/mcp-camaraVia Smithery (one-click install for Claude Desktop):
npx -y @smithery/cli install @aredes.me/mcp-camara --client claudeConfiguration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"camara": {
"command": "npx",
"args": ["@aredes.me/mcp-camara"]
}
}
}Restart Claude Desktop, then ask: "List 5 deputies from São Paulo" to verify.
Cursor IDE
In your Cursor MCP settings:
{
"mcpServers": {
"camara": {
"command": "npx",
"args": ["@aredes.me/mcp-camara"]
}
}
}Windsurf IDE
{
"mcpServers": {
"camara": {
"command": "npx",
"args": ["@aredes.me/mcp-camara"]
}
}
}Continue.dev
{
"mcpServers": [
{
"name": "camara",
"command": "npx",
"args": ["@aredes.me/mcp-camara"]
}
]
}Cloudflare Workers (remote/production)
Deploy a globally distributed instance and point any MCP client to the SSE endpoint:
https://mcp-camara.cristianoaredes.workers.dev/sse62 Available Tools
Deputies — 15 tools
Tool | Description |
| List deputies with filters: name, party, state (UF), legislature |
| Full deputy profile: biography, contact, current status |
| Expenses and reimbursements with itemized breakdown |
| Floor speeches and parliamentary interventions |
| Event participation and attendance records |
| Parliamentary fronts and caucus memberships |
| Committees and legislative bodies the deputy participates in |
| Declared professions |
| Professional occupations |
| Legislative history and past mandates |
| Official photograph URL |
| Positions held on the Board of Directors |
| Leadership positions |
| Current and past roles |
| Individual voting record |
Propositions (Bills, Amendments) — 10 tools
Tool | Description |
| Search bills with filters: type (PL, PEC, etc.), year, author, status |
| Full proposition details including integral text and current status |
| Authors and co-authors |
| Related propositions and dependencies |
| All votes cast on a proposition |
| Full processing history and current legislative stage |
| Thematic classification |
| Attached documents and files |
| Legal references and citations |
| Reference list of all legislative proposal types |
Voting Sessions — 4 tools
Tool | Description |
| List voting sessions with date and proposition filters |
| Detailed results: approval status, vote counts |
| Individual deputy votes: yes, no, abstention, absence |
| Party leadership voting recommendations (orientações de bancada) |
Committees (Órgãos) — 5 tools
Tool | Description |
| List all committees, commissions, and legislative bodies |
| Committee details: jurisdiction and composition |
| Current and historical membership |
| Committee meetings, hearings, and sessions |
| Votes held in committee |
Political Parties — 6 tools
Tool | Description |
| List all registered political parties |
| Party details: ideology, leadership, history |
| Current members and affiliations |
| List parliamentary blocs and coalitions |
| Bloc composition and member parties |
| Party leadership positions |
Legislative Events — 7 tools
Tool | Description |
| List all legislative events with date and type filters |
| Event details: location, participants, schedule |
| Events organized by a specific committee or body |
| Events with a specific deputy's participation |
| Event agenda and discussion items |
| Reference: event status codes (scheduled, ongoing, completed, cancelled) |
| Reference: types of legislative events |
Reference Data — 15 tools
Tool | Description |
| All legislatures with date ranges |
| Deputy status codes (active, licensed, etc.) |
| Event status classifications |
| Proposition status codes |
| Legislative proposal types (PL, PEC, MPV, etc.) |
| Types of legislative bodies |
| Event type classifications |
| Voting types and procedures |
| Education levels |
| Brazilian states and territories |
| Municipalities by state |
| Committee status codes |
| Membership status codes |
| Committee position types |
| Leadership position types |
Requirements
Node.js >= 18.0.0
Any MCP-compatible AI client (Claude Desktop, Cursor, Windsurf, Continue.dev, etc.)
No API keys required — the Câmara API is free and open
Configuration Reference
All settings are optional and have sensible defaults:
# Transport mode: stdio (default), http, or sse
MCP_TRANSPORT=stdio
# Port for http/sse mode
MCP_HTTP_PORT=3000
# Câmara API endpoint (default shown)
CAMARA_API_BASE_URL=https://dadosabertos.camara.leg.br/api/v2
# Cache: time-to-live in seconds (default: 3600)
MCP_CACHE_TTL=3600
MCP_DISABLE_CACHE=false
# Rate limiting
MCP_DISABLE_RATE_LIMIT=false
# Logging: DEBUG, INFO, WARN, ERROR (default: INFO)
LOG_LEVEL=INFOCloudflare Workers Deployment
Deploy as a globally distributed, serverless MCP server:
# 1. Install dependencies
npm install
# 2. Build
npm run build
# 3. Create KV namespaces (once)
npm run workers:kv:create
# 4. Deploy to production
npm run workers:deploy:prodWorkers features: REST API endpoints, LRU cache with configurable TTL, KV-backed rate limiting, optional API key auth for REST endpoints, auto-generated OpenAPI spec at /openapi.json.
Development Setup
git clone https://github.com/cristianoaredes/mcp-camara.git
cd mcp-camara
npm install
npm run build
npm testRun in HTTP mode for local testing:
MCP_TRANSPORT=http MCP_HTTP_PORT=3000 node build/lib/bin/mcp-camara.jsThen:
# Health check
curl -i http://localhost:3000/health
# List all tools
curl http://localhost:3000/mcp -X POST -H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'
# Call a tool
curl http://localhost:3000/mcp -X POST -H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "proposicoes_listar", "arguments": {"siglaTipo": "PL", "ano": 2024}}}'Use Cases
Legislative tracking — follow bills (PLs, PECs, MPVs) from introduction to final vote
Deputy research — investigate voting records, expenses, speeches, and committee activity
Data journalism — extract structured legislative data for investigative reporting
Academic research — analyze voting patterns, party cohesion, and legislative behavior
Civic transparency tools — monitor deputy expenses and parliamentary activity
Civic chatbots — build AI assistants that answer questions about Brazilian legislation
Documentation
Guide | Description |
Environment variables and all settings | |
Practical examples for each tool category | |
Complete tool reference | |
Step-by-step Workers deployment | |
HTTP server documentation | |
Server-Sent Events transport | |
Common issues and solutions |
License
MIT — see LICENSE.
Data is provided by the Brazilian Chamber of Deputies Open Data API, which is free and public.
Built on Model Context Protocol by Anthropic.
Author
Related MCP server: mcp-camara
Português
O que é isso?
mcp-camara é um servidor Model Context Protocol (MCP) que conecta qualquer assistente de IA compatível com MCP à API de Dados Abertos da Câmara dos Deputados. Com ele configurado, seu assistente de IA responde perguntas em linguagem natural sobre legislação federal brasileira em tempo real — sem chaves de API, sem cadastros, sem custo.
Exemplos de perguntas:
"Mostre todos os projetos de lei sobre reforma tributária de 2024"
"Quais foram as despesas recentes do deputado 220593?"
"Como cada partido votou na PEC 45/2019?"
"Liste as comissões de que a deputada Maria Santos faz parte"
O servidor cuida de cache, rate limiting e formatação dos dados automaticamente.
Instalação Rápida
npx @aredes.me/mcp-camaraOu instale globalmente:
npm install -g @aredes.me/mcp-camaraVia Smithery (instalação em 1 clique para Claude Desktop):
npx -y @smithery/cli install @aredes.me/mcp-camara --client claudeConfiguração
Claude Desktop
Edite ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"camara": {
"command": "npx",
"args": ["@aredes.me/mcp-camara"]
}
}
}Reinicie o Claude Desktop e teste: "Liste 5 deputados de São Paulo".
Cursor, Windsurf, Continue.dev
A configuração JSON é a mesma — apenas adapte ao campo mcpServers de cada IDE.
Requisitos
Node.js >= 18.0.0
Qualquer cliente MCP (Claude Desktop, Cursor, Windsurf, Continue.dev, etc.)
Sem necessidade de chave de API — a API da Câmara é gratuita e pública
Licença
MIT — veja LICENSE.
Dados fornecidos pela API de Dados Abertos da Câmara dos Deputados.
Autor
Por Cristiano Arêdes
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Brazilian election and legislative data (MCP Político, MCP Legislativo) for Claude and ChatGPT.
MCP server for Brazilian Federal Senate open data (legislative, administrative, e-Cidadania).
JusPronto is case-management software for Brazilian law firms. Its remote MCP server (OAuth 2.1 with PKCE, per-permission scopes, audit log) lets Claude and ChatGPT read the firm's own cases, deadlines, agenda, recent court movements and case files with the page cited. Write actions require the lawyer's approval. Requires a JusPronto account.
AI-powered commodity price forecasts and Brazil trade intelligence via MCP. Access Brazilian exports and imports from MDIC/ComexStat since 2000, by HS4, HS6 and NCM code, partner country, USD FOB and kilograms — plus crop production, supply & demand, climate data and production forecasts for major commodities including soybeans, coffee, corn, beef and cocoa. Compare trade flows, markets, countries and time periods with like-for-like windows. Every answer identifies the measurement period and data source. 15 read-only tools. Metered in credits. Connect directly via Streamable HTTP — no installation required: https://mcp.kyrodata.com/mcp Authentication: Bearer key or OAuth 2.1 (PKCE). Official MCP registry: com.kyrodata/kyrodata
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables interaction with the Brazilian Chamber of Deputies Open Data API, providing access to information about legislators, legislative proposals, voting records, events, committees, and parliamentary activities through 57 typed and validated tools.63-
- AlicenseAqualityDmaintenanceAn MCP server that provides access to the Brazilian Chamber of Deputies open data API. It enables users to search for deputies, track their expenses, and query legislative information such as bills and API endpoints.61MIT
- AlicenseAqualityDmaintenanceMCP Server for accessing 36 Brazilian public data sources and 1 agent, enabling AI agents to query government data on economy, legislation, transparency, judiciary, elections, environment, health, and more.61MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that connects AI agents to 28 Brazilian public APIs, providing tools to query government data on economy, legislation, transparency, judiciary, elections, environment, health, and more.MIT