SundhedMCP
Your health record.
Now in your AI.
Ask Claude about your medicine, prescriptions, test results and vaccinations from sundhed.dk. You log in with MitID. Nothing is stored.
Free and open source · In development · Not affiliated with sundhed.dk
get_prescriptions · 4 open prescriptions
How it works
How SundhedMCP works
sundhed.dk has no API for citizens. So SundhedMCP does what your browser does: you log in with MitID, and it reads the same pages you see on Min Side.
1. Add it to your AI
One command in Claude Code, or a custom connector in claude.ai when you host it yourself. Works with any MCP client.
2. Log in with MitID
A browser window opens on sundhed.dk. Approve in your MitID app, like any other login. SundhedMCP never sees your MitID.
3. Ask anything
Your AI picks the right tool and answers from your own record, in plain words and in your language.
What it reads
Everything on Min Side. Nothing more.
Five parts of your health record, each a read-only tool.
Medicinkort
Your medicine card.
Every medicine you take, with strength, dosage, reason, ATC code and who prescribed it.
Recepter
Prescriptions.
Dispensings left, expiry dates and pharmacy.
1of 4 left
Vaccinationer
Vaccinations.
What each one covers, and for how long.
2029next tetanus
Henvisninger
Referrals.
Active and earlier referrals to specialists and hospitals.
Prøvesvar
Test results.
Blood tests and lab results from the regions, for any date range. Ask how a value has changed over the years.
Example data. Your own record is only ever shown to you and your AI.
Privacy
Private by design.
Your health record is yours. SundhedMCP is built so it stays that way.
You log in. Not the software.
MitID happens on sundhed.dk, in a real browser. SundhedMCP never sees a password or your MitID app.
Nothing is stored.
The login lives in memory. Stop SundhedMCP and it is gone. No database, no logs of your data, no telemetry.
Read-only.
It can read your record. It cannot renew a prescription, change your medicine card or send a message.
CPR stays out.
Your CPR number is masked in every answer before your AI sees it.
Runs where you choose.
On your own computer, or on a server you control. There is no SundhedMCP company in between.
Open source.
MIT licensed and small enough to read in an afternoon. Check it yourself.
Get started
Two ways to run it.
Both read the same record with the same tools. Pick where the browser that holds your login should live.
On your computer
Local.
For Claude Code, Claude Desktop and Cursor. A browser window opens for MitID and minimizes itself.
- Your data never leaves your machine, except to your AI
- Needs Node 24 and Chrome or Edge
claude mcp add sundhedmcp -- npx -y sundhedmcp
On your own server
Hosted.
For claude.ai and your phone. You log in with MitID on a password-protected page on your server.
- Deploy the Docker image to Railway, Fly or any host
- Sign in to the connector with your own password
docker run -p 8080:8080 \ -e ADMIN_PASSWORD=… sundhedmcp
In development: the npm package and Docker image are not published yet. Run it from source.
Questions.
No. SundhedMCP is an independent open-source project, not affiliated with sundhed.dk, Sundhedsdatastyrelsen or MitID.
sundhed.dk ends sessions after a while, and SundhedMCP does not keep your login. When a tool says the session has ended, say "connect sundhed.dk" and approve in MitID again.
No. It is for one person reading their own record. A service holding other people's health data needs approvals and agreements it does not have.
Only to the AI you ask. Locally, it goes from sundhed.dk to your computer to your AI. Hosted, it passes through your own server's memory on the way.
No. Your AI can read and summarise your record, but it is not your doctor. Talk to your GP or pharmacist before changing how you take any medicine.