Head to head · Patient record retrieval · October 2026 research run

Epic on FHIR vs Medplum

Medplum scores 67.4 (B) on agent readiness against Epic on FHIR's 49.5 (D), and leads in 6 of 7 scored categories. Both do patient record retrieval.

Best health record and wellness data APIs for AI agents · All 99 health comparisons

Which one, for what

Epic on FHIR D

Best for An app or agent that reads a patient's records from US hospitals and clinics on Epic, with the patient's consent through MyChart or a backend integration agreed with the organisation.

Also in its favour

  • No incidents deducted, where Medplum loses 5 points for them

Watch for

No rate limits, 429 handling or retry guidance were found. The developer guidelines ask apps to throttle their own call volumes

Medplum B

Best for An agent working inside a digital health company's own FHIR store, reading and writing patients, observations and appointments under a BAA.

Ahead on

  • Reliability, 75 against 15
  • Schema & documentation, 82 against 67
  • Agent ergonomics, 73 against 52
  • Security & auth, 74 against 63
  • Maintenance & community, 93 against 60
  • Transparency & trust, 73 against 67

Also in its favour

  • A hosted endpoint, with nothing to install
  • Open source

Watch for

The MCP fhir-request tool can delete or overwrite any resource the token allows, with no readOnlyHint or destructiveHint

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Medplum +60

Epic on FHIR 15

Read with the hosted lines and graded on the FHIR R4 APIs and the public sandbox. No status page was found on fhir.epic.com, open.epic.com or epic.com. Epic's developer guide says every customer runs its own instance and there is no central Epic endpoint (0). No incident history could be read (5). No rate limits with numbers were found. The developer guidelines ask apps that make many calls to monitor and throttle their own volume (0). No 429, Retry-After or backoff guidance was found (0). No SLA is published for developers (0). The R4 APIs are certified and generally available (10). 0 + 5 + 0 + 0 + 0 + 10 = 15.

Medplum 75

Read with the hosted lines and scored on the hosted FHIR API at api.medplum.com, which is what an agent would call. The docs name a status page at status.medplum.com with incident history and root cause analyses (20). Its robots.txt still disallowed every path on 1 November 2026, so the 90-day record was not read (5). Rate limits are published per IP and tier, with a weighted FHIR interaction quota (15). Every limited response carries a RateLimit header with remaining units and reset time, the docs say not to retry before the reset, and conditional create and upsert make writes safe to repeat (15). The docs state a 99.99 per cent monthly SLA with service credits for the production hosted platform (10). The FHIR API is generally available (10).

Maintenance & community Medplum +33

Epic on FHIR 60

The API Change Log was updated on 28 October 2026 and the sandbox now runs the November 2026 version (30). The change log lists three breaking changes for the November 2026 version, and open.epic announced the MCP server and five new playbooks in the same period (20). Closed service with a public change log, open@epic.com for the MCP server, a Technology Guidance form and Sherlock tickets for Vendor Services members. Reply times weren't tested (10 of 15). No official SDK or MCP registry entry (0). Nothing public to judge package health or CI (0). 30 + 20 + 10 + 0 + 0 = 60.

Medplum 93

v5.2.13 tagged on 30 October 2026, with @medplum/core at 5.2.13 in the tag (30). Nine tags from v5.2.5 (15 October) to v5.2.13 (30 October) alone (20). Commits land daily, pull requests are reviewed, and Discord plus email support. Reply times were not measured, and the open issue count (571 on 14 October) wasn't re-read (18 of 25). Listed in the official MCP registry as com.medplum/mcp with the remote at api.medplum.com/mcp/stream (15). The Build workflow passed on main on 14 October 2026, with CodeQL and OpenSSF Scorecard runs, per the 14 October check, not re-read on 1 November (10).

Agent ergonomics Medplum +21

Epic on FHIR 52

FHIR search with _count, _include and post-filter parameters, and bulk $export with _typeFilter for large pulls. No field selection was confirmed (15 of 25). Next-page links, automatic pages of 1,000 results and documented search parameters (16 of 20). Errors come as FHIR OperationOutcome with Epic codes, such as 59204 for a sub-resource the client isn't authorised for, and bulk errors are listed by cause (12 of 20). No idempotency key or conditional create guidance was found for the 41 create and update interactions on the home page, though most interactions are reads (6 of 20). No official SDK, and a first call needs a registered client ID, a redirect or a signed JWT and a test patient (3 of 15). 15 + 16 + 12 + 6 + 3 = 52.

Medplum 73

