Vinkius
MDIC (Comércio Exterior)

MDIC (Comércio Exterior) MCP for AI. Query official Brazilian trade statistics instantly.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

MDIC (Comércio Exterior) MCP on Cursor AI Code EditorMDIC (Comércio Exterior) MCP on Claude Desktop AppMDIC (Comércio Exterior) MCP on OpenAI Agents SDKMDIC (Comércio Exterior) MCP on Visual Studio CodeMDIC (Comércio Exterior) MCP on GitHub Copilot AI AgentMDIC (Comércio Exterior) MCP on Google Gemini AIMDIC (Comércio Exterior) MCP on Lovable AI DevelopmentMDIC (Comércio Exterior) MCP on Mistral AI AgentsMDIC (Comércio Exterior) MCP on Amazon AWS Bedrock

Connect to your AI in seconds.

MDIC (Comércio Exterior) connects your AI client directly to Brazil's Ministry of Development, Industry, Trade and Services (MDIC) open data portal.

It lets you list all available trade datasets, search for specific packages by keyword, inspect dataset metadata, and query the full datastore using SQL-like parameters for export/import statistics.

What your AI can do

Get package

Gets detailed metadata for a single, specified data package (dataset).

Get resource

Retrieves metadata and links for a specific file resource within an MDIC package.

List packages

Lists every single available dataset (package) in the entire MDIC portal.

+ 2 more capabilities included
List all available datasets

Retrieves a full inventory of every trade data package hosted on the MDIC portal.

Search for specific dataset packages

Filters and finds relevant data packages using keywords like 'exportação' or 'importação'.

Get metadata for a package

Retrieves detailed information, tags, and resource lists for one known dataset ID.

Get file details and links

Provides metadata and download paths for individual data files within a selected package.

Run filtered queries on data rows

Executes SQL-like searches directly against the datastore to pull specific, limited rows of trade statistics.

Included with Plan

Waiting for input…

AI Agent

MDIC (Comércio Exterior) MCP Server: 5 Tools for Data Retrieval

These five tools let your AI client discover, inspect, and run queries against the massive official Brazilian trade data repository.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using MDIC (Comércio Exterior) on Vinkius

Get Package

Gets detailed metadata for a single, specified data package (dataset).

Get Resource

Retrieves metadata and links for a specific file resource within an MDIC package.

List Packages

Lists every single available dataset (package) in the entire MDIC portal.

Search Datastore

Runs a query directly against the data rows to pull filtered results from a resource.

Search Packages

Finds relevant dataset packages using a keyword search string.

Security and governance baked right in.

Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.

Claude AI

Claude AI

1

Open Claude Settings

Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.

2

Add Custom Connector

Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:

https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials.

3

Start a conversation

Open a new chat. The MDIC (Comércio Exterior) integration is available immediately — no restart needed.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with MDIC (Comércio Exterior), then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 5,100+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week
MDIC (Comércio Exterior) MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by MDIC (Comércio Exterior). All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This connection provides 5 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.

Sifting through government trade portals is a nightmare.

Before this server, analyzing Brazilian foreign trade meant navigating sprawling web portals. You’d spend hours clicking between different packages, manually downloading massive CSV files for exports and imports separately, then opening Excel just to consolidate the dates and figures you needed. It was copy-paste hell.

Now, your agent handles it all. You tell it what data point you need—say, 'Export value from Shanghai in Q3'—and it uses `search_packages` to find the right dataset, then runs a precise query with `search_datastore`. The result is structured text, not 50 megabytes of mess.

MDIC (Comércio Exterior) MCP Server: Query Official Brazilian Trade Data

The painful manual steps that disappear are the web browsing, the file download process, and the subsequent data cleaning. No more guessing which CSV column means what; the server handles all the resource mapping.

What's different now is control. You get direct, programmatic access to the raw data structure, allowing you to build automated reports in code rather than spending days wrestling with spreadsheets.

What your AI can actually do with this

