Medicine shortages (Infarmed) and pharmacies on duty or open now in Portugal.
MCPpedia last refreshed this data
io.github.ThiagoJacobLannes/portugal-medicines-mcp is an MCP server that medicine shortages (Infarmed) and pharmacies on duty or open now in Portugal. Its tool list has not been published yet over stdio, requires no API key, and scores 58/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"portugal-medicines": {
"args": [
"-m",
"portugal_medicines_mcp.server"
],
"command": "python"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Medicine shortages (Infarmed) and pharmacies on duty or open now in Portugal.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'portugal-medicines-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked portugal-medicines-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in health
MCP server for the ClinicalTrials.gov v2 API. Search trials, retrieve study details and results, and match patients to eligible trials.
Search ClinicalTrials.gov: find studies, retrieve results, match patients to candidate trials.
BioMCP: Biomedical Model Context Protocol
Control FL Studio with Claude: in-DAW mixing, diagnosis, routing, and composition.
MCP Security Weekly
Get CVE alerts and security updates for io.github.ThiagoJacobLannes/portugal-medicines-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
[!WARNING] Deprecated — use portugal-mcp instead. This server now lives on as the
medicamentosfeature of portugal-mcp, together with IPMA weather, INE, Banco de Portugal, Parliament, public contracts and more. Install withuvx portugal-mcp(addPORTUGAL_MCP_FEATURES=medicamentosto load only this part). Tool names:availability→medicine_availability,where_to_get_help→medicine_help;pharmaciesandfind_medicine_nearkeep their names. This repository gets no further updates.
MCP server that helps answer "I need medicine X in city Y. What do I do?" in Portugal, so Claude (or any MCP client) can say whether a medicine has a reported shortage, which pharmacies are on duty or open now, and who to call.
Read-only, no key, no account. It uses only public sources. Not affiliated with Infarmed, the SNS, SPMS, the Associação Nacional das Farmácias or farmaciasdeservico.net.
Pharmacy stock is not public in Portugal. Only pharmacies and distributors can see it. This server never says a pharmacy has a medicine: call the pharmacy, or call Linha 1400, to confirm.
Not medical advice. It is informational only. Never switch, stop or substitute a medicine without a pharmacist or doctor. In an emergency call 112. For health advice call SNS 24 on 808 24 24 24.
find_medicine_nearThe one-shot answer. Checks the medicine's availability, lists the pharmacies on duty today and the ones open now in the city (nearest first if you give a position), and returns the help lines and next steps.
Parameters: medicine, city (or lat / lon), limit.
availabilityIs a medicine in shortage? Searches by brand or active substance (Portuguese names work best: "quetiapina", "Ozempic", "ácido acetilsalicílico"; add a strength or form to narrow it). It checks three things Infarmed publishes on www.infarmed.pt:
The latest lists are found automatically on Infarmed's availability page. 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: see What this server does not do.
Parameters: medicine, limit.
pharmaciesPharmacies in a municipality (concelho), with address, phone, coordinates, today's hours, whether each one is open now and whether it is on duty today (official roster, duty day 09:00 to 09:00), with the duty type (for example "Permanente - Aberta 24h"). Sorted: on duty first, then open now, then distance.
Parameters: city (municipality, town or parish: "Lisboa", "Porto", "Alvalade, Lisboa"), lat / lon (adds distance_km; with no city, the municipality is found from the coordinate), radius_km, on_duty_only, open_now_only, limit. Only one municipality is covered per call.
where_to_get_helpThe help lines below, each with the page it was checked on.
| Line | Number | What for | Checked on |
|---|---|---|---|
| Emergency (INEM) | 112 | Risk to life or a serious situation | gov.pt: A minha saúde |
| SNS 24 | 808 24 24 24 | Health advice when it is not an emergency | gov.pt: A minha saúde |
| Linha 1400 | 1400 | Run by the pharmacies (ANF). Finds a pharmacy that can supply a medicine with reduced avail |