aifa_drug_search

Pack: aifa-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/aifa_drug_search for the schema, then POST the same URL with its arguments for the data.

Search ITALY’s authorised medicines register (AIFA, Agenzia Italiana del Farmaco) by brand name or active ingredient: ricerca farmaci autorizzati in Italia. Returns per product and strength: brand name, active ingredients, form, route, marketing authorisation holder, status (authorised/revoked/suspended), ATC code, packs with AIC number and authorisation date, and leaflet / SmPC PDF links. Italian-first matching (use “ibuprofene”, “tachipirina”). 10 per page, 0-based page. Zero matches returns empty_reason. Keyless. Example: aifa_drug_search({ query: “tachipirina” })

Parameters

NameTypeRequiredDescription
querystringyesBrand name or active ingredient, Italian preferred, e.g. “tachipirina”, “paracetamolo”
limitnumbernoMax results from the page, 1-10 (default and max 10: the register pages by 10)
pagenumbernoPage number, 0-based. Use next_page from the previous response.

Example call

Arguments

{
  "query": "tachipirina"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('aifa_drug_search', {
  "query": "tachipirina"
});

Response shape

FieldTypeDescription
sourcestring
jurisdictionstring
data_as_ofstring
foundboolean
querystring | null
totalnumber | null
pagenumber | null
total_pagesnumber | null
has_moreboolean | null
next_pagenumber | null
countnumber | null
resultsarray
empty_reasonstring | null
reasonstring | null
hintstring | null
notestring | null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "jurisdiction": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "query": {
      "type": [
        "string",
        "null"
      ]
    },
    "total": {
      "type": [
        "number",
        "null"
      ]
    },
    "page": {
      "type": [
        "number",
        "null"
      ]
    },
    "total_pages": {
      "type": [
        "number",
        "null"
      ]
    },
    "has_more": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "next_page": {
      "type": [
        "number",
        "null"
      ]
    },
    "count": {
      "type": [
        "number",
        "null"
      ]
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ]
          },
          "brand_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "active_ingredients": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "pharmaceutical_form": {
            "type": [
              "string",
              "null"
            ]
          },
          "routes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "authorisation_holder": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "aic6": {
            "type": [
              "number",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "revoked": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "suspended": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "orphan": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "atc_codes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "atc_descriptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "first_pack_authorisation_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "packs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "aic": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "authorisation_date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "supply_class": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "supply_description": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "reimbursement_class": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "marketed": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "shortage": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "leaflet_pdf": {
            "type": [
              "string",
              "null"
            ]
          },
          "smpc_pdf": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "empty_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "hint": {
      "type": [
        "string",
        "null"
      ]
    },
    "note": {
      "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 aifa-medicines pack
{
  "mcpServers": {
    "aifa-medicines": {
      "url": "https://gateway.pipeworx.io/aifa-medicines/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026