Compatible with every major AI agent and IDE
What is the MAPA (Agricultura) MCP Server?
Connect your AI agent to the Brazilian Ministry of Agriculture and Livestock (MAPA) Open Data Portal. This server provides direct access to thousands of public datasets, enabling deep analysis of the Brazilian agribusiness sector.
What you can do
- Dataset Discovery — List all available packages and search for specific topics like 'Agrofit', 'Rural Credit', or 'Livestock'
- Metadata Inspection — Fetch complete metadata for specific datasets to understand data provenance, update frequency, and coverage
- Resource Access — Retrieve direct download URLs and file formats for specific data resources (CSV, PDF, XLS)
- Organizational Mapping — List and inspect the various departments and organizations responsible for publishing agricultural data
- Categorization — Browse data by groups and tags to discover related information across different agricultural domains
How it works
- Subscribe to this server
- (Optional) Enter your MAPA/CKAN API Key for higher rate limits
- Start querying official Brazilian agricultural data from your MCP-compatible client
Who is this for?
- Data Scientists & Researchers — quickly find and access official agricultural statistics for modeling and analysis
- Agribusiness Analysts — monitor regulatory data, pesticide registrations, and rural financing trends
- Policy Makers — retrieve official government records to support decision-making and reporting
Built-in capabilities (8)
Get details for a specific organization
Get metadata for a specific dataset (package)
Get metadata for a specific resource
List all groups
List all organizations
List all dataset names (packages)
List all tags
g., "agrofit" or "organization:mapa"). Search for datasets matching a query
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and MAPA (Agricultura) tool infrastructure. Connect 8 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 MAPA (Agricultura) 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 MAPA (Agricultura) 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
MAPA (Agricultura) in Mastra AI
MAPA (Agricultura) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect MAPA (Agricultura) 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 MAPA (Agricultura) in Mastra AI
The MAPA (Agricultura) 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 8 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
MAPA (Agricultura) for Mastra AI
Every tool call from Mastra AI to the MAPA (Agricultura) 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 find datasets about a specific topic like 'coffee'?
You can use the search_packages tool with the query 'café'. It will return all datasets that match the term in their title or description.
How do I get the actual download link for a data file?
First, use get_package to find the resource IDs within a dataset. Then, call get_resource with the specific ID to retrieve the download URL and file format.
Can I see which government departments publish the data?
Yes! Use the list_organizations tool to see all publishing entities. You can then use get_organization to see all datasets managed by a specific department.
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 →
Douyu
10 toolsAutomate game broadcasting metrics via the Douyu API — monitor live streamer activity, track esports massive bullet-chats, and extract audience retention natively from any AI agent.

ServiceM8
9 toolsRun your field service business with job scheduling, quoting, invoicing, and GPS tracking from your phone or tablet.

OptimoRoute
10 toolsOptimize delivery routes via OptimoRoute — create orders, track driver locations, and manage route planning directly from any AI agent.

Stability AI Alternative
7 toolsGenerate and edit high-quality images using Stable Diffusion models directly from your AI agent.
