ANVISA (Portal de APIs) MCP Server for Vercel AI SDKGive Vercel AI SDK instant access to 7 tools to Consultar Cosmeticos, Consultar Medicamentos, Consultar Saneantes, and more
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect ANVISA (Portal de APIs) through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
Ask AI about this MCP Server for Vercel AI SDK
The ANVISA (Portal de APIs) MCP Server for Vercel AI SDK is a standout in the Government Public Data category — giving your AI agent 7 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using ANVISA (Portal de APIs), list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
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 ANVISA (Portal de APIs) MCP Server
Connect to the official ANVISA (Brazilian Health Regulatory Agency) API portal and integrate critical health regulatory data into your AI workflows.
The Vercel AI SDK gives every ANVISA (Portal de APIs) tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 7 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Medicine Search — Query registered medicines by commercial name, active ingredient, or registration number using
consultar_medicamentos. - Pricing Intelligence — Fetch maximum consumer prices (PMC) and factory prices (PF) for regulated drugs via
precos_medicamentos. - Food & Nutrition — Access the database of registered food products (
registros_alimentos) and those requiring only notification (notificacoes_alimentos). - Cosmetics & Hygiene — Verify registration data for perfumes, hygiene products, and cosmetics using
consultar_cosmeticos. - Sanitizing Products — Search for cleaning and sanitizing products registered with the agency via
consultar_saneantes. - Pharmacopeia Standards — Retrieve official monographs for chemical substances and health standards using
monografias_farmacopeia.
The ANVISA (Portal de APIs) MCP Server exposes 7 tools through the Vinkius. Connect it to Vercel AI SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 7 ANVISA (Portal de APIs) tools available for Vercel AI SDK
When Vercel AI SDK connects to ANVISA (Portal de APIs) through Vinkius, your AI agent gets direct access to every tool listed below — spanning anvisa, medicines, regulatory, 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.
Consultar cosmeticos on ANVISA (Portal de APIs)
Search for registered cosmetic products
Consultar medicamentos on ANVISA (Portal de APIs)
Search for medicines by name, active ingredient, or registration number
Consultar saneantes on ANVISA (Portal de APIs)
Search for registered sanitizing products
Monografias farmacopeia on ANVISA (Portal de APIs)
Retrieve monographs for chemical substances
Notificacoes alimentos on ANVISA (Portal de APIs)
Access food products that only require notification
Precos medicamentos on ANVISA (Portal de APIs)
Retrieve maximum consumer prices (PMC) and factory prices (PF) for medicines
Registros alimentos on ANVISA (Portal de APIs)
List food products registered with ANVISA
Connect ANVISA (Portal de APIs) to Vercel AI SDK via MCP
Follow these steps to wire ANVISA (Portal de APIs) into Vercel AI SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
npm install @ai-sdk/mcp ai @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the script
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Vercel AI SDK with the ANVISA (Portal de APIs) MCP Server
Vercel AI SDK provides unique advantages when paired with ANVISA (Portal de APIs) through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same ANVISA (Portal de APIs) integration everywhere
Built-in streaming UI primitives let you display ANVISA (Portal de APIs) tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
ANVISA (Portal de APIs) + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the ANVISA (Portal de APIs) MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query ANVISA (Portal de APIs) in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate ANVISA (Portal de APIs) tools and return structured JSON responses to any frontend
Chatbots with tool use: embed ANVISA (Portal de APIs) capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with ANVISA (Portal de APIs) through natural language queries
Example Prompts for ANVISA (Portal de APIs) in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with ANVISA (Portal de APIs) immediately.
"Search for medicines containing 'Paracetamol' as the active ingredient."
"What is the maximum consumer price for the medicine 'Aspirina'?"
"Check the registration status of the cosmetic product 'Protetor Solar'."
Troubleshooting ANVISA (Portal de APIs) MCP Server with Vercel AI SDK
Common issues when connecting ANVISA (Portal de APIs) to Vercel AI SDK through Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpANVISA (Portal de APIs) + Vercel AI SDK FAQ
Common questions about integrating ANVISA (Portal de APIs) MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Explore More MCP Servers
View all →
Document Paginator Engine
1 toolsMathematically slice massive text blocks into token-safe chunks without ever truncating critical sentences.

Telnyx
10 toolsSend and manage SMS/MMS, check account balances, and configure messaging profiles natively via your AI agent.

Craft.io
13 toolsBuild product roadmaps that connect strategy to execution with visual planning tools your whole organization can follow.

WHO GHO
3 toolsAccess 2,200+ health indicators from 194 countries — life expectancy, disease prevalence, mortality rates, immunization coverage, and environmental health data from the World Health Organization.
