
Senado Br Mcp
io.github.SidneyBissoli由 GitHub 账号 SidneyBissoli 发布v1.2.0更新于 Oct 24, 2026
MCP Server for Brazilian Federal Senate open data (legislators, bills, votes)
概览
让助手查询巴西联邦参议院公开数据,包括议员、法案、投票、委员会和公民参与信息。
- 可以做什么
- 提供读取巴西联邦参议院公开数据的工具:列出和搜索参议员、获取法案及其审议进程和文本、查看全体会议投票及每位参议员的投票情况,以及浏览委员会、会议和议程。它还通过网页抓取覆盖 e-Cidadania 公民参与平台,包括公众咨询、公民立法提案和互动活动。返回结果为结构化 JSON,带有数据来源和查询时间元数据,错误信息会给出后续操作建议。
- 适用场景
- 适合在对话中获取实时且有来源的巴西立法信息,而不是依赖模型的训练数据,例如跟踪法案进展、查看某位参议员的投票记录,或了解公民咨询和提案。主要面向葡萄牙语的立法研究与公民监督场景。
- 运行要求
- 作为本地 Node.js 进程运行(需要 Node.js 18+ 和 npm),可通过 npx 或全局安装启动,也可通过 HTTP 远程端点访问。stdio 包未声明认证、API 密钥或环境变量;参议院公开数据 API 为公开接口。需要网络访问。README 说明该仓库已弃用并归档,维护中的服务器自 3.2.1 版起以同一 npm 包名发布。
安装
在 SourceWeft 中
- 打开 控制台中的 Senado Br Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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
来源:README.md,提交 d95b8c3
工具
0版本历史
1- v1.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分