anvisa_drug_search

Pack: anvisa-medicines · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/anvisa_drug_search for the schema, then POST the same URL with its arguments for the data.

Search Brazil’s register of medicines authorised by ANVISA (the national health regulator), about 40,000 registrations, by brand name, active ingredient or registration holder, in Portuguese or English. Accents are ignored and a word matches the start of a word (“dipiron” finds dipirona); every word must match. Returns each registration’s brand name, active ingredient, holder, registration number, status as the register states it (Ativo/Inativo, plus an English reading), regulatory category with an English name, and registration and expiry dates; active registrations first, newest first. Use anvisa_drug_get for the full record. Answered from a stored copy of the register; every answer carries its data date.

Parameters

NameTypeRequiredDescription
querystringyesBrand name, active ingredient or holder words, e.g. “dipirona”, “paracetamol” or “Eurofarma”.
bystringnoWhere to look: any (brand name or active ingredient; default), brand, ingredient, or holder (the registration holder’s name).
statusstringnoOptional: only registrations the register states as Ativo (active) or Inativo (inactive). A registration whose rows disagree appears under both.
limitnumbernoMax results (1-50, default 20).

Example call

Arguments

{
  "query": "dipirona",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/anvisa-medicines/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"anvisa_drug_search","arguments":{"query":"dipirona","limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('anvisa_drug_search', {
  "query": "dipirona",
  "limit": 5
});

More examples

{
  "query": "paracetamol",
  "by": "ingredient",
  "status": "active",
  "limit": 5
}

Response shape

FieldTypeDescription
foundboolean
answered_fromstring
data_as_ofstring
source_file_datestring
sourcestring
attributionstring
querystring
bystring
status_filternull | string
total_matchesnumber
returnednumber
resultsarray
notestring | null
matched_on_stemsboolean | null
empty_reasonstring | null
reasonstring | null
messagestring | null
hintstring | null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "answered_from": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "source_file_date": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "attribution": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "by": {
      "type": "string"
    },
    "status_filter": {
      "type": [
        "null",
        "string"
      ]
    },
    "total_matches": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "brand_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "active_ingredient": {
            "type": [
              "string",
              "null"
            ]
          },
          "active_ingredients": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "holder": {
            "type": [
              "string",
              "null"
            ]
          },
          "registration_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "status_en": {
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "category_en": {
            "type": [
              "string",
              "null"
            ]
          },
          "registration_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "registration_expiry": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    },
    "matched_on_stems": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "empty_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "hint": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the anvisa-medicines pack
{
  "mcpServers": {
    "anvisa-medicines": {
      "url": "https://gateway.pipeworx.io/anvisa-medicines/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026