# Portugal Medicines (pypi · portugal-medicines-mcp)

Medicine shortages (Infarmed) and pharmacies on duty or open now in Portugal.

- Trust score: 79/100 (medium)
- Registry status: deprecated
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

> **Deprecated**: this server is marked deprecated in the MCP registry. The registry records this reason: "Deprecated: now part of portugal-mcp (io.github.ThiagoJacobLannes/portugal-mcp)."

## Components

- pypi · `portugal-medicines-mcp`: 79/100 (this document), [markdown](https://verifymcp.io/servers/thiagojacoblannes-portugal-medicines-mcp/portugal-medicines-mcp.md), [page](https://verifymcp.io/servers/thiagojacoblannes-portugal-medicines-mcp/portugal-medicines-mcp)

## Channel facts

- Registry: `pypi`
- Package: `portugal-medicines-mcp`
- Version: `0.1.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 99/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it.
  - 2 of 31 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to ThiagoJacobLannes/portugal-medicines-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 2 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 63/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1013 tokens (~253/item across 4 items; 4 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 17/100
  - Stability observed for 5 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Portugal Medicines MCP server?

Portugal Medicines runs locally as a PyPI package, launched with uvx portugal-medicines-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add thiagojacoblannes-portugal-medicines-mcp -- uvx portugal-medicines-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "thiagojacoblannes-portugal-medicines-mcp": {
      "command": "uvx",
      "args": [
        "portugal-medicines-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "thiagojacoblannes-portugal-medicines-mcp": {
      "command": "uvx",
      "args": [
        "portugal-medicines-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add thiagojacoblannes-portugal-medicines-mcp -- uvx portugal-medicines-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "thiagojacoblannes-portugal-medicines-mcp": {
      "type": "local",
      "command": [
        "uvx",
        "portugal-medicines-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add thiagojacoblannes-portugal-medicines-mcp --command uvx --arg portugal-medicines-mcp
```

### Hermes

```yaml
mcp_servers:
  thiagojacoblannes-portugal-medicines-mcp:
    command: "uvx"
    args: ["portugal-medicines-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "thiagojacoblannes-portugal-medicines-mcp": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "portugal-medicines-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add thiagojacoblannes-portugal-medicines-mcp -t stdio -c uvx -a portugal-medicines-mcp
```

### Other

```json
{
  "mcpServers": {
    "thiagojacoblannes-portugal-medicines-mcp": {
      "command": "uvx",
      "args": [
        "portugal-medicines-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-05 (score 79, +16)

- [security improvement] Malware scan: unverified → pass

### 2026-11-03 (score 63, −14)

- [security regression] Malware scan: pass → unverified

### 2026-11-02 (score 77, +1)

- [functional improvement] Stability: unverified → 0.07
- [functional] Package version: 0.1.0 → 0.1.1

### 2026-11-01 (score 76, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-10-31 (score 61)

First indexed and scored.

## MCP tools (4)

### `availability` (~276 tokens)

Is a medicine in shortage in Portugal? Checks Infarmed's published availability information.

Use when someone can't find a medicine, or asks whether X is in shortage ("rutura",
"esgotado", "falta"). Searches by brand or active substance (Portuguese names work best,
e.g. "quetiapina", "Ozempic", "ácido acetilsalicílico"; dose and form narrow it,
e.g. "quetiapina 300 mg libertação prolongada").

Checks, all from www.infarmed.pt (latest versions are found automatically):
  \- shortages Infarmed is actively monitoring (with its circulars and advice);
  \- the monthly list of medicines whose export is temporarily suspended because of
    shortage / supply risk in Portugal;
  \- the quarterly prior-notification list (LNP) of medicines with availability concerns.

status is one or more of: monitored_shortage, export_suspended, prior_notification,
no_issue_in_published_lists. "No issue" does not prove the medicine is available:
Infarmed's full shortage search is not queried (see not_checked).

Args:
    medicine: Brand name or active substance, optionally with strength/form.
    limit:    Max rows returned per list (default 15).

Input parameters:

- `limit` (integer)
- `medicine` (string, required)

### `pharmacies` (~334 tokens)

Pharmacies in a Portuguese municipality, with which ones are on duty today and open now.

Use for "farmácia de serviço em X", "pharmacy open now near me", or to list pharmacies
to call. Each pharmacy has name, address, phone, coordinates, today's hours, open_now,
on_duty (official duty roster for the duty day 09:00-09:00) and the duty type
(e.g. "Permanente - Aberta 24h"). Results are sorted: on duty first, then open now,
then distance (when lat/lon are given). Stock is not public: never say a pharmacy has a
medicine.

Args:
    city:          Municipality or town/parish, e.g. "Lisboa", "Porto", "Cascais",
                   "Alvalade, Lisboa" (add ", <municipality>" to disambiguate a town).
    lat, lon:      Optional user position: adds distance_km and allows radius_km. With
                   no city, the municipality is found from the coordinate.
    radius_km:     Keep only pharmacies within this distance of lat/lon.
    on_duty_only:  Only pharmacies on the duty roster today.
    open_now_only: Only pharmacies open right now.
    limit:         Max pharmacies returned (default 20, max 100).

Input parameters:

- `city`
- `lat`
- `limit` (integer)
- `lon`
- `on_duty_only` (boolean)
- `open_now_only` (boolean)
- `radius_km`

### `find_medicine_near` (~216 tokens)

One-shot answer to "I need medicine X in city Y — what do I do?" in Portugal.

Runs availability(medicine) and pharmacies(city or lat/lon), and returns: the shortage
status (compact), the pharmacies on duty today and the ones open now (nearest first when
lat/lon are given), the help lines (Linha 1400, SNS 24, 112) and next steps. It never
says a pharmacy has the medicine: stock is not public.

Args:
    medicine: Brand name or active substance, e.g. "quetiapina", "Brufen 400".
    city:     Municipality or town, e.g. "Lisboa". Or give lat/lon instead.
    lat, lon: Optional user position (sorts pharmacies by distance).
    limit:    Max pharmacies returned (default 8).

Input parameters:

- `city`
- `lat`
- `limit` (integer)
- `lon`
- `medicine` (string, required)

### `where_to_get_help` (~76 tokens)

Verified help lines in Portugal for medicine problems: 112, SNS 24, Linha 1400, Infarmed.

Use when someone can't find a medicine, needs urgent advice, or asks who to call. Each
line has its number, what it is for, hours where published, and the page it was checked on.

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/thiagojacoblannes-portugal-medicines-mcp/portugal-medicines-mcp#diagnostics

## Score history

- 2026-11-05: 79
- 2026-11-04: 63
- 2026-11-03: 63
- 2026-11-02: 77
- 2026-11-01: 76
- 2026-10-31: 61

## Common questions

### What is the Portugal Medicines MCP server?

Portugal Medicines is an MCP server listed in the public MCP registry as io.github.ThiagoJacobLannes/portugal-medicines-mcp. Medicine shortages (Infarmed) and pharmacies on duty or open now in Portugal. This page covers its PyPI package (portugal-medicines-mcp).

### Is the Portugal Medicines MCP server safe to use?

Portugal Medicines scores 79 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Portugal Medicines MCP server expose?

Portugal Medicines exposes 4 tools: availability, pharmacies, find_medicine_near, where_to_get_help. Their descriptions and schemas cost roughly 902 tokens of context every time the server is loaded.

### Is the Portugal Medicines MCP server still maintained?

Portugal Medicines is marked deprecated in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Portugal Medicines MCP server under?

Portugal Medicines declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- PyPI project: https://pypi.org/project/portugal-medicines-mcp/
- Socket report: https://socket.dev/pypi/package/portugal-medicines-mcp
- Repository: https://github.com/ThiagoJacobLannes/portugal-medicines-mcp
- Website: https://thiagolannes.com/
- Changelog RSS feed: https://verifymcp.io/servers/thiagojacoblannes-portugal-medicines-mcp/portugal-medicines-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/thiagojacoblannes-portugal-medicines-mcp/portugal-medicines-mcp.json
- HTML version of this page: https://verifymcp.io/servers/thiagojacoblannes-portugal-medicines-mcp/portugal-medicines-mcp
