
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 分