By aks129
Secure FHIR AI agent interactions with HIPAA-compliant guardrails, including automatic PHI redaction, step-up authorization for writes, immutable audit trails, tenant isolation, data quality evaluation and correction, EHR ingestion, and portable health record export.
Survey ALL connected health data sources at once. Use when the patient asks: (1) "what's connected" or "what services are linked", (2) "check all my services / all my data", (3) "do you have my records" or "what records do you have", (4) "did my data come through from <Fasten/MEDENT/HealthEx/Health Bank One/Flexpa/Epic/wearables>". Calls fhir_get_token (for protected tenants) then sources_check, and presents connection status + record counts by type. Connection status and counts only — never clinical values.
HealthClaw Curatr (healthclaw.io) — patient-facing FHIR data quality evaluation and correction. Use when: (1) Evaluating a patient's health record for coding issues (deprecated code systems, invalid codes, missing required fields), (2) Presenting issues in plain language with clinical impact, (3) Applying patient-approved corrections with full Provenance tracking, (4) Preparing a structured correction request for the patient's healthcare provider. Supports FHIR R4 US Core v9 resources: Condition, AllergyIntolerance, MedicationRequest, Immunization, Procedure, DiagnosticReport — with ICD-10-CM, SNOMED CT, LOINC, CVX, and RxNorm validation via public terminology APIs.
Use this skill whenever connecting a patient's real health records from EHR systems (Epic, Cerner, Athena) or the TEFCA national network into HealthClaw Guardrails. Covers: Fasten Stitch widget embed, org_connection_id registration, EHI export job tracking, NDJSON ingestion status, TEFCA IAS identity-verified multi-provider retrieval, and post-import Curatr quality scan workflow.
HealthClaw Guardrails (healthclaw.io) — FHIR agent guardrails for clinical data access via MCP. Supports FHIR R4 US Core v9 (stable) and FHIR R6 ballot3 (experimental). Use when: (1) Reading patient data through MCP tools with automatic PHI redaction, (2) Writing clinical resources with two-phase propose/commit and step-up authorization, (3) Querying observation statistics or recent lab results, (4) Evaluating R6 Permission resources for access control decisions, (5) Auditing agent access to healthcare data. 14 MCP tools.
Connect to real FHIR servers through the MCP guardrail proxy. Use when: (1) Connecting to HAPI FHIR, SMART Health IT, or Epic sandbox servers, (2) Proxying AI agent requests to production EHR systems with guardrails, (3) Ensuring upstream server URLs never leak to clients, (4) Understanding how redaction, audit, and step-up auth apply to upstream data.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
An open reference implementation of the security and compliance layer between AI agents and clinical data — the FHIR × MCP guardrails nobody else has standardized. Built in the open as a community project, MIT-licensed. Use it, fork it, send a PR — see CONTRIBUTING.md.
v1.5.0 | 700+ Python + 74 Node tests | 23 MCP tools | FHIR R4 US Core v9 + R6 v6.0.0-ballot3 | HL7 SDC forms ($populate/$extract) | Fasten TEFCA · HealthEx · HBO · Flexpa · Epic · MEDENT | Open Wearables | Real-world actions (calls/SMS) | SMART Health Links | Claude Code plugin
FHIR standardized how health data is structured. MCP standardized how AI connects to tools. Nobody standardized the guardrails in between. This is a shared, open reference for that layer — not a product, not a pitch. If the pattern is useful, take it; if it's wrong, tell us or fix it.
This is a community effort. It's most useful if implementers, clinicians, and standards folks poke holes in it. Issues, PRs, and "you got the SDC extraction wrong" critiques are all welcome. Start with CONTRIBUTING.md and the Code of Conduct.
Two threads landed since v1.4.0: a read-authentication hardening pass on the guardrail core, and HL7 Structured Data Capture (SDC) support so the project can populate and extract healthcare forms the standard, interoperable way.
SDC form round-trip — implements the two halves of HL7 SDC:
| Operation | What it does | Mechanisms (v1) |
|---|---|---|
POST /r6/fhir/Questionnaire[/<id>]/$populate | Questionnaire + subject → pre-filled QuestionnaireResponse | expression-based (initialExpression FHIRPath) + observation-based (item.code LOINC) |
POST /r6/fhir/QuestionnaireResponse/$extract | completed QuestionnaireResponse → transaction Bundle | observation-based (observationExtract) + definition-based (definitionExtract) |
r6/sdc/ (expressions.py, populate.py, extract.py); the route layer owns auth, audit, step-up, and store I/O.$populate is read-shaped (tenant-read-authenticated + AuditEvent); $extract reuses the existing write path — step-up + per-resource $validate on commit, with ?dryRun=true to preview the Bundle without committing.questionnaire_populate (read) and questionnaire_extract (write) — so an agent can fill and extract forms end-to-end.healthclaw-intake demo Questionnaire shows the full populate → complete → extract loop.Security hardening — X-Tenant-Id reads are now authenticated, not just tenant-scoped: non-public tenants must present a tenant-bound step-up token or a matching SMART bearer (a bare header gets 401). Plus a public-tenant-aware token-mint guard, the SMART OAuth service advertised in /metadata, and dependency CVE bumps (PyJWT, npm advisories).
Deliberate compliance postures (documented in CLAUDE.md and the design spec):
$populate returns unredacted PHI by design — a form must hold real data, and the read-auth gate is the compensating control. An optional ?redaction= opt-in is a tracked follow-up.$extract commit is treated as an ingest-class operation (like Bundle/$ingest-context): step-up + $validate gate the write; it is exempt from the per-resource X-Human-Confirmed gate.One Telegram bot. All your health records. Every major source, automatically.
The v1.4.0 release wires five distinct health data pipelines into HealthClaw — each with its own auth model, transport, and data format — and exposes them as unified Telegram slash commands so you never leave the chat.
| Source | Coverage | Transport | Telegram command |
|---|---|---|---|
| Fasten TEFCA | Nationwide — all QHINs (hospitals, EHRs, labs) via CLEAR/ID.me | Webhook push | /connect |
| HealthEx | Lab + clinical aggregator | MCP Streamable HTTP pull | /export |
| Health Bank One | Identity-verified records + insurance context | MCP Streamable HTTP pull | /hbo-connect, /hbo-pull |
| Flexpa | 200+ payers/insurers (CMS-9115 mandate) | SmartHealthConnect bridge | /flexpa-connect |
| Health Skillz (Epic) | Epic MyChart + major patient portals | SmartHealthConnect bridge | /epic-connect |
| MEDENT | Small-practice EHR (SMART on FHIR direct) | Direct SMART on FHIR pull | /medent-connect, /medent-pull |
New infrastructure:
npx claudepluginhub aks129/healthclawguardrails --plugin healthclaw-guardrailsClaude for Healthcare — skills for payer, provider, pharma, and general healthcare work (prior auth, ICD-10-CM coding, trial protocols, FHIR), with hosted MCP connections to CMS Coverage, ICD-10, NPI Registry, Clinical Trials, and PubMed.
HealthCare domain specialization with HIPAA compliance, HL7 FHIR interoperability, PHI data handling, clinical data modeling, EHR system integration, medical device software (IEC 62304), telehealth architecture, and healthcare analytics.
Comprehensive FHIR software development skill covering FHIR R4/R5 APIs, resource modeling, server implementation, profile validation, terminology, SMART on FHIR, FSH authoring, SUSHI, GoFSH, and IG publishing
Validate AI medical devices, manage PCCPs, monitor adverse events, and stay aligned with FDA QSR
11 healthcare privacy skills: HIPAA Privacy/Security Rules, risk analysis, BAA management, de-identification, telehealth
Claude Code skill pack for OpenEvidence medical AI (24 skills)