cima_medicine_document_sections
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_medicine_document_sections for the schema, then POST the same URL with its arguments for the data.
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 endpoint — not a PDF link. Ficha técnica sections cover indications (4.1), dosage (4.2), contraindications (4.3), warnings (4.4), interactions (4.5), pregnancy/lactation (4.6), adverse effects (4.8), overdose (4.9). Pass seccion (e.g. “4.1”) to fetch one section only; omit it to get every section (each capped at ~4000 chars to keep the payload bounded — the response says which sections were truncated). Example: cima_medicine_document_sections({ nregistro: “77758”, document: “ficha_tecnica”, seccion: “4.1” }); cima_medicine_document_sections({ nregistro: “77758”, document: “prospecto” }). Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
nregistro | string | yes | Spanish national registration number, e.g. “77758” |
document | string | no | ficha_tecnica = SmPC (prescriber label); prospecto = patient leaflet. Default ficha_tecnica. |
seccion | string | no | One section number to fetch alone, e.g. “4.1” (indications). Omit for every section. |
Example call
Arguments
{
"nregistro": "77758",
"document": "ficha_tecnica",
"seccion": "4.1"
}
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_medicine_document_sections","arguments":{"nregistro":"77758","document":"ficha_tecnica","seccion":"4.1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cima_medicine_document_sections', {
"nregistro": "77758",
"document": "ficha_tecnica",
"seccion": "4.1"
});
More examples
{
"nregistro": "77758",
"document": "prospecto"
}
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.