Clalit Health
Read your own Clalit records (lab results, prescriptions, lab orders) from a CLI or an AI assistant (MCP).

Unofficial. Not affiliated with Clalit. Not a substitute for the official portal or clinical advice.
The MCP server runs locally on your machine: you log in through your own browser, the session is stored only on your computer, and this project has no hosted backend and collects nothing. Note that whatever results your AI client (such as Claude) requests are passed to that client and are handled under its provider's privacy terms.

Getting started with an AI assistant
Copy and paste this to your agent:
Read my Clalit lab results from the last year and summarize anything out of range, then list my active prescriptions.
https://raw.githubusercontent.com/netanelavr/clalit-mcp/main/skills/clalit-mcp/SKILL.md
Or install the skill locally:
npx skills add netanelavr/clalit-mcp
Terms of use
- Own account only. Never use this against someone else's record.
- Read-only. No booking, payments, profile writes, or prescription requests.
- No CAPTCHA / bot / Imperva bypass. You solve CAPTCHA and enter the SMS OTP yourself.
- Residential machine. Datacenter and many cloud IPs get Imperva Error 16; log in on your own Mac / home network.
- Session file is secret. Stored mode
0600 under ~/.config/clalit-mcp/. Never commit or paste it.
Install
git clone https://github.com/netanelavr/clalit-mcp.git
cd clalit-mcp
npm install
npm test
Sign in and CLI
npx tsx packages/cli/src/main.ts login
npx tsx packages/cli/src/main.ts labs --json
npx tsx packages/cli/src/main.ts lab --ref <token-from-labs> --json
npx tsx packages/cli/src/main.ts lab-document --ref <token> --out result.pdf
npx tsx packages/cli/src/main.ts prescriptions --json
npx tsx packages/cli/src/main.ts lab-orders --json
npx tsx packages/cli/src/main.ts lab-order --ref <token-from-lab-orders> --json
npx tsx packages/cli/src/main.ts documents --source visit_summaries --json # or hospital_summaries | medical_approvals | form17
npx tsx packages/cli/src/main.ts document --ref <token-from-documents> --out summary.pdf
npx tsx packages/cli/src/main.ts records --source diagnoses --json # sensitivities | chronic_medications | medicines_purchased | medication_approvals | imaging_clinics | imaging_hospitals | imaging_external | hospital_visits | hospital_labs | referrals | appointments | recommendations | vaccinations | blood_type
npx tsx packages/cli/src/main.ts hospital-lab-result --link <link-from-hospital_labs-row> --hospital <its-context.value> --json
npx tsx packages/cli/src/main.ts record-document --ref <token-from-records> --out report.pdf
npx tsx packages/cli/src/main.ts export --out ~/health
npx tsx packages/cli/src/main.ts help
login opens a loopback browser page for ID, CAPTCHA, and SMS OTP. See docs/LIVE-VERIFY.md. login --browser opens your own Chrome at Clalit Online's sign-in page instead: sign in there as you usually do — with your permanent password if you have one, so no SMS — and the signed-in cookies become the session (docs/AUTH.md).
Keep a copy of everything: export
npx tsx packages/cli/src/main.ts export # ./clalit-export-<today>/: labs (every result and its PDF), prescriptions, lab orders, documents, records
npx tsx packages/cli/src/main.ts export --out ~/health # under that directory; --no-documents skips the PDFs
One folder: labs (one JSON per result, plus its PDF), prescriptions, lab orders, documents (visit summaries, hospital
summaries, medical approvals and Form 17 — a list and the PDFs per source), records (diagnoses, sensitivities, the
regular-medication list, pharmacy purchases, medication approvals, imaging reports with their PDFs, hospital visits and
labs with every draw's results, referrals with their PDFs, upcoming appointments, the portal's own recommendations,
vaccinations, blood type), and a root README.md that describes each folder for an AI assistant (layout in docs/CLI.md). --from/--to (dd.MM.yyyy) filter labs only, default 01.01.1990 to today; a rerun skips what it already has.
Layout modeled on Health Records Export for Maccabi; liberate-labs can load it into SQLite.
The folder is not encrypted, and anything you open in an AI app is sent to that provider (see the privacy note at the top).
MCP
Sign in first (login above); the MCP server reuses that local session.
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS). Use absolute paths (Dock-launched Claude does not see nvm / shell PATH):