Portal da Transparência (CGU) MCP Server for Mastra AIGive Mastra AI instant access to 9 tools to Get Auxilio Emergencial Beneficiario Por Municipio, Get Auxilio Emergencial Por Cpf Ou Nis, Get Auxilio Emergencial Por Municipio, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Portal da Transparência (CGU) through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
Ask AI about this MCP Server for Mastra AI
The Portal da Transparência (CGU) MCP Server for Mastra AI is a standout in the Data Analytics category — giving your AI agent 9 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"portal-da-transparencia-cgu": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Portal da Transparência (CGU) Agent",
instructions:
"You help users interact with Portal da Transparência (CGU) " +
"using 9 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Portal da Transparência (CGU)?"
);
console.log(result.text);
}
main();
* 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
About Portal da Transparência (CGU) MCP Server
Connect to the Portal da Transparência (CGU) and audit Brazilian public spending and social programs directly through your AI agent.
Mastra's agent abstraction provides a clean separation between LLM logic and Portal da Transparência (CGU) tool infrastructure. Connect 9 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.
What you can do
- Social Benefits — Query availability and withdrawals for Bolsa Família and Auxílio Emergencial using CPF, NIS, or municipality codes.
- Public Expenses — Fetch detailed expense documents and payment records for specific beneficiaries or companies.
- Institutional Data — List and search for government organizations registered in the SIAFI system.
- Environmental & Labor Grants — Access records for Seguro Defeso using specific identification codes.
- Local Auditing — Analyze benefit distribution across different Brazilian municipalities for regional insights.
The Portal da Transparência (CGU) MCP Server exposes 9 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 9 Portal da Transparência (CGU) tools available for Mastra AI
When Mastra AI connects to Portal da Transparência (CGU) through Vinkius, your AI agent gets direct access to every tool listed below — spanning transparency, brazil-government, public-spending, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get auxilio emergencial beneficiario por municipio on Portal da Transparência (CGU)
Restricted API limit applies. Get Auxilio Emergencial beneficiaries by municipality
Get auxilio emergencial por cpf ou nis on Portal da Transparência (CGU)
Restricted API limit applies. Get Auxilio Emergencial by CPF or NIS
Get auxilio emergencial por municipio on Portal da Transparência (CGU)
Restricted API limit applies. Get Auxilio Emergencial by municipality
Get bolsa familia disponivel por cpf ou nis on Portal da Transparência (CGU)
Restricted API limit applies. Get available Bolsa Familia by CPF or NIS
Get bolsa familia por municipio on Portal da Transparência (CGU)
Restricted API limit applies. Get Bolsa Familia by municipality
Get bolsa familia sacado por nis on Portal da Transparência (CGU)
Restricted API limit applies. Get withdrawn Bolsa Familia by NIS
Get despesas documentos por favorecido on Portal da Transparência (CGU)
Restricted API limit applies. Get expense documents by beneficiary
Get orgaos siafi on Portal da Transparência (CGU)
Supports pagination. List SIAFI organizations
Get seguro defeso codigo on Portal da Transparência (CGU)
Restricted API limit applies. Get Seguro Defeso by code
Connect Portal da Transparência (CGU) to Mastra AI via MCP
Follow these steps to wire Portal da Transparência (CGU) into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the Portal da Transparência (CGU) MCP Server
Mastra AI provides unique advantages when paired with Portal da Transparência (CGU) through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Portal da Transparência (CGU) 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 Portal da Transparência (CGU) 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
Portal da Transparência (CGU) + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Portal da Transparência (CGU) MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Portal da Transparência (CGU), process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Portal da Transparência (CGU) as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Portal da Transparência (CGU) on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Portal da Transparência (CGU) tools alongside other MCP servers
Example Prompts for Portal da Transparência (CGU) in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Portal da Transparência (CGU) immediately.
"Check Bolsa Família availability for CPF 000.000.000-00."
"List all SIAFI organizations on page 1."
"Show expense documents for beneficiary 'Empresa Exemplo LTDA'."
Troubleshooting Portal da Transparência (CGU) MCP Server with Mastra AI
Common issues when connecting Portal da Transparência (CGU) to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpPortal da Transparência (CGU) + Mastra AI FAQ
Common questions about integrating Portal da Transparência (CGU) MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
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?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
BallDontLie
8 toolsNBA data platform — access player stats, team info, and game results via AI.

AddSearch
10 toolsEquip your AI agent with AddSearch to query your indexed site content, push new documents, and retrieve search analytics instantly.

Milvus (Open-Source Vector Database)
7 toolsManage vector storage via Milvus — perform ANN searches, query scalar entities, and audit collections.

DHL
6 toolsAI logistics: track global shipments, audit delayed packages, and quote DHL worldwide rates.
