Skip to main content
Glama
Alberta Health MCP Server

Alberta Health MCP Server

by JCrossman

Alberta Health MCP Server

An MCP (Model Context Protocol) server that provides Claude Desktop with passthrough access to Alberta's My Health Records portal and AHS MyChart (Connect Care). Ask Claude about your lab results, immunizations, medications, vitals, appointments, clinical documents, and more — all through natural language.

What It Does

You: "Show me my lab results from the last 6 months and explain anything unusual"
Claude: [calls get_lab_results] Here are your results...

The MCP server authenticates with Alberta's SSO (shared across both portals), fetches your health data from MHR and MyChart, and passes it to Claude for interpretation. It's a read-only passthrough — no health data is stored, cached, or analyzed by the server itself. Claude handles all interpretation.

Related MCP server: Garmin Health MCP Server

Quick Start

  1. Download the extension — no name, email, or reason required. GitHub Releases is an alternative.

  2. Double-click the downloaded file — Claude Desktop installs it automatically

  3. Tell Claude: "Connect to My Health Records"

  4. Chrome opens to Alberta's real login page — sign in with your MyAlberta credentials

  5. Start asking: "Show me my lab results", "Am I up to date on immunizations?", etc.

No Node.js. No terminal. No configuration files. No API keys.

Updating? Install the new .mcpb file over the existing extension and restart Claude Desktop. Read the privacy details before connecting. Web chat and beta invitations are disabled.

Requirements: Claude Desktop and Google Chrome. You need a MyAlberta account with My Health Records access.

Try It First — Demo Mode

Don't have an Alberta account? Want to see what the extension can do before signing in? Demo mode uses a realistic, multi-person sample family so you can explore all 48 tools without any credentials.

After installing the extension, try this conversation:

  1. You: "Connect to health data in demo mode"

  2. You: "Pull a comprehensive health report"

  3. You: "What health concerns can you identify? What patterns do you see across my labs, medications, and vitals?"

  4. You: "Can you put all this in a PDF I can take to the doctor?"

Claude will connect instantly (no browser, no login), pull sample health data, and demonstrate how AI can identify clinically meaningful patterns — like a worsening HbA1c trend, cardiovascular risk factors across multiple tests, or medication interactions worth discussing with a doctor. These are the kinds of insights that are easy to miss when browsing portal pages individually.

The demo now includes a four-person sandwich-generation scenario:

Person

Profile

What it showcases

Demo User (you, 39M)

Type 2 Diabetes, Hypertension, Hyperlipidemia, Vitamin D deficiency

Worsening HbA1c trend, statin titration, kidney function monitoring

Margaret User (mother, 72F)

T2D, AFib, HFpEF, mild Alzheimer-type dementia, CKD3a, polypharmacy (12+ meds)

Caregiver workflow, recent ED visit, polypharmacy review, advance care planning, drug interactions (donepezil+metoprolol, glipizide+CKD)

Sarah User (spouse, 41F)

Hashimoto hypothyroidism, GAD, migraine with aura, perimenopause, recent IUD

Women's preventive care (mammogram, Pap/HPV), mental-health continuity, migraine + perimenopause hormonal pattern

Liam User (son, 7M)

Mild persistent asthma (recent ED), ADHD on Concerta, peanut allergy + EpiPen

Pediatric care, stimulant monitoring, anaphylaxis preparedness, vaccine schedule, asthma action plan

Switch between them with: "List the people I have access to" → "Switch to my mother's chart" → "Compare HbA1c trends between me and my mom"

More demo prompts to try:

Prompt

What it showcases

"Show me my lab results and flag anything outside reference ranges"

AI identifies abnormal values (high LDL, low Vitamin D, elevated HbA1c)

"Are any of my mom's medications interacting with each other or her kidney function?"

Polypharmacy review across 12 meds with CKD3a (donepezil+metoprolol bradycardia, glipizide hypos)

"How has my diabetes control changed over the past year?"

Tracks HbA1c trend: 6.2% → 6.5% → 6.8% (Self) or 7.4% → 7.9% (Mother)

"What's my cardiovascular risk profile?"

Connects high cholesterol + diabetes + hypertension + blood pressure trends

"Am I overdue for any screenings or vaccinations?"

Checks immunization records and preventive care gaps

