
Senado Br Mcp
io.github.SidneyBissoliPublished by GitHub account SidneyBissoliv1.2.0Updated Oct 24, 2026
MCP Server for Brazilian Federal Senate open data (legislators, bills, votes)
Overview
Lets an assistant query Brazilian Federal Senate open data on senators, bills, votes, committees, and citizen participation.
- What you can do
- Provides tools that read Brazilian Federal Senate open data: listing and searching senators, retrieving bills and their procedural history and texts, viewing plenary votes and how individual senators voted, and browsing committees, meetings, and agendas. It also covers the e-Cidadania participation platform through web scraping, including public consultations, citizen legislative ideas, and interactive events. Responses are structured JSON with source and query-time metadata, and errors include suggested next steps.
- When to use it
- Useful when you need live, sourced Brazilian legislative information in a conversation instead of relying on a model's training data — for example tracking a bill's progress, checking how a senator voted, or surveying citizen consultations and ideas. It is aimed at Portuguese-language legislative research and civic monitoring.
- Requirements
- Runs locally as a Node.js process (Node.js 18+ and npm) via npx or a global install, or can be reached over HTTP as a remote endpoint. No authentication, API keys, or environment variables are declared for the stdio package; the Senate open-data API is public. Network access is required. The README notes the repository is deprecated and archived, with the maintained server published under the same npm package name from version 3.2.1 onward.
Installation
In SourceWeft
- Open Senado Br Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
⚠️ Deprecated — this repository has moved
This server is no longer maintained here. The Brazilian Senate MCP server now lives at senado-br-mcp-cloudflare — 66 tools with level-1 provenance, available both hosted (
https://senado.sidneybissoli.com/mcp, no setup) and via npm/stdio (npx senado-br-mcp, v3.x). The npm packagesenado-br-mcpnow publishes that server (v3.2.1+); versions< 3.0.0here are deprecated. Please migrate — this repository is archived.
Senado Brasil MCP Server
[npm version] [npm downloads] [node] [MCP Registry] [GitHub stars] [GitHub Sponsors] [License: MIT]
MCP server for Brazilian Federal Senate open data (legislators, bills, votes, committees).
Servidor MCP (Model Context Protocol) que permite acesso estruturado aos dados abertos do Senado Federal do Brasil, democratizando o acesso a informações legislativas através de conversas com IA.
See it in action
Ask your assistant, in plain Portuguese:
- "Liste os senadores de SP em exercício." →
senado_listar_senadores - "Mostre a tramitação da PEC 45/2019." →
senado_buscar_materias+senado_obter_materia - "Quais ideias legislativas mais apoiadas estão abertas no e-Cidadania?" →
senado_ecidadania_listar_ideias
The answers come live from the Senate's official open-data APIs — real data with provenance, not numbers guessed from training data.
Features
- 33 tools for accessing Senate data
- Real-time data from official API
- e-Cidadania integration: citizen participation data via web scraping
- Structured JSON responses
- Error handling with actionable suggestions
- TypeScript with full type safety
- Two access modes: stdio (npm) and HTTP remote
Two Ways to Use
Both modes provide access to the same 33 tools.
Option 1: stdio/npm (Local)
Installation
Using npx (Recommended):
Global Installation:
From Source:
Claude Desktop Configuration
Add to your claude_desktop_config.json:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Option 2: HTTP Remote (Cloud)
No installation required. Connect directly via URL.
Claude Desktop Configuration
In Claude Desktop settings, go to "Add Custom Connector" and enter:
- Name: senado-br-mcp
- URL:
https://senado-br-mcp.up.railway.app/mcp
Endpoints
Rate Limiting
The HTTP server has a monthly request limit to stay within free tier:
- Alerts are sent at 50%, 80%, and 100% usage
- When limit is reached, use the npm version instead
- Limit resets on the 1st of each month
Available Tools
Senators (Senadores)
Legislative Matters (Matérias)
Votes (Votações)
Committees (Comissões)
Agenda
Lookup/Auxiliary (Auxiliares)
e-Cidadania (Citizen Participation)
Tools for accessing e-Cidadania data - the Senate's citizen participation platform.
Public Consultations (Consultas Públicas)
Legislative Ideas (Ideias Legislativas)
Interactive Events (Eventos Interativos)
Analysis Tools
Note: e-Cidadania tools use web scraping with rate limiting and caching. If the e-Cidadania website is temporarily unavailable, API tools (senators, bills, votes) remain operational.
Usage Examples
List senators from São Paulo
Search for Constitutional Amendments in 2024
Get recent votes
Find a senator by name
Get CCJ committee members
Get polarized public consultations
Get most supported citizen ideas
Find upcoming interactive events
Response Format
All tools return structured JSON responses:
Success Response
Error Response
Development
Prerequisites
- Node.js 18+
- npm
Setup
Build
Development Mode
Type Check
Test with MCP Inspector
Self-Hosting HTTP Server
You can host your own HTTP server instance.
Local
Railway
- Fork this repository
- Connect Railway to your GitHub
- Deploy (auto-detects configuration from
railway.json) - Set environment variables:
MONTHLY_REQUEST_LIMIT(default: 10000)ALERT_WEBHOOK_URL(optional, for notifications)
Environment Variables
Data Sources
Official API
- API: Senado Federal - Dados Abertos
- Documentation: https://legis.senado.leg.br/dadosabertos/docs/
- Format: JSON
- Authentication: None (public data)
e-Cidadania (Web Scraping)
- Website: e-Cidadania
- Content: Public consultations, legislative ideas, interactive events
- Method: HTML scraping with rate limiting (1 req/sec) and caching (15min-24h)
- Fallback: If e-Cidadania is unavailable, API tools continue working
Bill Types (Tipos de Matéria)
License
MIT
Author
Sidney da Silva Pereira Bissoli
Repository
https://github.com/SidneyBissoli/senado-br-mcp
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Changelog
1.1.0
- Added e-Cidadania integration (11 new tools)
- Web scraping infrastructure with rate limiting and caching
- Public consultations analysis (polarized/consensual)
- Legislative ideas tracking
- Interactive events monitoring
- Survey topic suggestion tool
1.0.0
- Initial release
- 22 tools for Senate data access
- Senators, bills, votes, committees, agenda, and lookup tools
Source: README.md at commit d95b8c3
Tools
0Version history
1- v1.2.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts