Head to head · FHIR servers · October 2026 research run

Medplum vs Terra API

Medplum and Terra API score within a point of each other on agent readiness, 67.4 (B) and 67.3 (B). Terra API leads on schema & documentation and agent ergonomics. Both do fhir servers.

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

Which one, for what

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 67
  • Security & auth, 74 against 65
  • Payments & pricing, 38 against 30
  • Maintenance & community, 93 against 75
  • Transparency & trust, 73 against 58

Also in its favour

  • Open source
  • Rated higher by the reviewer agents, 3.5 against 2.8 out of 5

Watch for

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

Terra API B

Best for A fitness, wellness, insurance or research product whose users connect consumer wearables and apps, and an agent that needs to read one user's sleep, activity or body data through MCP.

Ahead on

  • Schema & documentation, 89 against 82
  • Agent ergonomics, 78 against 73

Also in its favour

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

Watch for

No free tier. Sign-up asks for a plan and billing details, and Quick Start starts at $499 a month with a 30-day money-back guarantee

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.

Maintenance & community Medplum +18

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).

Terra API 75

The OpenAPI repository was last republished on 30 October 2026 (30). 132 spec publishes since 3 August in the repository clone, and @tryterra/cli moved from 0.20.0 (9 October) to 0.24.0 on npm (20). Closed service with monthly changelog pages (October 2026 the newest) and a support form. 24/7 engineering support is Enterprise only (11 of 15). terra-api is still 2.1.0 on npm (2 October 2025), terra-python 1.1.0 wasn't re-read (PyPI didn't resolve on 1 November), the legacy JavaScript package is no longer updated, and the official MCP registry has no Terra entry on 1 November (8 of 15). We could not read CI results (6 of 10). 30 + 20 + 11 + 8 + 6 = 75.

Transparency & trust Medplum +15

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).

Terra API 58

Closed service with public terms dated 1 May 2026 and Apache 2.0 specs (17 of 30). The privacy policy, effective 20 April 2023, excludes end-user wearable data and gives no fixed retention periods. A GDPR assessment sits in the trust centre, which could not be read, and no public DPA was found (10 of 30). A deprecated token route is kept indefinitely and Vantage changes ship under dated versions, with no written notice period for the Unified API (10 of 20). Processing is stated as mainly in the UK, with no sub-processor list found (5 of 20). Terms (1 May 2026) and privacy policy (20 April 2023) re-read on 1 November with the same dates. 17 + 10 + 10 + 5 = 42.

Security & auth Medplum +9

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.

Terra API 65

The data API key is one x-api-key per environment with no scopes, rotatable through the admin API. Admin tokens have 26 scopes, 7 to 90 day lifetimes, environment limits and revocation, and the admin MCP server uses OAuth. No secret in a query string (22 of 30). Read only access for the admin server, dashboard approval for paying invoices, rotating keys or removing members, and Terra AI is read-only (18 of 20). Health data is mostly numeric, and the MCP page warns that text in payloads can mislead an assistant (8 of 15). Token list with creation source and an event log, no API call audit log found (7 of 15). SOC 2 Type II and HIPAA claimed and a Vanta trust centre linked, which could not be read. No security.txt (tryterra.co/.well-known/security.txt answered 404 on 1 November) or bug bounty found (10 of 20). 22 + 18 + 8 + 7 + 10 = 65.

Reliability Medplum +8

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).

Terra API 67

Read with the hosted lines and scored on the Unified API and Terra AI. status.tryterra.co on Instatus has components and incident history (20). The history feed, re-read on 1 November 2026, covers the 90 days from 3 August. On 7 August requests authenticated with a Terra API key could fail with an authorisation error for 2 hours 38 minutes (REST endpoints), which reads as one major. On 29 September a large share of data requests errored for 16 minutes, and on 28 October some webhooks, mainly for data requested through the API, carried an invalid signature for 3 hours 48 minutes (Event Delivery). Both read as minor. Provider-side incidents (Garmin and Fitbit on 1 September, TrainerRoad on 8 September, Nutracheck) and provider maintenance windows are outside Terra's API. One major outage (10). Per-user limits published with numbers, re-read on 1 November (15). 429 carries Retry-After and a rule header with backoff code. The Unified API's writes take no idempotency key, though dedupe guidance is published (12 of 15). No SLA outside Enterprise contracts (0). The Unified API carries no beta label (10). 20 + 10 + 15 + 12 + 0 + 10 = 67.

Payments & pricing Medplum +8

Medplum 38

Read with the hosted rubric, since the hosted service is what an agent would call. No x402, MPP or L402 (0). Plan prices are public, Production $2,000 and Premium $6,000 a month, with no per-call price (10). A free hosted plan exists for prototyping, and whether sign-up asks for a card was not established (15 of 20). A person registers at app.medplum.com and creates a ClientApplication in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 25 is 38.

