Portugal Medicines
PYPI · PORTUGAL-MEDICINES-MCP
Medicine shortages (Infarmed) and pharmacies on duty or open now in Portugal.
Available components
Last scanned (4 hours ago)
Scores higher than 78% of PyPI servers
Category Health and Science
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).
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. How we score → Why this is hard to score →
Supply Chain Security99
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- 2 of 31 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to ThiagoJacobLannes/portugal-medicines-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 2 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability63
- AI-judged instruction clarity (excellent).Pass
- 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. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management17
- Stability observed for 5 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage71
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 5 Nov 26 +16
- Malware scan: unverified → pass ▲ security
- 3 Nov 26 −14
- Malware scan: pass → unverified ▼ security
- 2 Nov 26 +1
- Stability: unverified → 0.07 ▲ functional
- Package version: 0.1.0 → 0.1.1 functional
- 1 Nov 26 +15
- Malware scan: unverified → pass ▲ security
- 31 Oct 26 61
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed pypi/portugal-medicines-mcp@0.1.1
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | ThiagoJacobLannes/portugal-medicines-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/ThiagoJacobLannes/portugal-medicines-mcp/.github/workflows/publish.yml@refs/tags/v0.1.1 |
| Rekor log index | 3641895294 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:0ea2920392fe90a9fe89201953beb61e7b713faea653bbf46e27c371944df69a |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | setuptools.build_meta |
Background: Why install scripts are a supply-chain risk →
Dependencies 31 packages
| Packages resolved | 31 |
|---|---|
| Stale | 2 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
availability ~276
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).
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | – | – |
| medicine | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
find_medicine_near ~216
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).
| Name | Type | Req | Description |
|---|---|---|---|
| city | – | – | – |
| lat | – | – | – |
| limit | integer | – | – |
| lon | – | – | – |
| medicine | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
pharmacies ~334
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).
| Name | Type | Req | Description |
|---|---|---|---|
| city | – | – | – |
| lat | – | – | – |
| limit | integer | – | – |
| lon | – | – | – |
| on_duty_only | boolean | – | – |
| open_now_only | boolean | – | – |
| radius_km | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
where_to_get_help ~76
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.
Input schema present but exposes no named parameters.
Structured output declared, but exposes no named fields.
No examples provided.
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.
pypi · portugal-medicines-mcp
claude mcp add thiagojacoblannes-portugal-medicines-mcp -- uvx portugal-medicines-mcp
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.