"What appointments does Liam have coming up, and is his asthma plan up to date?"

Pediatric scheduling + asthma action plan retrieval

"Summarize what I should discuss with each of my mom's specialists at the next visit"

Synthesizes all data into actionable talking points

Note: Demo data is clearly fictional ("Demo User", "Margaret User", "Sarah User", "Liam User"). To access your real health records, use Option 1 above. In demo mode, every response is marked with [DEMO MODE — sample data, not a real patient].

Option 2: Developer Install

Prerequisites

Install

git clone https://github.com/JCrossman/ab-health-mcp.git
cd ab-health-mcp
npm install
npm run build

Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "ab-health-mcp": {
      "command": "node",
      "args": ["/path/to/ab-health-mcp/build/index.js"]
    }
  }
}

Restart Claude Desktop. You'll see the tools appear in the connectors panel.

Usage

  1. Tell Claude: "Connect to My Health Records"

  2. A browser window opens — log in with your MyAlberta credentials

  3. Once logged in, your session is established (covers both MHR and MyChart)

  4. Ask Claude anything: "Summarize my recent lab results", "Am I up to date on immunizations?", etc.

Example Prompts

Here are working examples that demonstrate core functionality:

Prompt

Tools Used

"Show me my lab results from the last year and flag anything outside reference ranges"

get_lab_results

"Am I up to date on all my vaccinations?"

get_immunizations, mc_get_immunizations

"Give me a complete health summary — profile, medications, allergies, and recent labs"

get_health_overview

"What medications am I currently on according to AHS Connect Care?"

mc_get_medications

"Show me my upcoming appointments and any messages from my doctors"

mc_get_visits, mc_get_messages

"Download my latest diagnostic imaging report and explain the findings"

get_diagnostic_imaging, download_attachment

"Show me my blood work trends over the last 3 years for CBC and lipids"

get_lab_results (with test_name filter)

"Do I have any active referrals or pending orders?"

mc_get_referrals, mc_get_upcoming_orders

Architecture

The MCP server acts as a passthrough to Alberta's public health portals. There is no official API — the REST endpoints were reverse-engineered from the portal web applications. The server authenticates as the user (via browser-based SSO), then makes the same API calls the portals' own frontend JavaScript makes. All data accessed belongs to the authenticated user.

Claude Desktop ──MCP (stdio)──▶ MCP Server (local) ──REST──▶ myhealthrecords.alberta.ca
                                     │                  └──REST──▶ myahsconnect.albertahealthservices.ca (MyChart)
                                     │
                                     └──Puppeteer──▶ account.alberta.ca (SSO login)

Claude Desktop ──HTTPS──▶ MCP Server (Azure Canada Central) ──REST──▶ Same endpoints
                               │
                          OAuth 2.1/PKCE
                               │
                     SSO cookies encrypted INTO the access token
                     (zero server-side storage)

Local Mode (stdio)

  • Transport: stdio (local Claude Desktop)

  • Auth: Browser-based via Puppeteer — user logs in through the real Alberta SSO page

  • Session: Encrypted cookie storage (AES-256-GCM) at ~/.mhr-records/session.enc

Remote Mode (OAuth)

  • Transport: Streamable HTTP over HTTPS

  • Auth: OAuth 2.1 with PKCE — Claude Desktop acts as an OAuth client

  • Session: Zero server-side storage — SSO cookies are encrypted into the OAuth access token itself. The server is fully stateless.

  • Infrastructure: Azure Container Apps (Canada Central); location alone does not establish legal compliance

Both modes share the same 48 tools and session keepalive logic. Session timeout is ~10 minutes per system. Tools auto-keepalive both MHR and MyChart on each call.

Auth Flow

The auth flow navigates to the Alberta SSO login page directly. After login, sessions for both MHR and MyChart are established using the shared SSO cookies. Puppeteer includes stealth measures to avoid WAF bot detection.

account.alberta.ca/ui/sign-in/signin
  → User enters MyAlberta credentials (or auto-login via persistent browser profile)
  → SSO session cookies established

myahsconnect.albertahealthservices.ca/MyChartPRD/
  → SAML auto-authenticates via shared SSO (no re-prompt)
  → MyChart session cookies + CSRF token established

myhealthrecords.alberta.ca
  → Auto-authenticates via shared SSO cookies
  → MHR session cookies established

Puppeteer handles this automatically. The persistent browser profile at ~/.mhr-records/browser-profile preserves SSO cookies across sessions, enabling auto-login without re-entering credentials.

Tools (48)

Session Management

Tool

Description

connect_account

Opens Chrome for MyAlberta SSO login. Captures and encrypts session cookies for both MHR and MyChart.

check_connection

Verifies session is active, returns time remaining. Also serves as keepalive.

disconnect_account

Clears the saved MCP session; ordinary disconnect preserves the dedicated browser's remembered sign-in. Explicit forget_device: true also removes the MCP-owned profile, not Claude history or your normal browser data.

Health Data (MHR)

Compatibility: Medications, labs, and imaging discover their current portal control mappings rather than using fixed IDs. Failed requests are reported as errors, not as empty health records. The overview keeps available sections and clearly identifies sections it could not load.

Tool

Description

API Endpoint

get_health_overview

Comprehensive health overview from both MHR and MyChart in a single call

Multiple

get_user_profile

User profile and authorized records (MHR)

/api/phr/v1/user

get_lab_results

Lab test results with date/name filtering (MHR)

/api/phr/v1/labresult/getData

get_diagnostic_imaging

X-rays, ultrasounds, echocardiograms, CT/MRI (MHR)

/api/phr/v1/labresult/getData

get_immunizations

Vaccine records — dates, names, sources (MHR)

/api/phr/v1/myhealth/immunization-data-manager

get_medications

Current and past prescriptions (MHR)

/api/phr/v1/medication (discovered read-only mapping)

get_referrals

Specialist referral records (MHR)

/api/phr/v1/referral

get_vitals

Clinical vitals — pulse, temp, respiratory rate (MHR)

/api/phr/v1/VitalSigns

get_blood_oxygen

SpO2 saturation readings (MHR)

/api/phr/v1/myhealth/blood-oxygensaturation-data-manager

get_blood_pressure

Blood pressure readings (MHR)

/api/phr/v1/myhealth/blood-pressure-data-manager

get_height_weight

Height, weight, and BMI trends (MHR)

height, weight, BMI endpoints

get_exercise

Exercise and physical activity records (MHR)

/api/phr/v1/exercise

get_procedures

Medical procedure records — surgeries, biopsies (MHR)

/api/phr/v1/procedure

get_blood_glucose

Blood glucose monitoring for diabetes management (MHR)

/api/phr/v1/myhealth/blood-glucose-data-manager

get_sleep

Sleep session records — duration and quality (MHR)

/api/phr/v1/myhealth/sleep-session-data-manager-v2

get_dietary_intake

Food and nutrition tracking data (MHR)

/api/phr/v1/myhealth/dietary-intake-data-manager

get_insulin

Insulin injection and usage records (MHR)

insulin-injection + insulin-injection-use endpoints

get_peak_flow

Peak expiratory flow for asthma monitoring (MHR)

/api/phr/v1/myhealth/peak-flow-data-manager

get_waist_circumference

Waist circumference measurements (MHR)

/api/phr/v1/myhealth/extendable-data-manager/waist-circumference

get_symptom_journal

Logged symptoms and health concerns (MHR)

/api/phr/v1/myhealth/extendable-data-manager/concern

download_attachment

Downloads PDF reports from lab/imaging results (MHR)

/api/phr/v1/attachment/{id}/download

Health Data (MyChart / AHS Connect)

MyChart tools access data from AHS Connect Care (myahsconnect.albertahealthservices.ca/MyChartPRD/). All MyChart tools are prefixed with mc_ and require a __RequestVerificationToken CSRF header.

Tool

Description

mc_get_visits

Past and upcoming appointments (MyChart)

mc_get_health_summary

Health summary overview (MyChart)

mc_get_allergies

Allergy list (MyChart)

mc_get_health_issues

Active diagnoses and conditions (MyChart)

mc_get_care_team

Care team providers (MyChart)

mc_get_messages

Patient messages and conversations (MyChart)

mc_get_medical_history

Medical and family history (MyChart)

mc_get_documents

Clinical documents (MyChart)

mc_get_upcoming_orders

Upcoming tests and procedures (MyChart)

mc_get_test_results

Test results from AHS labs, including scan images (MyChart)

mc_get_historical_results

