Aemps Cima
liveGovernmentHealthAEMPS CIMA — the Spanish Agency for Medicines and Health Products' public register of every medicine authorised for sale in SPAIN (cima.aemps.es). Documented, keyless JSON REST API, no auth, no rate-limit wall observed.
Tools
cima_search_medicinesSearch 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
No parameters required.
Try it
cima_medicine_detailFull AEMPS CIMA record for one Spanish-authorised medicine, by nregistro (the Spanish national registration number, from cima_search_medicines). Returns active ingredients with exact strength, excipie
No parameters required.
Try it
cima_medicine_document_sectionsThe STRUCTURED text of a Spanish medicine's ficha técnica (Summary of Product Characteristics) or prospecto (patient information leaflet), section by section, from AEMPS's own segmented-document endpo
No parameters required.
Try it
cima_supply_problemsCurrent and recent medicine-supply shortages in Spain (problemas de suministro) from AEMPS — the Spanish counterpart of the FDA/EMA shortage databases. Returns the affected product, national code (CN)
No parameters required.
Try it
cima_changes_sinceWhich Spanish medicine records AEMPS has changed on or after a given date — new authorisations, label revisions, material-informativo updates, etc. — from CIMA's registroCambios feed. Returns nregistr
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/aemps-cima/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/aemps-cima/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"cima_search_medicines","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("cima_search_medicines", {});// Or ask in plain English:
const answer = await px.ask("aemps cima — the spanish agency for medicines and health products' public register of every medicine authorised for sale in spain (cima");