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

Claude
Which of my prescriptions run out soon?

get_prescriptions · 4 open prescriptions

Two need attention. Metformin has one dispensing left, and Ventoline expires on 14 Oct. Ask your GP to renew both.
MedicineDispensings leftValid until
Metformin "Teva"500 mg · 1 tablet twice daily
1 of 4
02.03.2027
Ventoline Diskus0.2 mg/dose · as needed
1 of 2
14.10.2026
Atorvastatin "Krka"20 mg · 1 tablet in the evening
3 of 4
18.06.2027

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.

Metformin "Teva" 500 mg1 tablet twice daily
Atorvastatin "Krka" 20 mg1 tablet in the evening
Ventoline Diskus 0.2 mg/dose1–2 puffs as needed
Cetirizin "Orifarm" 10 mg1 tablet daily, May–Aug

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.

Ask your health record anything.