Historical trend data for specific test result components (MyChart)

mc_get_family_tree

Family tree and pedigree (MyChart)

mc_get_goals

Patient and care team goals (MyChart)

mc_get_referrals

Referral details from AHS (MyChart)

mc_get_medications

Medications from AHS (MyChart)

mc_get_immunizations

Immunization records from AHS (MyChart)

mc_get_appointment_requests

Pending appointment requests awaiting scheduling (MyChart)

mc_download_document

Download scan images or documents from test results (MyChart)

mc_list_proxy_access

List available patient records — own and shared/proxy (MyChart)

mc_switch_context

Switch to viewing a different patient's records via proxy access (MyChart)

Find a Provider (Public — No Login Required)

Search Alberta's public provider directory at albertafindaprovider.ca. These tools work without an Alberta account and return public information only — no PHI is involved.

Tool

Description

find_provider

Find clinics by location (postal code, address, or lat/lng) with filters for radius, accepting-new-patients, gender preference, language, PCN, and services

search_provider_by_name

Look up doctors and nurse practitioners by name (partial OK)

find_provider_by_language

Find clinics with at least one provider who speaks a specific language (Mandarin, Punjabi, Arabic, Spanish, French, etc.) near a location

get_provider_details

Full details for a specific clinic, physician, or nurse practitioner by ID

Example Queries

  • "Give me a complete health summary — profile, immunizations, medications, and recent labs"

  • "Show me how my blood work has changed over the past year"

  • "Am I up to date on my vaccinations?"

  • "Download my latest ECG report"

  • "Explain my most recent lab results in plain language"

  • "Show me my upcoming appointments from MyChart"

  • "What medications am I on according to AHS Connect Care?"

  • "Do I have any active referrals in MyChart?"

  • "Show me my care team and any messages from my doctors"

  • "Show me my procedure history"

  • "Do I have access to any shared or family health records?"

  • "Find me a family doctor accepting new patients near T6G 1L7"

  • "Find a clinic with virtual appointments and online booking within 5 km"

  • "Find a doctor who speaks Mandarin near downtown Calgary"

  • "Look up Dr. Mahdavi's clinic"

Project Structure

ab-health-mcp/
├── src/
│   ├── index.ts                    # MCP server entry point (stdio transport, 48 tools)
│   ├── types.ts                    # TypeScript interfaces for API responses
│   ├── api/
│   │   ├── auth-client.ts          # Puppeteer SSO auth with stealth measures
│   │   ├── programmatic-auth.ts    # Server-side Puppeteer auth (for OAuth flow)
│   │   ├── mhr-client.ts           # MHR REST API client with cookie jar + retry-on-401
│   │   └── mychart-client.ts       # MyChart REST API client with cookie jar + CSRF + retry
│   ├── auth/
│   │   └── session-manager.ts      # AES-256-GCM encrypted session storage (v2)
│   ├── helpers/
│   │   ├── session-helpers.ts      # Session validation, cross-keepalive
│   │   └── content-helpers.ts      # PDF text extraction + image rendering (mupdf WASM)
│   ├── server/
│   │   ├── http-index.ts           # HTTP entry point with OAuth 2.1 + portal modes
│   │   ├── create-server.ts        # MCP server factory (registers all 48 tools with schemas)
│   │   ├── oauth-provider.ts       # OAuth 2.1 provider (zero-storage token architecture)
│   │   ├── token-crypto.ts         # AES-256-GCM token encryption/decryption
│   │   └── session-context.ts      # AsyncLocalStorage for per-request sessions
│   ├── tools/
│   │   ├── tool-factory.ts         # Factory functions with pagination (offset/max_results)
│   │   ├── simple-mhr-tools.ts     # 14 simple MHR tools via factory
│   │   ├── simple-mychart-tools.ts # 11 simple MyChart tools via factory
│   │   └── ...                     # Individual tool files (see Tools section)
│   └── utils/
│       ├── errors.ts               # Typed errors (SessionExpired, AuthRequired, etc.)
│       ├── logger.ts               # Stderr logger (no PII)
│       └── formatters.ts           # Date format conversion utilities
├── static/                         # Landing page (myaihealth.ca)
│   ├── index.html                  # Single-page site (Tailwind CSS)
│   ├── hero.png                    # Hero illustration
│   ├── og-image.png                # Open Graph preview image (1200×630)
│   ├── flatIcons.png               # Icon set
│   └── favicon.png                 # Site favicon
├── api/                            # Azure Functions for landing page
│   └── request-access/             # Retired: fixed 410, no personal-data processing
├── portal/                         # Next.js web portal (chat UI)
├── Dockerfile                      # Multi-stage build for Azure Container Apps
├── staticwebapp.config.json        # Azure Static Web Apps config
├── scripts/
│   └── test-auth.ts                # Standalone auth flow test script
├── package.json
└── tsconfig.json

