Compatible with every major AI agent and IDE
What is the ALESP (Assembleia SP) MCP Server?
Connect to the ALESP (Assembleia Legislativa do Estado de São Paulo) open data portal to monitor legislative activities in real-time. This MCP server allows AI agents to query official information about state deputies, cabinet expenses, committee meetings, and the full lifecycle of legislative proposals.
What you can do
- Deputy Tracking — List all current state deputies and their political affiliations directly from the official registry.
- Financial Transparency — Query reimbursed cabinet expenses for any deputy, with support for historical data by year.
- Legislative Progress — Track the status, authors, and full history of proposals, bills, and other documents.
- Committee Monitoring — Access details about permanent committees, including their members, meetings, and voting records.
- Administrative Data — Inspect the organizational structure, staff placements, and job history within the assembly.
How it works
- Subscribe to this server
- No complex API keys are required for this public data source
- Start auditing legislative transparency from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Journalists & Researchers — quickly gather data on deputy expenses and voting patterns for reporting.
- Legal Professionals — monitor the progress of specific bills and legislative norms in real-time.
- Citizens & Activists — promote transparency by easily accessing public records through natural conversation.
Built-in capabilities (18)
List upcoming and past events scheduled at the Assembly
List permanent committees of the assembly
List members of the permanent committees
List meetings of the permanent committees
List votes of the permanent committees
List all state deputies in the current legislature
Optionally provide a year for historical data. List reimbursed expenses for each deputy cabinet
Get full history and status of proposals
Get current status of proposals
List authors and co-signers for each legislative document
List job history of ALESP staff
List state norms (laws, decrees, resolutions)
List themes/topics of state norms
List types of state norms
List current placements (lotações) of ALESP staff
List political parties participating in the legislative process
Get the URL for the comprehensive list of all legislative proposals (ZIP)
List Administrative Units (UAs) of ALESP
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and ALESP (Assembleia SP) tool infrastructure. Connect 18 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.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add ALESP (Assembleia SP) 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 ALESP (Assembleia SP) 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
ALESP (Assembleia SP) in Mastra AI
ALESP (Assembleia SP) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect ALESP (Assembleia SP) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for ALESP (Assembleia SP) in Mastra AI
The ALESP (Assembleia SP) 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. All 18 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* 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
How Vinkius secures
ALESP (Assembleia SP) for Mastra AI
Every tool call from Mastra AI to the ALESP (Assembleia SP) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How can I check the reimbursed expenses for a specific deputy's cabinet?
You can use the get_despesas_gabinetes tool. You can also provide a specific year to retrieve historical expense data.
Is it possible to track the full history of a legislative proposal?
Yes! Use the get_documento_andamento tool to fetch the XML data tracking the full history and status of proposals.
How do I see who are the members of the permanent committees?
Use the get_comissoes_membros tool to list all members currently serving on the assembly's permanent committees.
How does Mastra AI connect to MCP servers?
Create an 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?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Mingdao Cloud
10 toolsEnterprise zero-code application and workflow platform — manage worksheets, records, and automations via AI.

Dropbox Sign
12 toolsGet documents signed electronically with legally binding e-signatures, templates, and audit trails your business can trust.

Docupilot
10 toolsEquip your AI agent to automate document creation, manage templates, and track merges via the Docupilot API.

Manage your LinkedIn presence — audit organizations, posts, and profile via AI.
