Paraíba Open Data MCP Server for Mastra AIGive Mastra AI instant access to 20 tools to Get Acao Governamental, Get Autorizacao Pagamento, Get Contratos, and more
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Paraíba Open Data 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 Paraíba Open Data MCP Server for Mastra AI is a standout in the Data Analytics category — giving your AI agent 20 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: {
"paraiba-open-data": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Paraíba Open Data Agent",
instructions:
"You help users interact with Paraíba Open Data " +
"using 20 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Paraíba Open Data?"
);
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 Paraíba Open Data MCP Server
The Paraíba MCP Server connects your AI agent to the official Dados Abertos portal of the State of Paraíba. This integration allows for real-time auditing and analysis of public finances, government contracts, and personnel spending through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and Paraíba Open Data tool infrastructure. Connect 20 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
- Budget & Finance — Query budget allocations (
get_dotacao), liquidations (get_liquidacao), and revenue execution or forecasts. - Public Spending — Inspect commitment notes (
get_empenho), daily allowances for public servants (get_diarias), and payment authorizations. - Human Resources — Access detailed payroll summaries (
get_folha_pagamento) to monitor state personnel costs. - Contracts & Agreements — List and analyze government contracts (
get_contratos) and outstanding payables (Restos a Pagar). - Institutional Structure — Retrieve information about management units, government actions, and resource sources.
The Paraíba Open Data MCP Server exposes 20 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 20 Paraíba Open Data tools available for Mastra AI
When Mastra AI connects to Paraíba Open Data through Vinkius, your AI agent gets direct access to every tool listed below — spanning public-spending, transparency, budget-tracking, 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 acao governamental on Paraíba Open Data
Get Ação Governamental (Government Action) data
Get autorizacao pagamento on Paraíba Open Data
Get Autorizações de Pagamento (Payment Authorizations) data
Get contratos on Paraíba Open Data
Get Contratos (Contracts) data
Get contratos aditivos on Paraíba Open Data
Get Aditivos de Contratos (Contract Addendums) data
Get convenios on Paraíba Open Data
Get Convênios (Covenants/Agreements) data
Get diarias on Paraíba Open Data
Get Despesa Orçamentária - Diárias (Daily Allowances) data
Get dotacao on Paraíba Open Data
Get Dotação Orçamentária (Budget Allocation) data
Get elemento despesa on Paraíba Open Data
Get Elemento da Despesa (Expense Element) data
Get empenho on Paraíba Open Data
Get Despesa Orçamentária - Notas de Empenho (Commitment Notes) data
Get folha pagamento on Paraíba Open Data
Get Resumo da Folha de Pagamento (Payroll Summary) data
Get fonte recurso on Paraíba Open Data
Get Fonte de Recurso (Resource Source) data
Get funcao on Paraíba Open Data
Get Função (Function) data
Get liquidacao on Paraíba Open Data
Get Liquidação (Liquidation) data
Get modalidade licitacao on Paraíba Open Data
Get Modalidade de Licitação (Bidding Modality) data
Get receitas execucao on Paraíba Open Data
Get Receitas - Execução (Revenue Execution) data
Get receitas previsao on Paraíba Open Data
Get Receitas - Previsão (Revenue Forecast) data
Get restos a pagar on Paraíba Open Data
Get Restos a Pagar (Outstanding Payables) data
Get subfuncao on Paraíba Open Data
Get Sub Função (Sub-function) data
Get unidade gestora on Paraíba Open Data
Get Unidade Gestora (Managing Unit) data
Get unidade orcamentaria on Paraíba Open Data
Get Unidade Orçamentária (Budgetary Unit) data
Connect Paraíba Open Data to Mastra AI via MCP
Follow these steps to wire Paraíba Open Data 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 Paraíba Open Data MCP Server
Mastra AI provides unique advantages when paired with Paraíba Open Data through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Paraíba Open Data 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 Paraíba Open Data 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
Paraíba Open Data + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Paraíba Open Data MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Paraíba Open Data, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Paraíba Open Data as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Paraíba Open Data on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Paraíba Open Data tools alongside other MCP servers
Example Prompts for Paraíba Open Data in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Paraíba Open Data immediately.
"Show me the budget allocation (dotação) for Paraíba in 2024."
"What was the payroll summary for March 2024?"
"List the daily allowances (diárias) paid in January 2024."
Troubleshooting Paraíba Open Data MCP Server with Mastra AI
Common issues when connecting Paraíba Open Data to Mastra AI through Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpParaíba Open Data + Mastra AI FAQ
Common questions about integrating Paraíba Open Data 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 →
Motion (AI Calendar & Task Management)
10 toolsManage your schedule via Motion — create AI-optimized tasks, track projects, and audit your timeline.

EyePop.ai
10 toolsAdd computer vision to your apps with pre-trained models for object detection, face recognition, and image classification.

HeySummit
12 toolsLaunch virtual summits and online conferences with speaker management, attendee registration, and engagement tracking built in.

Circle.so
8 toolsManage online communities via Circle — track members, monitor posts, and manage spaces directly from any AI agent.
