# HIPAA FHIR MCP (prototype)

> HIPAA FHIR MCP (prototype) is an open-source MCP server for health and science. Read-only FHIR R4 tools for AI agents, with patient-scoped access and hashed audit logs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows, Self-hosted, API
- **Website:** https://tanya-ok.github.io/hipaa-fhir-mcp/
- **Repository:** https://github.com/tanya-ok/hipaa-fhir-mcp
- **MCP Registry name:** io.github.tanya-ok/hipaa-fhir-mcp
- **Categories:** [health and science](https://ai-powered.com/categories/health-and-science), [healthcare software](https://ai-powered.com/categories/healthcare-software)
- **Listing updated:** 2026-11-27

## About

The server gives an AI client fifteen read-only tools for pulling patient summaries, observations, medications, conditions, allergies, immunizations, encounters, procedures, lab results and related FHIR R4 resources. Every call is checked against a local patient policy that denies access by default, so a caller only reaches the patients and tools it has been granted.

Responses are trimmed before they reach the model: codes, statuses and dates are kept while names, free text and notes are dropped. Each invocation writes one audit record in which the patient identifier is replaced by a keyed HMAC-SHA-256 hash, and an optional chain lets edited or removed records be detected.

The project is aimed at developers who want to see how a healthcare MCP server could be structured around access control and audit. It is explicitly a prototype that runs against synthetic sandbox data, and it is not a compliant clinical system.

## Features

- **Fifteen read-only tools:** Covers patient summary, observations, medications, conditions, allergies, immunizations, encounters, procedures, lab results, vital signs, care team and goals.
- **Deny-by-default patient policy:** Access requires an exact grant matching caller, patient and tool, and grants can carry an expiry time.
- **Minimized responses:** Names, free text and notes are removed from results before the model receives them.
- **HMAC-hashed audit records:** Each call produces one audit entry with the patient id hashed under a server-side key, and a verifier detects tampering.
- **SMART Backend Services support:** Can authenticate to FHIR R4 servers that use SMART Backend Services client assertions.
- **Stdio and HTTP transports:** Runs as a local stdio server or a Streamable HTTP server with token or demo access.

## Good for

- Exploring how an AI agent could query synthetic FHIR patient records safely
- Testing access-control and audit patterns before building a healthcare integration
- Demonstrating read-only FHIR access to a team evaluating HIPAA-aligned MCP designs
- Running a local sandbox session against the public SMART synthetic patient server

## Install

### Claude Desktop (Claude Desktop → Settings → Extensions)

```text
https://github.com/tanya-ok/hipaa-fhir-mcp/releases/download/v0.9.0/hipaa-fhir-mcp-0.9.0.mcpb
```

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

## Tools

From the tool list in its README, going by the names, all 15 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `get_patient_summary` (name suggests: reads): Returns patient, active conditions, allergies and active medications for a patient id.
- `get_patient` (name suggests: reads): Returns the Patient resource for a patient id.
- `search_observations` (name suggests: reads): Returns Observation resources for a patient filtered by code.
- `get_medication_list` (name suggests: reads): Returns active MedicationRequest resources for a patient.
- `get_conditions` (name suggests: reads): Returns Condition resources for a patient.
- `get_allergies` (name suggests: reads): Returns AllergyIntolerance resources for a patient.
- `get_immunizations` (name suggests: reads): Returns Immunization resources for a patient.
- `get_encounters` (name suggests: reads): Returns Encounter resources for a patient, optionally since a date.
- `find_patient` (name suggests: reads): Finds Patient resources matching a system and value identifier within the caller's grant.
- `get_procedures` (name suggests: reads): Returns Procedure resources for a patient, optionally since a date.
- `get_diagnostic_reports` (name suggests: reads): Returns DiagnosticReport resources for a patient without narrative conclusions or attachments.
- `get_lab_results` (name suggests: reads): Returns laboratory Observation resources for a patient.
- `get_vital_signs` (name suggests: reads): Returns vital-sign Observation resources for a patient.
- `get_care_team` (name suggests: reads): Returns CareTeam resources for a patient without member lists.
- `get_goals` (name suggests: reads): Returns Goal resources for a patient with coded descriptions only.

## FAQ

### Is HIPAA FHIR MCP (prototype) safe to use with real patient data?

No. The project states it is a prototype for synthetic data only and is not for real PHI.

### Can the tools write to patient records?

No. All tools are read-only and there is no write path to patient data.

### Which FHIR servers can HIPAA FHIR MCP (prototype) connect to?

Any FHIR R4 server is supported, including servers that use SMART Backend Services, and it defaults to the public SMART sandbox.

### How is patient identity protected in logs?

The audit record stores only an HMAC-SHA-256 of the patient id, computed with a server-side secret key.

### Is HIPAA FHIR MCP (prototype) free?

Yes. HIPAA FHIR MCP (prototype) is open source, so you can use and self-host it for free.

### What are the best alternatives to HIPAA FHIR MCP (prototype)?

The closest alternatives to HIPAA FHIR MCP (prototype) are Langcare MCP Fhir, MCP Fhir, Fhirhydrant, MCP Ratchet Clinical Charting and K01 Synthetic Health Data.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Langcare MCP Fhir](https://ai-powered.com/mcp/langcare-mcp-fhir): Langcare MCP Fhir is an open-source MCP server for health and science.
- [MCP Fhir](https://ai-powered.com/mcp/mcp-fhir): MCP Fhir is an open-source MCP server for health and science.
- [Fhirhydrant](https://ai-powered.com/mcp/fhirhydrant): Fhirhydrant is an open-source MCP server for healthcare software.
- [MCP Ratchet Clinical Charting](https://ai-powered.com/mcp/mcp-ratchet-clinical-charting): MCP Ratchet Clinical Charting is an open-source MCP server for health and science.
- [K01 Synthetic Health Data](https://ai-powered.com/mcp/k01-synthetic-health-data): K01 Synthetic Health Data is an MCP server for health and science.
- [FHIR MCP Server](https://ai-powered.com/mcp/fhir-mcp-server): FHIR MCP Server is an open-source MCP server for health and science.
- [healthpoint-rs](https://ai-powered.com/mcp/healthpoint-rs): healthpoint-rs is an open-source MCP server for healthcare software.
- [Healthclaw Guardrails](https://ai-powered.com/mcp/healthclaw-guardrails): Healthclaw Guardrails is an open-source MCP server for healthcare software.

---
Source: https://ai-powered.com/mcp/hipaa-fhir-mcp-prototype