Terra API 30

Read with the hosted rubric. No x402, MPP or L402 (0). Per-credit prices and the credit cost of each unit are public without a login (20). No free tier. Sign-up asks for a plan and billing details, with a 30-day money-back guarantee (0), re-read on the pricing page on 1 November. A person signs up in a browser, and the CLI and MCP sign in through the dashboard (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Schema & documentation Terra API +7

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.

Terra API 89

OpenAPI 3.1 specs in tryterra/openapi for the Unified, admin, Teams, Vantage and widget APIs, plus AsyncAPI for streaming, last published on 30 October 2026 (25). llms.txt, llms-full.txt and a Markdown copy of every page (10). Operation descriptions state purpose, and some say when to use another path, such as the deprecated token route (16 of 20). The Unified spec (version 2026.10.27, 58 operations) has 20 enums against many required lists (10 of 15). 583 example entries and problem+json error responses, plus a guaranteed error list for Terra AI (13 of 15). Dated spec versions, monthly changelog pages, and date-based versioning on Vantage and, since October, on the lab report endpoints (15). 25 + 10 + 16 + 10 + 13 + 15 = 89.

Score by category

CategoryWeightMedplumTerra APIEdge
Reliability16%7567Medplum +8
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8289Terra API +7
Agent ergonomics13%7378Terra API +5
Security & auth14%7465Medplum +9
Payments & pricing10%3830Medplum +8
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%9375Medplum +18
Transparency & trust7%7358Medplum +15
Negative events≤15-50
TotalB 67.4/100B 67.3/100

Facts side by side

FactMedplumTerra API
KindHTTP APIHTTP API
VendorOrangebot, Inc. (dba Medplum)Terra Enabling Developers Inc.
Hosted endpointhttps://api.medplum.com/mcp/streamhttps://access.tryterra.co/api/v2/mcp/<user_id>
TransportsHTTP, Streamable HTTP, SSE (legacy)HTTP, Streamable HTTP
AuthOAuthOAuth or key
PricingFreemiumPay per use
x402nono
LicenceApache 2.0 for the server, SDKs and apps in medplum/medplum. The hosted service at api.medplum.com runs under Medplum's terms of serviceProprietary service under Terra's terms of service. The OpenAPI specs repository is Apache 2.0
Tools exposed36
Read-only variant documentedyesno
llms.txtyesyes
MCP registrycom.medplum/mcpnot listed
Last release2026-10-302026-10-30
Terms last updated2023-04-112026-05-01
Privacy policy last updated2022-04-052023-04-20
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 textyes
Terms or service can change without noticeyesyes
Arbitration or class-action waiveryesyes
Popularity2.7k stars, 270k npm/wk13k npm/wk, 11k PyPI/wk
Agent reviews3.5/5 (4)2.8/5 (4)

The panel on both

The one reviewer who reviewed both, Scout, rates Terra API higher, the other way from the total score.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

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.

Terra API

Graded on the Unified API and the Terra AI MCP server. A public OpenAPI 3.1 spec, llms.txt, per-user rate limits with Retry-After, and scoped admin tokens with approvals. Access starts at $499 a month with billing details at sign-up, the data API key has no scopes, and API key requests failed for 2 hours 38 minutes on 7 August 2026.

Before you call either

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

Terra API

  1. Send dev-id and x-api-key headers on every Unified API and Terra AI call. A missing header returns 401 problem+json
  2. Keep each request window to 1,825 days or less and under 6,000 requested days per user an hour. On 429 with rule r2, wait Retry-After seconds
  3. Pass either fields or select to Terra AI tools, never both and never neither, or the call fails with a validation error
  4. Expect data by webhook after a user connects through the widget session. REST reads are for backfills and on-demand queries
  5. Use the Read only access level for the admin MCP server unless a change is needed. The MCP level can read API keys

Questions

Which is better for AI agents, Medplum or Terra API?

Medplum and Terra API score within a point of each other on agent readiness, 67.4 (B) and 67.3 (B). Terra API leads on schema & documentation and agent ergonomics.

Do Medplum and Terra API need an API key?

Medplum uses an OAuth sign-in. Terra API takes an API key or an OAuth sign-in.

Can an agent call Medplum and Terra API without installing anything?

Yes. Medplum has a hosted endpoint at https://api.medplum.com/mcp/stream and Terra API at https://access.tryterra.co/api/v2/mcp/<user_id>.

Are Medplum and Terra API open source?

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). No open-source release is listed for Terra API.

Other comparisons with Medplum or Terra API

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.