Build & Test

npm install          # Install dependencies
npm run build        # TypeScript compilation
npm run lint         # Type checking (tsc --noEmit)
npm test             # Run tests (vitest)

Build .mcpb Bundle

The .mcpb file is the one-click installer for Claude Desktop. Use the mcpb CLI — never raw zip.

npm run build                          # compile TypeScript first
mcpb validate manifest.json            # check manifest
mcpb pack . ab-health-mcp.mcpb         # build bundle (~16MB)
npm run test:bundle -- ab-health-mcp.mcpb # verify the extracted runtime

These commands build a local candidate without publishing it. After review and explicit release approval, use the standard release entry point:

npm run deploy

GitHub Actions builds the installer; the existing user-facing download links redirect through myaihealth.ca to Azure storage. Publication updates the bundle before matching blob/static version metadata. Existing users receive the repaired installer through the same links; no GitHub Releases migration is required.

Note: .mcpbignore excludes dev dependencies, source code, docs, and non-runtime directories. Never use raw zip — it will include everything and produce a 1GB+ file instead of 16MB.

⚠️ Critical: All directory patterns in .mcpbignore MUST be root-relative (e.g., /src/ not src/). Bare patterns match inside node_modules/ and silently strip critical runtime code. See COPILOT.md for full build documentation.

Test Auth Flow

npm run test:live -- ab-health-mcp.mcpb

This opt-in check starts the packaged MCP with an isolated home directory. Sign in directly in Chrome. It checks session reuse and read-only records from both portals, prints only pass/fail metadata, and removes its temporary browser profile and encrypted test session. Credentials and record values are not printed or saved as fixtures.

Accessibility Benefits

Conversational AI removes the barriers that make health portals difficult to use — complex navigation, medical jargon, visually dense layouts, and multiple systems to learn.

Benefit

Description

🎤 Voice interaction

Speak naturally to access health data — no typing required. Claude Desktop supports voice input, helping people with motor disabilities, vision impairments, or repetitive strain injuries.

📖 Plain language explanations

AI translates medical jargon into language you understand. Research complex conditions and arrive at appointments informed and prepared.

🧭 No complex navigation

One conversation replaces dozens of clicks across two separate portals. No menus, tabs, or page loads — especially helpful for elderly users or anyone overwhelmed by complex interfaces.

🔊 Screen reader friendly

Text-based responses work naturally with screen readers, unlike visually dense portal layouts with charts, tables, and multi-column designs.

📋 Doctor visit preparation

Generate PDF summaries, organize health concerns, and prepare questions before appointments.

🌍 Multilingual support

Claude can explain health data in languages other than English — important for Alberta's diverse communities.

👨‍👩‍👧 Caregiver empowerment

Family members managing health for elderly parents or dependents can quickly pull comprehensive views across all data sources without learning two portal systems.

⚕️ Important: Not medical advice. This tool provides information retrieval, not professional medical advice. It is not a medical device or health service. Always discuss findings, concerns, and health decisions with your doctor. AI can identify patterns but cannot diagnose or treat conditions. If you are experiencing a medical emergency, call 911 immediately.

Security

This project handles sensitive health information. Canadian hosting alone is not a compliance guarantee; we do not claim HIA or POPA certification.