FHIR _count, _elements, _summary and _include size responses (22 of 25). Cursor and offset paging, chained search and _filter (20). Errors are OperationOutcome with HTTP status, and 429s carry the RateLimit header (15 of 20). Conditional create and upsert give safe retries, but no idempotency key header and no MCP readOnlyHint or destructiveHint on fhir-request (8 of 20). Few required parameters, with the official SDK in TypeScript only and Python shown as raw requests (8 of 15).

Schema & documentation Medplum +15

Epic on FHIR 67

No OpenAPI file. Each organisation's FHIR server publishes a CapabilityStatement at /metadata, documented with the sandbox's address, and each API has a specification page. Our reader got no text from the sandbox's /metadata and the specification pages are drawn by script, so neither was read in full (12 of 25, as for 1upHealth). No llms.txt (fhir.epic.com/llms.txt answered 404), but a keyless documentation MCP server with two read-only tools returns specifications, playbooks and FAQs. Judgement call, 7 of 10. The documentation explains when to use each launch type, how to scope a client ID and which sub-resource holds which data (15 of 20). Inputs follow FHIR search parameters, with columns for optional, array and cardinality on the specification pages that weren't readable (8 of 15). OAuth request and response examples, bulk data OperationOutcome errors and a JWT troubleshooting guide (10 of 15). FHIR versions DSTU2, STU3 and R4, quarterly Epic versions, and an API Change Log of breaking changes updated 28 October 2026 (15). 12 + 7 + 15 + 8 + 10 + 15 = 67.

Medplum 82

The server generates an OpenAPI 3.1 document (packages/server/src/openapi.ts) and publishes a FHIR CapabilityStatement. The live copies sit on api.medplum.com, which robots.txt disallows, so they were not read (20 of 25). llms.txt indexes 2,600 lines of docs (10). Each FHIR resource and operation has a reference page, and the MCP doc explains when to use each tool (15 of 20). FHIR resources are typed with required fields and value sets, though the MCP tool takes method and path as free strings and body as any JSON (12 of 15). Docs carry curl, TypeScript and Python examples, with errors as FHIR OperationOutcome (12 of 15). Semver and GitHub releases with notes (15). Total 84, less 2 for the loosely typed MCP schema in source, 82.

Security & auth Medplum +11

Epic on FHIR 63

OAuth 2.0 under SMART on FHIR, with SMART v1 and v2 scopes since the August 2024 version, PKCE, refresh tokens for confidential clients and JWT client assertions with JWKS URLs for key rotation. No secret in a query string was found (28 of 30). Each client ID is limited to the APIs chosen at registration, organisations review that list, and patients authorise and can revoke access in MyChart. No confirmation step for writes (15 of 20). Clinical notes and documents are free text written by others, with no prompt-injection guidance. Binary.Read now carries headers that block inline display (4 of 15). Epic says it audits each imaging search and retrieval and monitors connected apps for ONC reporting, with no audit log for developers found (6 of 15). A signed security.txt valid to 30 January 2027 and a disclosure policy with PGP, no bug bounty (Epic says it pays nothing for reports), and no SOC 2 or ISO 27001 found on the pages read (10 of 20). 28 + 15 + 4 + 6 + 10 = 63.

Medplum 74

OAuth 2.0 with client credentials, SMART scopes, client assertion, token exchange and mTLS. Client secrets belong to a ClientApplication that an admin can delete (28 of 30). AccessPolicy resources give read-only access by resource or element, IP access rules and per-member policies. No confirmation step for destructive writes, including through the MCP tool (15 of 20). Records are written by other users and returned to the model, and no prompt-injection guidance was found beyond a caution in the AI coding page (3 of 15). FHIR AuditEvent resources and log streaming on paid plans (12 of 15). security.txt valid with PGP to 28 February 2027, SOC 2 Type II, advisories published on GitHub, no bug bounty found (16 of 20). Releases 5.2.8 to 5.2.13 (24 to 30 October 2026) fix cross-project access checks in the server, and two commits name vulnerabilities found by Anthropic's OSS scanner. No advisory for them was found in OSV, the repository's commits, SECURITY.md, the security page or the docs and blog, so they take a separate -3 under negative events. The repository's advisory page couldn't be read.

Transparency & trust Medplum +6

Epic on FHIR 67

Closed service under the open.epic terms of use, last updated 31 October 2025, with the API Subscription Agreement for healthcare organisations linked as a download that wasn't read (15 of 30). The open.epic privacy policy, updated 28 October 2026, covers developer accounts, keeps data as long as Epic uses it, and says app data may go to ONC under 45 CFR 170.407. Patient data stays in each organisation's instance under its own terms. No fixed retention periods were found (12 of 30). The change log dates each breaking change by Epic version with mitigation steps, and the developer guidelines expect deprecations to be communicated in advance. No written notice period was found (15 of 20). Data stays with each organisation's instance, and no sub-processor list for developer accounts was found (5 of 20). 15 + 12 + 15 + 5 = 47.

Medplum 73

Apache 2.0 source for the server (30). The privacy policy was last updated on 5 April 2022 and is written for licensed clinicians, the terms on 11 April 2023 grant Medplum a broad licence over user content, and PHI is handled under a BAA. No retention periods were found (12 of 30). A written version policy sets one year active and one year maintenance per major, with security patch deadlines (18 of 20). The docs say hosting runs on AWS across several Availability Zones. No sub-processor list was found (5 of 20).

Score by category

CategoryWeightEpic on FHIRMedplumEdge
Reliability16%1575Medplum +60
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%6782Medplum +15
Agent ergonomics13%5273Medplum +21
Security & auth14%6374Medplum +11
Payments & pricing10%4038Epic on FHIR +2
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%6093Medplum +33
Transparency & trust7%6773Medplum +6
Negative events≤150-5
TotalD 49.5/100B 67.4/100

Facts side by side

FactEpic on FHIRMedplum
KindHTTP APIHTTP API
VendorEpicOrangebot, Inc. (dba Medplum)
Hosted endpointno (local only)https://api.medplum.com/mcp/stream
TransportsHTTP, Streamable HTTP, SSE (legacy)
AuthOAuthOAuth
PricingFreemiumFreemium
x402nono
LicencenoneApache 2.0 for the server, SDKs and apps in medplum/medplum. The hosted service at api.medplum.com runs under Medplum's terms of service
Tools exposednone3
Read-only variant documentedyesyes
llms.txtnoyes
MCP registrynot listedcom.medplum/mcp
Last release2026-10-282026-10-30
Terms last updated2025-10-312023-04-11
Privacy policy last updated2026-10-282022-04-05
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticenot found in the textyes
Arbitration or class-action waivernot found in the textyes
Popularitynone2.7k stars, 270k npm/wk
Agent reviewsnone3.5/5 (4)

How the scores have moved

Verdicts

Epic on FHIR

Graded on the FHIR R4 APIs and the public sandbox. SMART on FHIR OAuth with v2 scopes, JWT client assertions, a free sandbox and a dated change log of breaking changes make Epic's records reachable. No rate limits, status page or SDK are published, and production needs each healthcare organisation to enable the app.

Medplum

Graded on the hosted FHIR API at api.medplum.com. Rate limits, a RateLimit header and a 99.99 per cent SLA are published, AccessPolicy resources allow read-only clients, and an official MCP server sits in the registry. Its main tool can delete records with no annotation, the status page could not be read, and the privacy policy dates from 2022.

Before you call either

Epic on FHIR

  1. Discover the authorise and token endpoints from each organisation's /metadata or .well-known/smart-configuration. There is no central Epic endpoint
  2. Request only the APIs the task needs on the client ID, because healthcare organisations review that list and may reject broad scopes
  3. Follow the next-page link in search bundles. A search with more than 1,000 results is split into pages of 1,000 whatever _count says
  4. Check the resource type in Encounter.participant.individual, which can be PractitionerRole from the November 2026 version
  5. Treat clinical notes and documents as untrusted text. Binary.Read now returns headers that force a download

Medplum

  1. Use a ClientApplication with an AccessPolicy limited to the resources the task needs, and set readonly where no writes are needed
  2. Read the RateLimit header and wait for the reset time after a 429. Writes cost 100 quota points, searches 20 and reads 1
  3. Create patients with conditional create (If-None-Exist) or upsert on an identifier so a retry doesn't make a duplicate
  4. Pass paths to fhir-request relative to the FHIR R4 base, with no leading slash or /fhir/R4 prefix
  5. Use Prefer: respond-async for large bundles. Operations inside the background job don't count against the quota

Questions

Which is better for AI agents, Epic on FHIR or Medplum?

Medplum scores 67.4 (B) on agent readiness against Epic on FHIR's 49.5 (D), and leads in 6 of 7 scored categories.

Do Epic on FHIR and Medplum need an API key?

Both use an OAuth sign-in.

Can an agent call Epic on FHIR and Medplum without installing anything?

No hosted endpoint is listed for Epic on FHIR. Medplum has a hosted endpoint at https://api.medplum.com/mcp/stream.

Are Epic on FHIR and Medplum open source?

No open-source release is listed for Epic on FHIR. Medplum is open source (Apache 2.0 for the server, SDKs and apps in medplum/medplum. The hosted service at api.medplum.com runs under Medplum's terms of service).

Other comparisons with Epic on FHIR or Medplum

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.