WHO IT'S FOR: This server connects your AI client straight into Brazil’s Ministry of Development, Industry, Trade and Services (MDIC) open data portal. You use it when you need official Brazilian foreign trade statistics—you wanna pull the numbers directly from the source without downloading a mountain of files.


How It Works: Your agent handles the entire process: finding the right dataset, checking its scope, and running complex queries against the actual data rows. You never have to deal with manual CSV downloads again.

  • Finding Datasets (Discovery): First, you need to know what's available. Use list_packages if you want a complete inventory of every single trade dataset package hosted on the MDIC portal. If that list is too long and you know what keywords you're after—like 'exportação' or 'importação'—you can use search_packages. That narrows down the results instantly, pointing your agent right to relevant packages.

  • Inspecting Data (Metadata): Once you've identified a package ID, don't just assume it has what you need. You run get_package to pull detailed metadata for that specific dataset. This gives you tags and confirms the full scope of the data before you commit to running a query. If you then want to check the individual files within that confirmed package, get_resource provides all the necessary metadata and download paths for those resources.

  • Querying the Data (Extraction): This is where the money's at. You don’t just pull whole tables; you pull specific metrics. Using search_datastore, your agent executes queries that function like SQL directly against the underlying data rows. You can filter and limit the results to pull only the exact trade statistics—like specific export volumes or import values—that fit your criteria, making sure you get clean, usable numbers straight into your workflow.

Built · Hosted · Managed by Vinkius MDIC MCP Server - Analyze Brazilian Trade Data
Server ID 019e38bf-d9d9-72dc-8843-6b17bde488f3
Vinkius Inspector
Compliance Grade A+
Score 100/100
Vinkius Inspector Badge — Score 100/100

Questions you might have

How do I find out what datasets are available using search_packages? +

Run search_packages and pass the general topic, like 'exportação'. This tool filters through all MDIC packages to give you a shortlist of relevant dataset names.

Do I need get_package before searching_datastore? +

No. While get_package gives detailed metadata, search_datastore is the action tool. You typically use discovery tools first to find the package ID, and then pass that ID directly into search_datastore.

What does get_resource do? +

get_resource pulls metadata for a specific data file within a dataset. Use it if you need to confirm the exact download link or format for a resource ID you found earlier.

Can I query any date range using search_datastore? +

Yes, search_datastore accepts SQL-like parameters. You specify your criteria (e.g., 'Year > 2020 AND Month = 1') to limit the rows returned.

When using `list_packages` or other tools repeatedly, how do I handle API rate limits? +

You must provide an API key for high-volume usage. The server supports keys to bypass standard rate limits imposed by the MDIC portal. If you don't include a key, your AI client will receive a 429 error response when hitting predefined request thresholds.

If I need to filter data from multiple criteria (e.g., Year AND Product Code) using `search_datastore`, how should I structure the query? +

You use standard SQL-like syntax for filtering within the tool's parameters. You combine conditions using logical operators like 'AND' or 'OR'. For example, specifying WHERE year = 2023 AND product_code = 'XYZ'.

What specific metadata does `get_package` return about a dataset? +

It returns core information including the package title, description, list of contained resources (data files), and associated tags. This allows your AI client to understand the scope and purpose of the entire dataset before querying any single resource.

What happens if I use `search_packages` with an invalid or misspelled query string? +

The tool returns a structured error message detailing the validation failure. It won't crash; instead, it tells your agent exactly which part of the search input was malformed and why, allowing for immediate correction.

Can I search for specific trade terms like 'soybean' or 'iron ore'? +

Yes! Use the search_packages tool with your query string. It will return all datasets matching those terms within the MDIC portal.

How do I access the actual data rows inside a CSV resource? +

Use the search_datastore tool by providing the resource_id. You can also apply filters and limits to retrieve exactly the data points you need.

Is it possible to see the file format and download URL for a dataset? +

Yes. The get_package tool returns a list of resources, and get_resource provides specific metadata including the format (CSV, XLSX, etc.) and the direct download URL.

Built & Managed by Vinkius 30s setup 5 tools

We've already built the connector for MDIC (Comércio Exterior). Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 5 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.