Aemps Cima logo

Aemps Cima

Search Spain’s AEMPS CIMA register, retrieve medicine labels, check shortages, and monitor record changes through MCP.

Install Aemps Cima

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "aemps-cima": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-aemps-cima"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Aemps Cima MCP server connects agents to AEMPS CIMA, Spain’s public register of authorised medicines. Its five tools search medicines, retrieve registration details, extract structured ficha técnica or prospecto text, check supply problems, and list register changes since a date. Queries use Spanish field values and can be made without an API key. Reach for Aemps Cima when an agent needs Spain-specific authorisation, labelling, availability, or register-change data.

Use cases

  • Search Spanish medicines by ingredient or brand
  • Retrieve dosage and contraindication sections from labels
  • Check current medicine shortages in Spain
  • Monitor AEMPS register changes after a date
  • Compare authorised Spanish products by ATC code

Key features

  • Spanish medicine-register search
  • Full medicine authorisation details
  • Structured ficha técnica and prospecto text
  • Supply-shortage lookup
  • Changes-since-date monitoring
  • Keyless hosted access

Tools5

What Aemps Cima lets your agent do. Expand a tool for its parameters.

Verified live~1.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 63d

What it can do

From the 5 tools this server returned when we ran it.

Makes network requests · 1Read-only tools · 5
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age27 days
Maintainers1

Observed 2026-10-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @pipeworx/mcp-aemps-cima (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads730Package downloads in the last 30 days.
Last commit21d agoMost recent push to the default branch.
Tools exposed5Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Aemps Cima works

What Aemps Cima does

Aemps Cima exposes Spain’s AEMPS CIMA medicine register through MCP. It covers medicines authorised for sale in Spain, including brand and generic products, active ingredients, marketing-authorisation holders, ATC classifications, prescription status, and links to regulatory documents.

The integration also provides two related data feeds. One reports current and recent medicine supply problems, while the other identifies records changed on or after a specified date. These make it suitable for Spanish-market medicine lookup, label review, shortage checks, and monitoring regulatory updates.

Search and response values retain AEMPS’s Spanish wording. For example, ingredient searches should use terms such as paracetamol or ibuprofeno, rather than relying on names used in another market.

How it works

The hosted MCP connection is available at https://gateway.pipeworx.io/aemps-cima/mcp. A local npm package, @pipeworx/mcp-aemps-cima, acts as a stdio bridge and forwards calls to that gateway, so the local option still requires network access and has no offline mode.

The integration uses AEMPS endpoints for medicine search, medicine details, segmented document content, supply problems, and the changes feed. Date values returned by the tools are formatted as YYYY-MM-DD. The changes feed accepts an ISO date from the caller and converts it for the upstream service.

A pack-specific hosted connection includes the CIMA tools and shared Pipeworx gateway tools. The local bridge lists the CIMA tools by default; setting PIPEWORX_META_TOOLS=1 also exposes the shared gateway tools. The full Pipeworx gateway is another connection option.

Setup and configuration

Add the hosted endpoint to an MCP client:

config.json
{
  "mcpServers": {
    "aemps-cima": {
      "url": "https://gateway.pipeworx.io/aemps-cima/mcp"
    }
  }
}

For local stdio use, configure the npm bridge:

config.json
{
  "mcpServers": {
    "aemps-cima": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-aemps-cima"]
    }
  }
}

Anonymous use requires no registration and is capped at 50 calls per day. A Pipeworx account and PIPEWORX_API_KEY raise the limit to 200 calls per day. The key is sent as a bearer token. Set PIPEWORX_META_TOOLS=1 if the local bridge should list the gateway-wide meta-tools as well.

The tools can also be called over HTTP through the Pipeworx tool API, such as POST /v1/tools/cima_search_medicines.

Tools and capabilities

  • cima_search_medicines searches by product name, active ingredient, ATC code, or marketing-authorisation holder. Results include the Spanish registration number, substance, prescription status, product flags, and document links.
  • cima_medicine_detail retrieves a complete record by nregistro, including strengths, excipients, pharmaceutical form, routes, dates, ATC codes, and document links.
  • cima_medicine_document_sections returns structured ficha técnica or prospecto text. It can return one section, such as 4.1 for indications, or all sections.
  • cima_supply_problems reports affected products, national codes, shortage types, dates, active status, and AEMPS observations. Product name is the supported filter.
  • cima_changes_since lists changed records after a supplied date, including the registration number, name, holder, date, and change categories.

Limitations and notes

The data scope is Spain only. The document tool bounds output: individual sections are capped at about 4,000 characters and the overall response at roughly 40,000 characters, with truncation indicated in the response. Use a specific section when retrieving a focused passage.

The service is an unofficial integration and depends on network access to the Pipeworx gateway and AEMPS services. The local bridge is not an offline data package.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Aemps Cima

Aemps Cima is an MCP server that connects AI clients to AEMPS CIMA, Spain’s public medicine register. Its main tools search authorised medicines, retrieve full records, extract ficha técnica and prospecto sections, check supply problems, and list register changes after a specified date. Queries and returned field values use Spanish terminology.

Install it by adding the hosted MCP URL or running the npm stdio bridge with `npx -y @pipeworx/mcp-aemps-cima`. The hosted option uses `https://gateway.pipeworx.io/aemps-cima/mcp`; the local bridge forwards requests to that endpoint and therefore needs network access.

No, Aemps Cima can be used anonymously. Anonymous access is capped at 50 calls per day; setting `PIPEWORX_API_KEY` with a Pipeworx account raises the limit to 200 calls per day.

Call `cima_medicine_document_sections` with an `nregistro` and either `ficha_tecnica` or `prospecto`. Add a section such as `4.1` to request one section; omit it to request all available sections within the response limits.

Yes, Aemps Cima can be added to Cursor using the hosted MCP URL or the local stdio configuration. The integration also includes setup examples for Claude Desktop and Windsurf.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAemps Cima AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/aemps-cima?style=directory)](https://allmcps.com/mcp/aemps-cima)
HTML Embed
<a href="https://allmcps.com/mcp/aemps-cima"><img src="https://allmcps.com/api/badge/aemps-cima?style=directory" alt="Aemps Cima on AllMCPs" /></a>