cima_search_medicines
Pack: aemps-cima · Endpoint: https://gateway.pipeworx.io/aemps-cima/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/cima_search_medicines for the schema, then POST the same URL with its arguments for the data.
Search AEMPS CIMA — the register of every medicine authorised for sale in SPAIN — by brand/product name, active ingredient (INN/DCI), ATC code, or marketing-authorisation holder (laboratorio). Returns each medicine’s nregistro (Spanish national registration number), the active substance, dosage, prescription status, marketed/generic/orphan/biosimilar flags, and links to its ficha técnica (SmPC) and prospecto (patient leaflet). Field values and matching are SPANISH: search “paracetamol” or “ibuprofeno”, not a US brand name. Answers “is X authorised in Spain”, “which Spanish medicines contain ibuprofeno”, “Spanish generics of atorvastatin”. Example: cima_search_medicines({ ingredient: “paracetamol” }); cima_search_medicines({ name: “Nolotil” }); cima_search_medicines({ atc: “N02BE01” }). Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | no | Brand/product name, Spanish spelling, e.g. “Nolotil”, “Paracetamol Cinfa” |
ingredient | string | no | Active ingredient (INN/DCI, Spanish form), e.g. “paracetamol”, “ibuprofeno”, “amoxicilina” |
atc | string | no | ATC code, e.g. “N02BE01” |
lab | string | no | Marketing-authorisation holder (laboratorio titular), e.g. “Cinfa” |
limit | number | no | Max medicines to return (default 25, max 200) |
Example call
Arguments
{
"ingredient": "paracetamol",
"limit": 3
}
curl
curl -X POST https://gateway.pipeworx.io/aemps-cima/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cima_search_medicines","arguments":{"ingredient":"paracetamol","limit":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cima_search_medicines', {
"ingredient": "paracetamol",
"limit": 3
});
More examples
{
"ingredient": "ibuprofeno",
"limit": 3
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"aemps-cima": {
"url": "https://gateway.pipeworx.io/aemps-cima/mcp"
}
}
}
See Getting Started for client-specific install steps.