Aemps Cima

liveGovernmentHealth

AEMPS 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.

5tools
0msauth
free tier50 calls/day

Tools

cima_search_medicines

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

No parameters required.

Try it
cima_medicine_detail

Full 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_sections

The 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_problems

Current 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_since

Which 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.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/aemps-cima/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
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.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("cima_search_medicines", {});
ask_pipeworx
// 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");