Portugal's national health service open data: hospitals, emergency and waiting times.
MCPpedia last refreshed this data
This server has been archived and is no longer actively maintained.
io.github.ThiagoJacobLannes/sns-portugal-mcp is an MCP server that portugal's national health service open data: hospitals, emergency and waiting times. Its tool list has not been published yet over stdio, requires no API key, and scores 85/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"sns-portugal": {
"args": [
"-m",
"sns_portugal_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.
Portugal's national health service open data: hospitals, emergency and waiting times.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'sns-portugal-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 sns-portugal-mcp against OSV.dev.
Click any tool to inspect its schema.
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.
Control FL Studio with Claude: in-DAW mixing, diagnosis, routing, and composition.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
MCP Security Weekly
Get CVE alerts and security updates for io.github.ThiagoJacobLannes/sns-portugal-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
saudefeature of portugal-mcp, together with IPMA weather, INE, Banco de Portugal, Parliament, public contracts and more. Install withuvx portugal-mcp(addPORTUGAL_MCP_FEATURES=saudeto load only this part). Tool names:find_institutions→sns_find_institutions,emergency_stats→sns_emergency_stats,surgery_wait_stats→sns_surgery_wait_stats,consultation_wait_stats→sns_consultation_wait_stats,search_datasets→sns_search_datasets,query_dataset→sns_query_dataset. This repository gets no further updates.
MCP server for official open-data statistics about Portugal's national health service (SNS), so Claude (or any MCP client) can answer "how busy is the emergency department at Santa Maria?", "how many people are waiting for surgery in the Norte region?" or "which SNS hospitals are near me?".
Read-only, no key, no account. It uses only public open data. Not affiliated with the SNS, SPMS or the Portuguese Ministry of Health.
Statistics, not the live queue. The figures are official monthly statistics; the newest month is usually 2-3 months old and provisional. This server does not show live emergency-room waiting times. For those, see tempos.min-saude.pt.
Not medical advice. In an emergency call 112. For health advice call SNS 24 on 808 24 24 24.
find_institutionsFinds SNS hospitals and local health units (ULS) by name, or the nearest ones to a coordinate. Each result says whether the place reports emergency, consultation and surgery data, and gives stats_entity: the name the statistics use for it. Statistics are published per ULS or hospital group, not per building.
Parameters: query (name, accent-insensitive), lat / lon (sort by distance), emergency_only, limit.
emergency_statsEmergency-department visits per month, by type (general, paediatric, obstetric, psychiatric) and by Manchester triage colour (red, orange, yellow, green, blue, white, not triaged), with each colour's share of the month. Covers one institution, one region, or the whole country.
Parameters: institution, region (Norte | Centro | LVT | Alentejo | Algarve), period ("YYYY-MM", latest month to include), months (default 6).
surgery_wait_statsSurgery access per month:
Same parameters as emergency_stats. The open data has no breakdown by specialty.
consultation_wait_statsHospital outpatient consultations per month (first and follow-up), plus the % of first specialist consultations (referred by a family doctor) held within the TMRG. Same parameters as above.
search_datasetsSearches the 149 datasets of the SNS Transparency portal by keyword. Titles are in Portuguese, so Portuguese keywords work best: "ocupação", "partos", "rastreios", "SNS 24", "INEM". Returns each dataset's id, description and field names.
query_datasetRuns an ODSQL query (where, select, group_by, order_by, limit, offset) on any portal dataset. Use it for anything the tools above don't cover.
Most hospital-activity datasets publish year-to-date cumulative values, so the December figure is the annual total. The curated tools return both the year-to-date value and a derived in_month value (this month minus the previous one). If you use query_dataset directly, do that subtraction yourself.
Quickest (needs [uv](https://d