Non-Negotiable Rules

  1. No PII in logs. No names, health data, cookie values, or identifiers in log output.

  2. No health-record database. The MCP returns records to its host, which controls conversation storage. Desktop mode saves encrypted sign-in cookies and a dedicated browser profile that can retain browser data. See Anthropic's privacy policy for Claude's conversation handling.

  3. Use Alberta's sign-in page. Desktop users enter credentials in the dedicated Chrome browser. Never put credentials in tool arguments, download requests, or logs.

  4. Encryption at rest. Local: AES-256-GCM at ~/.mhr-records/session.enc. Remote: AES-256-GCM in the OAuth access token (held on user's machine by Claude Desktop).

  5. Remote session storage. Session cookies are encrypted into OAuth tokens rather than a server-side health-record database. This does not eliminate operational platform logs or the exposure of data during processing.

  6. Disclose actual regions. The public Static Web App is in Central US; download storage and the separate remote MCP server are in Canada Central. The dormant portal AI configuration is Canada East. Claude processes conversations in the United States.

  7. No clinical action suggestions. The MCP server never flags lab values, suggests calling healthcare providers, recommends medication changes, or cross-references clinical data to surface concerns. All clinical interpretation is Claude's responsibility.

Passthrough Principle

The MCP server is a pipe. It does NOT:

  • Interpret or analyze health data (that's Claude's job)

  • Cache health data beyond the session

  • Calculate trends or averages

  • Make medical assessments

  • Store any health information

  • Suggest clinical actions (calling doctors, 911, changing medications, etc.)

Dependencies

Package

Purpose

@modelcontextprotocol/sdk

MCP server framework

puppeteer-core

Browser automation for SSO login (requires system Chrome)

tough-cookie

Cookie jar management and serialization

undici

HTTP client

express

HTTP server for remote/OAuth mode

express-rate-limit

Rate limiting for OAuth endpoints

mupdf

PDF text extraction and image rendering (WASM)

Landing Page

The project has a landing page at www.myaihealth.ca for explaining the extension and distributing downloads. Includes Open Graph meta tags for rich link previews in chat apps and a section recommending the free PubMed connector for medical research.

  • Hosting: Azure Static Web Apps (Free tier), Central US. No website migration is claimed.

  • Downloads: /api/download-latest returns a 30-minute, read-only HTTPS SAS redirect. No custom per-download Table logging. GitHub Releases is an alternative channel.

  • Retired endpoint: /api/request-access always returns 410 with the official download URL. It does not inspect personal details, send mail, check CAPTCHA, write Tables, or issue beta invitations. scripts/send-beta-invite.ts exits without reading arguments or making requests.

  • Legacy links: /api/download?token=... redirects to /api/download-latest without reading or propagating the token. No-referrer and no-store headers limit onward exposure; they cannot erase URLs already received by platform logs.

  • Updates: /api/check-update reads the installed version and returns the public download redirector when an update is available.

  • Download storage: Azure Blob Storage (myaihealthdownloads, downloads), Canada Central.

  • Website telemetry: Browser analytics and CAPTCHA were removed. Azure hosting/CDN/storage can still receive IP addresses, URLs, timestamps, and browser headers. Google Fonts receives font requests; GitHub and other linked providers apply their own policies.

  • Historical records: Earlier request/download Tables, notification emails, logs, and backups may remain. Cleanup needs separately approved scope and retention review; these source changes do not delete them.

Deployment

Requires separate release approval. The supported API runtime is Node 22.19.0 or later; both Static Web Apps configurations declare Node 22. Align deployment workflow/CLI runtime settings before rollout.

# Deploy static site + API function
swa deploy ./static \
  --api-location ./api \
  --api-language node --api-version 22 \
  --deployment-token <TOKEN> \
  --env production

Required App Settings

Setting

Description

STORAGE_CONNECTION_STRING

Azure Blob Storage connection string

STORAGE_CONTAINER

Container name (default: downloads)

MCPB_BLOB_NAME

Blob name (default: ab-health-mcp.mcpb)

Email, CAPTCHA, download-signing, and beta-invite settings are no longer used by these functions. Remove obsolete production credentials only through a separately approved configuration change.

Roadmap

  • Phase 1 + 2: MHR Tools — 24 tools for My Health Records (lab results, immunizations, medications, vitals, procedures, imaging, and more)

  • MyChart Integration — 20 tools for AHS Connect Care (visits, allergies, care team, messages, documents, scan downloads, proxy access, etc.)

  • Session auto-refresh — Cross-keepalives, authenticated MyChart Home/token refresh on auth failures, and desktop cookie/token persistence after context changes

  • Desktop Extension — One-click .mcpb install for Claude Desktop

  • Landing Page — direct public downloads, with no access-request form or email collection

  • Open Source — Public repository with security-audited codebase

  • Phase 3: Remote Mode — OAuth 2.1 remote connector, Azure Container Apps deployment, zero-storage architecture (implemented, not yet productized)

  • Update notifications — In-app update check via /api/check-update with direct download link (30-minute SAS URL)

  • MFA support — Relay MFA challenges for Alberta accounts with multi-factor enabled

Privacy Policy

This project accesses health information on your behalf. The desktop extension, download website, and separate remote MCP server have different data flows. The experimental web-chat portal is disabled.

Data flow

Surface

Data flow and storage

Desktop .mcpb

Fetches records directly from Alberta's portals, then returns them to Claude. Anthropic processes the conversation in the US and controls retention under its policies and your account settings.

Public website/downloads

Website hosted in Central US, installer storage in Canada Central. No personal details required; platform metadata and third-party font requests still exist.

Separate remote MCP

Health data passes through the Canada Central server. Auth state is encrypted in access tokens; hosting infrastructure may retain operational metadata. This is not the desktop path.

Disabled web-chat portal

No active chat or beta invitations. Dormant AI configuration uses Azure AI Foundry Canada East; future activation needs a separate privacy, retention, and authentication review.

Details

  • Local sign-in state. The MCP does not maintain a health-record database. It saves encrypted cookies at ~/.mhr-records/session.enc and a dedicated Chrome profile at ~/.mhr-records/browser-profile, which may retain cookies and browser data. Session expiry does not prove file erasure.

  • Disconnect is not complete sign-out. Ordinary disconnect removes the saved MCP session, but the dedicated browser can remember Alberta sign-in. Local encryption does not protect against someone using the same OS account. It does not clear normal Chrome data, Alberta records, or Claude conversations.

  • Explicitly forgetting this device. Use disconnect_account with forget_device: true only when you want the MCP-owned sign-in files and dedicated browser profile removed. If cleanup is incomplete, the tool reports it. This is local cleanup, not an upstream account logout or deletion of Claude history.

  • Provider-controlled conversations. Claude Desktop history is not ours. Retention and model-training rules depend on your plan, settings, and Anthropic's current privacy policy. No fixed Claude retention period is promised. Other MCP hosts have their own policies.

  • Sign-in. Enter credentials only on Alberta's own sign-in page, not in tool arguments, download URLs, support emails, or public issues.

  • No all-Canadian or compliance promise. The website is in Central US; Claude processing and other providers can be outside Canada. Resource locations do not establish HIA or POPA certification.

  • First-run privacy consent. On first connection via Claude Desktop, a notice explains that health data will be sent to Anthropic's US servers. You must acknowledge before proceeding.

  • Dormant portal. Earlier portal versions stored transcripts in browser localStorage. Disabling the portal does not establish that old copies are gone. Any future activation needs a separate review of Microsoft's AI data handling, including configured retention and abuse monitoring.

  • Data completeness. Health records may not reflect your complete medical history. Results may take 24–72 hours to appear after testing. Records from out-of-province providers may not be included.

  • Website metadata. No browser analytics, CAPTCHA, access form, or custom download events remain. Platform logs may still contain IP addresses, browser headers, timestamps, request paths, legacy query tokens, or signed download URLs. Google Fonts sees font requests. No-referrer headers limit onward disclosure, not the platform's receipt of a request. Retention depends on each service's settings and policies; a single retention period has not been verified.

  • Historical data remains pending review. Earlier names, emails, optional reasons (which may contain health details), and download metadata may persist in Azure Tables, notification mailboxes, logs, or backups. A counts-only inventory and separately approved cleanup are needed. No historical deletion is claimed.

Full privacy policy: https://www.myaihealth.ca/terms.html

For privacy concerns, email support@myaihealth.ca. Do not include health records or credentials in email or public GitHub issues.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables Claude Desktop to access and analyze Garmin wearable health data including sleep, HRV, Body Battery, and activity metrics. Users can query their health trends, track recovery, and generate interactive HTML dashboards using natural language.
      9
      8
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables Claude Desktop to securely access FreeStyle LibreLink continuous glucose monitoring data, providing real-time readings, historical analysis, and health insights through natural language queries.
      8
      16
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Connects Garmin watch data to Claude Desktop, allowing users to ask natural language questions about their health and activity data from Garmin Connect.
      -