swissmedic_establishments
Pack: swissmedic · 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/swissmedic_establishments for the schema, then POST the same URL with its arguments for the data.
Swiss establishment licence holders (companies licensed by Swissmedic to manufacture, import, export, wholesale-distribute, trade abroad or act as broker/agent in medicinal products, transplant products and gene therapy products), from the Swissmedic establishment licence register. Search by name, city, canton (two-letter code), establishment_type (“MP” medicinal products, “TP” transplant/GT/GMO products) and by licensed OPERATION: operation “S.7” returns holders licensed as broker or agent (S.7.1 broker non-ready-to-use, S.7.2 broker ready-to-use, S.7.3 agent non-ready-to-use, S.7.4 agent ready-to-use); S.1 manufacture, S.2 import, S.4 wholesale distribution, S.5 export, S.6 trading abroad, S.8 blood products, ST.x the transplant-product equivalents. Each record carries the authorisation number, type, validity, and its sites with certificate number, last inspection date and compliance status; include_operations=true adds the licensed operations of each site (up to 10 sites per call). Companies and company addresses only. Live per request. A canton that matches nothing and an operation code that does not exist are reported as such, not returned as an empty list.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | no | Part of the company name, e.g. “galexis”. |
city | string | no | City of the licence holder, e.g. “Zug”. |
canton | string | no | Two-letter canton code of the licence holder, e.g. “ZG”, “BE”, “GE”. |
establishment_type | string | no | ”MP” medicinal products, “TP” transplant products / gene therapy / GMO products. Defaults to the type implied by the operation code, otherwise both. |
operation | string | no | Licensed operation code, e.g. “S.7” (broker or agent), “S.7.1”, “S.2” (import), “S.4” (wholesale), “ST.7”. Codes are listed by the register; a parent code includes its sub-operations. |
authorisation_number | string | no | Authorisation (licence) number, digits and a hyphen, e.g. “511804-102743601”. |
include_operations | boolean | no | Add each site’s licensed operations (up to 10 sites per call). Default false. |
limit | number | no | Max licence holders to return, default 25, max 100. |
offset | number | no | Row offset for pagination, default 0. |
Example call
Arguments
{
"operation": "S.7",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/swissmedic/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"swissmedic_establishments","arguments":{"operation":"S.7","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('swissmedic_establishments', {
"operation": "S.7",
"limit": 5
});
More examples
{
"operation": "S.2.2",
"canton": "ZG",
"limit": 3
}
{
"name": "galexis",
"include_operations": true
}
Response shape
| Field | Type | Description |
|---|---|---|
source | string | |
retrieved_at | string | |
filters | object | |
operation_filter_published | boolean | |
total_matches | number | |
count | number | |
offset | number | |
note | string | |
establishments | array |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string"
},
"retrieved_at": {
"type": "string"
},
"filters": {
"type": "object",
"additionalProperties": true
},
"operation_filter_published": {
"type": "boolean"
},
"total_matches": {
"type": "number"
},
"count": {
"type": "number"
},
"offset": {
"type": "number"
},
"note": {
"type": "string"
},
"establishments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"authorisation_number": {
"type": [
"string",
"null"
]
},
"establishment_type": {
"type": "string"
},
"address": {
"type": [
"string",
"null"
]
},
"zip": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"canton": {
"type": [
"string",
"null"
]
},
"valid_until": {
"type": [
"string",
"null"
]
},
"valid_until_note": {
"type": [
"string",
"null"
]
},
"sites": {
"type": "array",
"items": {
"type": "object",
"properties": {
"site_id": {
"type": [
"number",
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"street": {
"type": [
"string",
"null"
]
},
"zip": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"canton": {
"type": [
"string",
"null"
]
},
"certificate_number": {
"type": [
"string",
"null"
]
},
"last_inspection": {
"type": [
"string",
"null"
]
},
"compliance_status": {
"type": [
"string",
"null"
]
},
"operations": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
},
"scope": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"operations_note": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
}
},
"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 swissmedic pack
{
"mcpServers": {
"swissmedic": {
"url": "https://gateway.pipeworx.io/swissmedic/mcp"
}
}
}
See Getting Started for client-specific install steps.