Epic will let authorized external AI agents read patient data through the Model Context Protocol (MCP) by the end of Q1 2027 (Epic, Agent Factory Connectors). You can build most of the same agents today on Epic's FHIR APIs, with any HIPAA-ready model.
OpenNash forward-deployed engineers build these Epic integrations with health systems and health tech companies. Book a call to scope yours.
This post covers the Epic integration layers, what the MCP release will and will not do, what access costs, which models can process patient data, and the read-only use cases that give the fastest return.
The Epic integration layers
"open.epic" does not mean open-source Epic or open access to hospital data. It is Epic's free developer program. Every app still needs a health system to turn it on and grant it access. Epic offers six layers for integration:
| Layer | What it does | Who uses it | Status |
|---|---|---|---|
| FHIR R4 REST APIs | Read and, for some resources, write structured clinical data | Apps and backend services | Live, over 640 FHIR APIs |
| SMART on FHIR | OAuth 2.0 login and app launch inside Epic or MyChart | Embedded clinician and patient apps | Live |
| Bulk FHIR | Export data for a group of patients | Analytics, population health | Live |
| CDS Hooks | Send advice cards into the clinician's workflow | Decision support vendors | Live |
| HL7v2 interfaces | Real-time hospital events (admissions, results, orders) | Enterprise integration engines | Live |
| Agent Factory Connectors | MCP connections between AI agents and Epic | AI agent vendors and health systems | Pilots by end of 2026, general availability by end of Q1 2027 |
Epic also builds its own AI. Its agents (Art, Emmie, Penny) run in Agent Factory. Epic Cosmos holds de-identified records for 310 million patients, and Epic trained the CoMET medical event models on 118 million of them. External agents run your own models, data, and workflows on the same chart.
Two more data sources need extra access. Clarity (Epic's reporting database) and Kit specifications come through Vendor Services or through the health system's own analytics team.
Epic's open.epic home page reports 3,546 live apps that use open.epic web services and 336 billion annual web service transactions on Epic's public APIs.
What Epic announced for MCP
Epic made three separate MCP announcements in 2026.
- open.epic MCP server (live since October 30, 2026). It lets an AI client search Epic's API specifications, interface summaries, Data Sharing Playbooks, tutorials, and FAQs. The server URL is
https://mcp.open.epic.comand the transport is Streamable HTTP (setup page). It returns documentation only. Epic says the server "is not designated to handle sensitive information, such as protected health information (PHI)." In Claude Code, the command isclaude mcp add --transport http open-epic https://mcp.open.epic.com. - Outgoing connections (announced at Open@Epic in October 2026). Agent Factory is Epic's platform for building and running AI agents. Epic's agents run on it: Emmie for patients, Art for clinicians, and Penny for revenue cycle and operations, with over 140 workflows deployed. With outgoing connections, Agent Factory acts as an MCP client and calls your MCP server. You register the server configuration in Vendor Services and list it on Showroom.
- Incoming connections (announced November 18, 2026). Epic acts as the MCP server, and authorized external AI agents call tools in Epic. Seth Howard of Epic announced this at a STAT panel at HLTH (Brendan Keeler, Health API Guy). Epic updated its developer page the same day.
Epic's examples for Connectors include ambulance arrival times shown to the emergency department, payer prior authorization status answered by Penny, and a remote patient monitoring agent that "could look up a patient's active medications and recent lab results in Epic before flagging a reading for the care team."
What the incoming Epic MCP will do at launch
The scope comes from Epic's Agent Factory Connectors page, last updated November 18, 2026. Epic marks it as pre-release information that can change.
| Capability | At launch |
|---|---|
| External AI agents call tools in Epic | Yes |
| Read data from Epic's USCDI v5 FHIR R4 APIs | Yes |
| Backend (server-to-server) context | Yes |
| Write to the patient record through MCP | Not announced |
| All 640+ FHIR APIs as MCP tools | No. Epic starts with USCDI v5 data and plans to add tools over time |
| Epic agents call your MCP server | Yes |
| Customer-built and third-party MCP servers | Yes, the customer chooses which to connect |
| All MCP features, such as extensions and experimental features | No |
Epic also says: "MCP connectors are one tool in the data exchange toolbox." An app can use plain REST calls, its own MCP server, Epic's MCP tools, or a mix.
In a backend context, the app authenticates as itself with a signed JWT (SMART Backend Services), not as a signed-in clinician. The health system grants the app its scopes. Your audit log must then record which agent run, for which user request, read which records. One reader of Keeler's post asked whether Epic's audit trail will name the agent or only the app. Plan to keep that record in your own system.
The FHIR data you can read today
USCDI is the federal list of data elements that certified health IT must share. Epic's open.epic news page says Epic now supports USCDI v5 and US Core 8 in its August 2026 release. The resources below are the ones most clinical AI agents need. The exact set depends on what each health system turns on for your app.
| FHIR resource | Data |
|---|---|
| Patient | Demographics |
| Condition | Problem list and diagnoses |
| Observation | Lab results, vital signs, social history |
| DiagnosticReport | Lab, pathology, and imaging reports |
| MedicationRequest | Prescriptions and orders |
| MedicationAdministration | Medications given in the hospital |
| DocumentReference | Clinical notes and documents |
| ImagingStudy | Imaging study metadata |
| Encounter | Visits and admissions |
| Procedure | Procedures and surgeries |
| AllergyIntolerance | Allergies |
| CarePlan, Goal | Treatment plans |
| Coverage | Insurance |
| Appointment | Scheduled visits |
Epic supports some writes, such as Observation.Create, Condition.Create, and MedicationRequest.Create. Do not assume every resource supports create, update, or delete. Check each one in the Epic on FHIR specifications.
Developer access and cost
The prices come from Epic's developer support page.
| Feature | open.epic | Vendor Services |
|---|---|---|
| Membership fee | None | $1,900 a year |
| Industry-standard and Epic public APIs | Yes | Yes |
| Data Sharing Playbooks and technology guidance | Yes | Yes |
| Testing | Launchpad, FHIR Developer Sandbox, Hyperdrive test harness | Expanded tools and environments with configurable test data |
| Showroom Connection Hub listing | Yes | Yes |
| Private APIs, Kit, Clarity, content imports | No | Specifications and documentation available |
| Support from Epic staff | No | Billed at an hourly rate |
| Register an Agent Factory Connector | No | Yes |
The $1,900 fee is not the cost of a live integration. Each health system has its own security review, build time, and contract. Plan for that work in your budget and timeline.
What read-only data can do
With read-only access, the agent cannot change the chart. A clinician or staff member makes every change in Epic. This makes security and clinical review simpler.
Clinical trial screening
Research coordinators read charts by hand to find eligible patients. An agent reads Conditions, Observations, MedicationRequests, and notes, and checks each patient against each inclusion and exclusion criterion. It gives a work list with the evidence for each criterion. The NIH team that built TrialGPT reported 87.3% criterion-level accuracy, close to expert performance, and 42.6% less screening time in a user study. It recalled over 90% of relevant trials while keeping less than 6% of the initial trial list. The coordinator still confirms eligibility and contacts the patient.
Genomic biomarkers and targeted therapy
Genomic test results often arrive as PDF reports in DocumentReference or as structured Observations. An agent reads both, lists actionable variants (for example EGFR, KRAS G12C, BRCA1/2, or MSI-high status), and matches them to on-label therapies or open trials. HL7's Genomics Reporting implementation guide defines how structured variants appear in FHIR. A molecular tumor board reviews the list.
Tracking health changes over time
An agent reads every eGFR, HbA1c, hemoglobin, weight, or blood pressure Observation for a panel of patients. Deterministic code computes the slope and flags the patients whose kidney function is falling or whose diabetes control is getting worse. The model then writes a short summary of what changed and which medications or events line up with the change. Code does the math because a 2025 study on ICU records found that LLMs "are still struggling with temporal progression," even with long context windows.
More read-only use cases
| Use case | Data read | Who acts |
|---|---|---|
| Pre-visit chart summary | Encounters, Conditions, recent Observations, notes | Clinician |
| Care gap list (screenings, vaccines) | Procedures, Immunizations, Observations | Care manager |
| Prior authorization packet | Coverage, Conditions, notes, prior treatments | Revenue cycle staff |
| Medication safety review | MedicationRequests, allergies, kidney and liver labs | Pharmacist |
| Registry and quality abstraction | Conditions, Procedures, Observations | Quality team |
| Remote monitoring context | Active medications, recent labs | Care team |
Choosing a model for patient data
You do not have to use OpenAI or Anthropic. The model must sit inside a HIPAA boundary that fits your risk and cost. There are three common choices.
| Option | How PHI is protected | Good fit |
|---|---|---|
| Cloud model under a BAA | Provider signs a business associate agreement for HIPAA-eligible services | Fast start, best frontier quality |
| Zero or modified data retention | Provider does not store prompts or outputs, or keeps them only for a short abuse-monitoring window | Teams that want little or no PHI at rest with the vendor |
| Open-weight model you host | PHI never leaves your servers or your cloud account | Strict data residency, high volume, fixed cost |
HHS treats a cloud provider that stores or processes electronic PHI as a business associate, "even if the CSP processes or stores only encrypted ePHI," so you need a BAA (HHS cloud computing guidance).
Read each vendor's terms closely, because BAA and retention rules differ:
- OpenAI signs a BAA for API services without an enterprise agreement. HIPAA eligibility also requires Modified Retention on your organization.
- Anthropic covers its first-party API, Claude in Microsoft Foundry, and Enterprise plans under a BAA. Its covered models need 30-day retention, and HIPAA readiness and zero data retention cannot be combined in one API organization. The Batch API, Files API, and data sent to third parties through connectors or MCP are not covered.
- Cloud platforms list their HIPAA-eligible AI services. See AWS, Microsoft Azure, and Google Cloud.
Open-weight models now handle much of this work. Google's MedGemma is trained for medical text and images, and Google says it is not yet clinical-grade. MedGemma 1.5 (4B parameters) raised EHR question-answering accuracy from 68% to 90% and is small enough to run offline. OpenAI's gpt-oss models are Apache 2.0. The 20B model needs 16 GB of memory and the 120B model fits in 80 GB. General models such as Llama and Qwen also run on a single GPU server for extraction and summarization. HIPAA still applies to the servers, logs, and backups, so you secure them as you would any PHI system. If another company hosts the GPUs, that company is a business associate too. We compare the trade-offs in self-hosted vs cloud AI and BAA-ready agent architecture.
You can also combine them. An open-weight model you host does the bulk extraction from notes. A frontier model under a BAA handles the harder reasoning steps on the minimum data it needs.
Best practices for AI on patient data
- Use the minimum necessary data. HIPAA's minimum necessary standard (45 CFR 164.502(b)) applies to AI too. Request only the FHIR scopes the use case needs. Send the model only the fields the task needs.
- De-identify data for analytics and model evaluation. Use the Safe Harbor method (remove 18 identifier types) or Expert Determination (HHS de-identification guidance).
- Map every place PHI goes. A BAA with the model vendor does not cover the MCP servers and tools your agent calls. Each tool that receives PHI needs its own BAA or must run inside your environment.
- Keep PHI out of developer tools. Never paste PHI into the open.epic MCP server, the Epic sandbox, or a coding assistant. Use Epic's synthetic test patients.
- Treat clinical notes as untrusted input. Notes and outside documents can contain text that reads like a command to the model. The agent must not follow it. We cover these controls in AI agent runtime security.
- Log every agent read. Record the agent run, the requesting user, the patient, the resources read, the model, and the output. See audit trails for regulated industries.
- Cite the source record for every claim. Each statement in a summary links to the Observation, note, or report it came from, so a clinician can check it in seconds.
- Compute numbers with code. Trends, dates, doses, and eligibility thresholds come from deterministic code. The model explains the result.
- Test on your own charts first. Build an evaluation set of real (de-identified) cases with known answers before you pick a model. Measure misses as well as false alarms.
- Keep a person on every clinical action. The agent prepares the work list. A clinician orders, refers, enrolls, or documents.
How to start
- Connect your coding assistant to the open.epic MCP server to read the specifications.
- Register an app on fhir.epic.com and test against the FHIR R4 sandbox at
https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4/with Epic's synthetic test patients. - Pick one read-only use case with a clear owner and a clear measure, such as screening time per trial or patients flagged per month.
- Choose the model option: BAA cloud model, zero data retention, or open-weight model you host.
- Build the agent on FHIR APIs now. Put the FHIR calls behind your own MCP tools so you can switch to Epic's MCP tools when they ship.
- Run it in shadow mode with one clinical team. Compare its work list with their manual review.
- Go live with one health system. Then list your app or Connector on Showroom.
How OpenNash helps
OpenNash puts forward-deployed engineers on your team to build AI agents on Epic data that run in production. We work with health systems, health tech companies, and life sciences teams. A typical engagement follows these steps:
- Review your use cases, your Epic access, and your data. Find the read-only use case with the highest business value and the fastest ROI.
- Set up the PHI boundary: BAA cloud models, zero data retention, or open-weight models in your own environment.
- Build the FHIR integration, the agent, and the evaluation set from your own de-identified cases.
- Add the safeguards: minimum necessary scopes, audit logs, source citations, and clinician review.
- Ship in shadow mode, measure against manual review, then go live.
- Prepare your MCP tools for Epic's incoming and outgoing Connectors in 2027.
Book a call with an OpenNash forward-deployed engineer, or email [email protected]. In the first session, we review your top AI use cases and data and show which ones give the highest business value and the fastest ROI.