# Brazil ANVISA Regulated Products & Supplements Verifier (MCP) (`reassuring_minestrone/brazil-anvisa-compliance-mcp`) Actor

Verify whether cosmetics, dietary supplements, foods, medical devices, and sanitizers sold in Brazil are regularized with ANVISA. Search by product name, brand, company, 14-digit CNPJ, or ANVISA registration/process number via batch run or AI Agent MCP Server.

- **URL**: https://apify.com/reassuring_minestrone/brazil-anvisa-compliance-mcp.md
- **Developed by:** [BRUNO BISMARCK](https://apify.com/reassuring_minestrone) (community)
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 product verifieds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Brazil ANVISA Regulated Products & Cosmetics/Supplements Verifier (MCP)

> **Verify whether cosmetics, dietary supplements, foods, medical devices, and sanitizers sold in Brazil are regularized with ANVISA (*Agência Nacional de Vigilância Sanitária*) — in real time via Batch Dataset Runs or as a Model Context Protocol (MCP) Server for AI Agents.**

***

### Why Use This Actor?

Every cosmetic, dietary supplement, food product, medical device, and household/hospital sanitizer marketed in Brazil must hold a valid registration (*Registro*) or notification (*Notificação / Comunicado*) with **ANVISA**, Brazil’s National Health Surveillance Agency.

Manually checking products on `consultas.anvisa.gov.br` is slow, rate-limited by anti-bot protections, and requires navigating separate portals for each category.

**Brazil ANVISA Regulated Products & Cosmetics/Supplements Verifier (MCP)** streams directly from **ANVISA’s official Open Data (`dados.anvisa.gov.br`)** in constant memory (256 MB RAM) with immediate early-stop once your target count is reached:

- **5 Official ANVISA Registries in One Unified Schema:**
  1. **`cosmetics`** — Cosmetics, Perfumes & Personal Hygiene (*Cosméticos, Perfumes e Produtos de Higiene Pessoal* — `TA_CONSULTA_COSMETICOS.CSV`)
  2. **`supplements`** — Dietary Supplements, Sports Nutrition & Vitamin/Mineral Supplements (*Suplementos Alimentares e Alimentos para Atletas* — filtered from `TA_CONSULTA_ALIMENTOS.CSV`)
  3. **`foods`** — Regulated Foods, Infant Formulas, Enteral Nutrition & Novel Foods (*Alimentos Registrados* — `TA_CONSULTA_ALIMENTOS.CSV`)
  4. **`medical_devices`** — Medical Devices, Implants, Equipment & In-Vitro Diagnostics (*Produtos para a Saúde / Correlatos* — `TA_CONSULTA_PRODUTOS_SAUDE.CSV`)
  5. **`sanitizers`** — Household, Hospital & Industrial Sanitizers/Disinfectants (*Saneantes* — `TA_CONSULTA_SANEANTES.CSV`)
- **Smart Auto-Detection of Query Type:**
  - **Product Name / Active Ingredient / Brand** (accent- and case-insensitive, e.g., `whey protein`, `creatina`, `protetor solar`, `ácido hialurônico`)
  - **Manufacturer or Importer Name** (*Razão Social*, e.g., `Natura`, `Boticário`, `Integralmedica`)
  - **14-Digit Brazilian CNPJ** (formatted `00.000.000/0001-00` or digits-only `00000000000100`)
  - **ANVISA Registration or Process Number** (`NU_REGISTRO` / `NU_PROCESSO`)
- **Single-Pass Multi-Query Batching:** Pass up to 100 queries separated by newlines or semicolons (`;`) and scan each ANVISA registry in a single streaming pass.
- **Native Model Context Protocol (MCP) Server:** Connect Claude Desktop, Cursor, Windsurf, OpenAI Agents, LangChain, or CrewAI to `/mcp` in Standby mode so AI agents can verify Brazilian regulatory compliance on demand.

***

### Who Is This Built For?

| Use Case | How Teams Use This Actor |
| :--- | :--- |
| **E-Commerce & Marketplace Trust & Safety** (Mercado Livre, Amazon.com.br, Shopee, TikTok Shop) | Automatically verify whether third-party sellers’ supplements, sunscreens, serums, and medical devices hold active ANVISA numbers before publishing listings. |
| **Regulatory Affairs & Import/Export Compliance** | Audit supplier portfolios by **14-digit CNPJ** to detect expired registrations, cancelled notifications, or Class I–IV medical device risk classifications. |
| **B2B Lead Generation & Private-Label Sourcing** | Discover registered Brazilian manufacturers (*Razão Social* + *CNPJ*) of whey protein, creatine, collagen, dermocosmetics, and hospital sanitizers. |
| **AI Shopping, Healthcare & Legal Copilots (MCP)** | Give LLMs deterministic access to `verify_anvisa_product` so they never hallucinate ANVISA registration numbers or regulatory statuses. |

***

### Extracted Data Fields (Output Schema)

Each verified record pushed to the Apify Dataset (and returned by the MCP tool) includes:

| Field | Type | Description |
| :--- | :--- | :--- |
| `matchedQuery` | `string` | The input query that matched this product record |
| `category` | `string` | Registry key (`cosmetics`, `supplements`, `foods`, `medical_devices`, `sanitizers`) |
| `categoryLabel` | `string` | Human-readable registry name |
| `productName` | `string` | Official product name registered with ANVISA (`NO_PRODUTO` / `NOME_TECNICO`) |
| `brands` | `string \| null` | Commercial brand / trade name (`NO_MARCA_ALIMENTO` / `NOME_COMERCIAL`), when available |
| `registrationNumber` | `string \| null` | Official ANVISA Registration or Notification Number (`NU_REGISTRO` / `NU_REGISTRO_PRODUTO`) |
| `processNumber` | `string \| null` | ANVISA administrative process number (`NU_PROCESSO`) |
| `companyName` | `string \| null` | Holder / Manufacturer / Importer legal name (*Razão Social*) |
| `companyCnpj` | `string \| null` | 14-digit Brazilian company tax ID (`CNPJ`) |
| `status` | `string` | Normalized status: `Active`, `Inactive`, `Expired`, or `Unknown` |
| `statusRaw` | `string \| null` | Original Portuguese status from ANVISA (`Ativo`, `Válido`, `Inativo`, `Cancelado`, etc.) |
| `regularizationType` | `string \| null` | Registration vs. Notification type (*Registrado*, *Notificado*, *Cadastro*) |
| `productCategory` | `string \| null` | Detailed ANVISA product subcategory (e.g., *Suplementos alimentares*, *Alimentos para atletas*) |
| `riskClass` | `string \| null` | ANVISA risk class (`I`, `II`, `III`, `IV`) for medical devices and sanitizers |
| `expirationDate` | `string \| null` | Registration expiration date (`ISO YYYY-MM-DD` or validity term) |
| `lastUpdated` | `string \| null` | Snapshot date from ANVISA open data |
| `officialLookupUrl` | `string` | Direct link to the corresponding ANVISA consultation portal |
| `sourceDataset` | `string` | Source CSV file in `dados.anvisa.gov.br` |
| `verifiedAt` | `string` | UTC timestamp (`ISO 8601`) when verification was executed |

***

### Input Example

```json
{
  "query": "whey protein\ncreatina\ncolágeno\nômega 3\nmelatonina",
  "categories": ["supplements", "foods", "cosmetics", "medical_devices"],
  "onlyActive": true,
  "maxResults": 1
}
```

***

### Sample Output Record

```json
{
  "matchedQuery": "whey protein",
  "category": "supplements",
  "categoryLabel": "Dietary Supplements (ANVISA)",
  "productName": "WHEY PROTEIN CONCENTRADO",
  "brands": "INTEGRALMEDICA",
  "registrationNumber": "621720024",
  "processNumber": "25004060241200571",
  "companyName": "BRG SUPLEMENTOS NUTRICIONAIS LTDA",
  "companyCnpj": "05283405000105",
  "status": "Active",
  "statusRaw": "Ativo",
  "regularizationType": "REGISTRO DE ALIMENTOS E BEBIDAS",
  "productCategory": "ALIMENTOS PARA ATLETAS",
  "riskClass": null,
  "expirationDate": "2026-08-01",
  "lastUpdated": null,
  "officialLookupUrl": "https://consultas.anvisa.gov.br/#/alimentos/",
  "sourceDataset": "TA_CONSULTA_ALIMENTOS.CSV",
  "verifiedAt": "2026-10-16T15:35:00.000Z"
}
```

***

### Connecting AI Agents via Model Context Protocol (MCP)

When run in **Apify Standby Mode**, this Actor exposes a Streamable HTTP MCP Server at `/mcp` with two tools:

1. **`verify_anvisa_product`** — Search and verify products, brands, CNPJs, or ANVISA numbers across Cosmetics, Supplements, Foods, Medical Devices, and Sanitizers.
2. **`list_anvisa_registries`** — List all supported ANVISA open-data registries (free of charge).

#### Claude Desktop / Cursor MCP Configuration

```json
{
  "mcpServers": {
    "brazil-anvisa-compliance": {
      "url": "https://reassuring-minestrone--brazil-anvisa-compliance-mcp.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

***

### Pricing (Pay-Per-Event)

This Actor uses Apify’s transparent **Pay-Per-Event** model:

- **`product-verified`**: Charged once per verified ANVISA product record saved to the Dataset or returned via MCP.
- Low memory footprint (**256 MB – 512 MB RAM**) using zero-disk HTTP streaming and early termination as soon as `maxResults` is satisfied.

# Actor input Schema

## `query` (type: `string`):

Search term(s) to verify against ANVISA official open-data registries. Enter one or multiple queries separated by newline or semicolon (`;`), e.g. `whey protein; protetor solar; creatina` or a 14-digit CNPJ.

## `categories` (type: `array`):

Select which official ANVISA open-data registries to search (`cosmetics`, `supplements`, `foods`, `medical_devices`, `sanitizers`).

## `onlyActive` (type: `boolean`):

When enabled, returns only products whose ANVISA registration or notification is currently active and valid.

## `maxResults` (type: `integer`):

Maximum number of verified ANVISA records to return per query (1 to 2,000). Each returned record triggers one `product-verified` Pay-Per-Event.

## Actor input object example

```json
{
  "query": "whey protein\ncreatina\ncolágeno\nômega 3\nmelatonina",
  "categories": [
    "supplements",
    "cosmetics"
  ],
  "onlyActive": true,
  "maxResults": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": `whey protein
creatina
colágeno
ômega 3
melatonina`,
    "categories": [
        "supplements",
        "cosmetics"
    ],
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("reassuring_minestrone/brazil-anvisa-compliance-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": """whey protein
creatina
colágeno
ômega 3
melatonina""",
    "categories": [
        "supplements",
        "cosmetics",
    ],
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("reassuring_minestrone/brazil-anvisa-compliance-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "whey protein\\ncreatina\\ncolágeno\\nômega 3\\nmelatonina",
  "categories": [
    "supplements",
    "cosmetics"
  ],
  "maxResults": 5
}' |
apify call reassuring_minestrone/brazil-anvisa-compliance-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,reassuring_minestrone/brazil-anvisa-compliance-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Pa0bv8UTn3WGbox3t/builds/6gMPjPOUsIqZ6ql7S/openapi.json
