MCP.Market

Fhirhydrant MCP server

by faulkj·io.github.faulkj/fhirhydrant·v0.17.3·18 stars

FHIR MCP server with SMART Backend Services, response compaction, FHIRPath, and guarded writes.

B78/100grade B
What users say
No reviews yet
Be the first
Safety scan
B78/100

full report

Adoption
Growing

18 stars111 downloads/wk

Reviews

Write one

Nobody has reviewed Fhirhydrant yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Fhirhydrant tools (7)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • bundle
  • capabilities
  • code_search
  • operate
  • paginate
  • system_history
  • terminology_lookup

Public scan report

scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it

no findings
  • Code scan38 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 46 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 78/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Fhirhydrant compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
78/100
higher than 57% of 48,255 servers
Tools
7
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
18
more than 90% of 28,688 servers
Downloads a week
111
more than 65% of 12,191 servers with a package

What its tools let an agent do: 7 read

Install Fhirhydrant in Claude Code, Cursor or VS Code

Runs npx -y fhirhydrant on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add fhirhydrant -- npx -y fhirhydrant
Add to Cursor

What the publisher says

From the Fhirhydrant repository's README, as published. We do not edit it. Read it on GitHub

fhirHydrant: FHIR MCP Server

A modern, fully configurable, open-source Node.js Model Context Protocol (MCP) server for R4+ FHIR APIs. It connects MCP-compatible LLM AI clients to clinical data over SMART on FHIR v2 Backend Services using signed JWT client credentials.

fhirHydrant turns FHIR resources, named operations, terminology lookups, and pagination into MCP tools. The default resources and operations are starting points: resources, operations, search controls, instructions, and messages can be expanded, trimmed, or replaced through config files without source changes.

and dynamic scopes

  • SMART Backend Services auth with JWKS hosting, key rotation, token refresh,

optional metadata-gated CRUD

  • Configurable resource tools for search, direct read, vread, history, and

matching, validation, and custom workflows

  • Config-driven named operations for clinical data, terminology, IPS, patient

runtime scope checks

  • CapabilityStatement-aware tools, search controls, operation gating, and

_count shaping, and oversized Bundle retry

  • Token economy features: compact responses, FHIRPath filtering, byte limits,

default), and stdio or Streamable HTTP transport

  • Optional terminology tools, PHI-light audit events (no resource content by

Note: FHIR data returned through MCP tool calls may contain PHI.

Make sure your MCP client's transcript storage and logging behavior match

your compliance requirements.

Contents

  • Quick Start
  • Tools
  • Metadata And Scope Gating
  • Token Economy And Response Shaping
  • Audit Events
  • SMART Backend Auth And Keys
  • Environment Variables
  • FHIR Version Support
  • Customizing Tools And Messages
  • Transports
  • Deployment Examples
  • Development

Quick Start

Requirements

RSA-2048 or EC P-384 private key whose public key is available through JWKS

  • Node.js >= 24
  • A supported FHIR server
  • For SMART auth (default): a SMART Backend Services client registration and an

To run against a public, unauthenticated FHIR test server, set FHIR_AUTH=none and skip the client and key entirely (see Unauthenticated Access).

The stdio transport usually needs an externally hosted JWKS URL. The built-in /jwks endpoint is available only when fhirHydrant runs over HTTP with SMART auth.

Install

# install globally
npm install -g fhirhydrant

# or run without installing
npx fhirhydrant

Run from source:

git clone https://github.com/faulkj/fhirhydrant.git
cd fhirhydrant
npm install
npm run build

MCP Client Config

For desktop MCP clients, stdio is usually the simplest transport:

{
   "mcpServers": {
      "fhirhydrant": {
         "command": "npx",
         "args": ["-y", "fhirhydrant"],
         "env": {
            "MCP_TRANSPORT": "stdio",
            "FHIR_BASE_URL": "https://fhir.example.org",
            "FHIR_CLIENT_ID": "your-client-id",
            "FHIR_ACTIVE_KEY": "LS0tLS1CRUdJTi...base64-of-your-pem...",
            "FHIR_JWKS_URL": "https://example.org/.well-known/jwks.json"
         }
      }
   }
}

FHIRACTIVEKEY is your PKCS#8 private key (RSA or EC P-384), base64-encoded. The kid is derived automatically at startup via a truncated JWK Thumbprint and logged to the console.

Unauthenticated Access

To point fhirHydrant at a public, unauthenticated FHIR endpoint (handy for testing against open sandboxes), set FHIR_AUTH=none. No client ID or signing key is required, no token is requested, and requests are sent without an Authorization header:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Fhirhydrant: common questions

Is Fhirhydrant MCP server safe?
Mostly: it is graded B (78/100). Read the Fhirhydrant safety report
How do I install Fhirhydrant?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Fhirhydrant need an API key?
Yes. The registry entry asks for FHIR_ACTIVE_KEY.
Is Fhirhydrant maintained?
The last commit was 50 days ago (2026-09-15). The latest release is v0.17.3.
How does Fhirhydrant compare with other MCP servers?
safety score 78/100 (higher than 57% of 48,255 servers); tools 7 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.