Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. Biology, Medicine and Bioinformatics
  3. Fhir MCP Server
Fhir MCP Server logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 8:02:32 PM

Fhir MCP Server

User RatingsBe the first to rate and review this MCP server!
View Repository99 GitHub StarsTotal stargazers on GitHub for the source repository (99 stars).Visit Website
fhirhealthcaresemantic-searchoauth2mcp-server

MCP server enabling LLM agents to perform full CRUD and semantic search on FHIR healthcare data via natural language.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON ▾

Client Config & Setup

Remote HTTP
Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "the-momentum-fhir-mcp-server": {
      "url": "https://api.medplum.com"
    }
  }
}

💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (1) Directory Badge Claim listing Alternatives📂 More in Biology, Medicine and Bioinformatics

Overview

This MCP server connects AI agents to FHIR-compliant backends, allowing natural language querying and manipulation of clinical data. It supports full CRUD operations on major FHIR resources and integrates semantic document search using vector embeddings. The server includes OAuth2 authentication for secure FHIR API access and LOINC terminology integration for medical code validation. It is suitable for applications needing AI-driven interaction with healthcare data and document retrieval.

Use cases

•Query patient history using natural language
•Perform CRUD operations on FHIR resources programmatically
•Search and retrieve clinical documents with semantic relevance
•Validate medical codes using LOINC integration
•Generate and deploy synthetic FHIR test data via AI agents

Key features

•Full CRUD support for all major FHIR resources
•AI-powered document ingestion and chunking for TXT, CSV, JSON, PDF
•Semantic search with Pinecone vector embeddings
•OAuth2 token management for secure FHIR API access
•LOINC API integration for standardized terminology lookup
•Docker-ready for containerized deployment

Capabilities & Tool Schemas (1) ~19 tokensApproximate context cost of this server’s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server — may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Fhir MCP Server.

Security

OAuth2 authentication and proper access control for all operations

Documentation Overview

FHIR MCP Server

Model Context Protocol (MCP) Server for Fast Healthcare Interoperability Resources (FHIR)

Contact us Visit Momentum MIT License

📋 Table of Contents

  • 🔍 About
  • 💡 Demo
  • 🚀 Getting Started
  • 📝 Usage
  • 🔧 Configuration
  • 🐳 Docker Setup
  • 🛠️ MCP Tools
  • 🗺️ Roadmap
  • 👥 Contributors
  • 📄 License

🔍 About The Project

FHIR MCP Server implements a complete Model Context Protocol (MCP) server, designed to facilitate seamless interaction between LLM-based agents and a FHIR-compliant backend. It provides a standardized interface that enables full CRUD operations on FHIR resources through a comprehensive suite of tools - accessible from MCP-compatible clients such as Claude Desktop, allowing users to query and manipulate clinical data using natural-language prompts.

✨ Key Features

  • 🚀 FastMCP Framework: Built on FastMCP for high-performance MCP server capabilities
  • 🏥 FHIR Resource Management: Full CRUD operations for all major FHIR resources
  • 📄 Intelligent Document Processing: AI-powered document ingestion and chunking for multiple formats including TXT, CSV, JSON, and PDF
  • 🔍 Semantic Search: Advanced document search using vector embeddings (via Pinecone)
  • 🧠 RAG-Ready: Retrieval-Augmented Generation pipeline with context-aware document queries
  • 🔐 Secure Authentication: OAuth2 token management for FHIR API integration
  • 📊 LOINC Integration: Standardized medical terminology lookup and validation
  • 🐳 Container Ready: Docker support for easy deployment and scaling
  • 🔧 Configurable: Extensive .env-based configuration options

🏗️ Architecture

The server is built with a modular architecture:

  • MCP Tools: Dedicated tools for selected FHIR resource types, with others handled by a generic tool
  • Fhir Server Client: Handles FHIR API communication and authentication (OAuth2 and more planned)
  • RAG Services: Embedding-based document processing and semantic retrieval
  • Vector Store: Pinecone integration for similarity-based search
  • LOINC Client: Integration with LOINC API for terminology resolution and validation

(back to top)

💡 Demo

This demo shows how Claude uses the fhir-mcp-server to communicate with a FHIR server (in this case Medplum) to answer questions. You will see, among other things:

  • utilization of the request_patient_resource tool which retrieves basic patient information
  • utilization of the request_condition_resource tool to answer the question whether any of the previously diagnosed diseases may cause symptoms that the patient is currently complaining about
  • utilization of the request_medication_resource, request_encounter_resource, request_generic_resource tools to answer the question whether the patient has already received any treatment for hypertension

You can observe how Claude automatically selects the tools worth using to answer the question based on the user's query.

https://github.com/user-attachments/assets/3a3a8ed3-f881-447d-af03-5f24432a2cdd

Lab History Analysis

Here you can observe how Claude first uses the tool searching for LOINC codes for the lipid panel specific codes, but not finding any related observations in FHIR server, it repeats the search for individual biomarkers that make up such a panel.

https://github.com/user-attachments/assets/2fb39801-d5d6-4461-bedd-9f58ab4d52ec

FHIR Synthetic Data Generator

Developers working with FHIR often need to generate specific test data to validate FHIR server functionality, such as search capabilities and data relationships. While you can use Synthea to generate synthetic data and then manually import the resulting bundles to your server, fhir-mcp-server streamlines this process by allowing you to generate and deploy test data directly through Claude.

This eliminates the typical workflow of running synthea separately, downloading bundles, and manually importing them to your FHIR server. Instead, you can create targeted test scenarios, generate appropriate synthetic data, and populate your server all within Claude's interface.

https://github.com/user-attachments/assets/d87da1d8-6401-4a9e-a6f0-50ba23396e12

Note: fhir-mcp-server was not designed with this use case in mind, so as you'll see in the demo, it doesn't work perfectly - what can be observed, however, is how well the LLM handles using trial and error to correct any wrong choices.

🚀 Getting Started

Follow these steps to set up FHIR MCP Server in your environment.

Prerequisites

  • Docker (recommended) or uv: For dependency management

    👉 uv Installation Guide

  • FHIR Server Account: Access to FHIR API (e.g. Medplum)

  • Pinecone API key (required for document search): Enables vector-based search over processed documents. Without it, semantic retrieval features will be unavailable.

    👉 Create Pinecone Account

  • LOINC Account (optional): Enables retrieval of the latest LOINC codes from the official API. Without it, the system relies on static or language model-inferred codes, which may be outdated or imprecise.

    👉Create LOINC Account

Installation & Setup

  1. Clone the repository:

    sh
    git clone https://github.com/the-momentum/fhir-mcp-server
    cd fhir-mcp-server
    
  2. Set up environment variables:

    sh
    cp config/.env.example config/.env
    

    Edit the config/.env file with your credentials and configuration. See Environment Variables

  3. Install Dependencies

    For Docker-based execution run:

    sh
    make build
    

    For uv-based execution run:

    sh
    make uv
    
  4. Update the MCP Client configuration

    e.g. Claude Desktop -> edit claude_desktop_config.json

  • Docker

    config.json
    {
       "mcpServers": {
          "docker-mcp-server": {
             "command": "docker",
             "args": [
                "run",
                "-i",
                "--rm",
                "--init",
                "--name",
                "fhir-mcp-server",
                "--mount", // optional - volume for reload
                "type=bind,source=<your-project-path>/app,target=/root_project/app", // optional - volume for reload
                "--mount",
                "type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env",
                "-e", "TRANSPORT_MODE=stdio", // Set transport mode: stdio, http, or https
                "mcp-server:latest"
             ]
          }
       }
    }
    

    Make sure to replace <your-project-path> with the actual path to your installation

  • uv

    Firstly, get uv path from terminal:

    • Windows:

      Code
      (Get-Command uv).Path
      
    • MacOS/Linux:

      Code
      which uv
      

    Then, update config file:

    config.json
    {
       "mcpServers": {
          "uv-mcp-server": {
             "command": "uv",
             "args": [
                "run",
                "--frozen",
                "--directory",
                "<your-project-path>",
                "start"
             ],
             "env": {
             "PATH": "<uv-bin-folder-path>"
             }
          }
       }
    }
    

    Make sure to replace with the actual uv path (to bin folder)

  1. Restart MCP Client

    After completing all of the above steps, restart the MCP Client to apply the changes. In some cases, you may need to terminate all related processes using Task Manager or your system's process manager. This ensures that:

    • The updated configuration is properly loaded
    • Environment variables are correctly applied
    • The FHIR MCP client initializes with the correct settings

(back to top)

🔧 Configuration

🔐 Security & Encryption

The FHIR MCP Server includes built-in encryption infrastructure to protect sensitive configuration values. Sensitive fields like API keys and passwords are automatically encrypted and decrypted at runtime.

You are allowed to store passwords as a plain text, but if you want to have them encrypted, follow the instruction below.

Setting Up Encryption

Automated Setup (Recommended)

For most users, use the automated setup script:

bash
# uv method
uv run scripts/cryptography/setup_encryption.py

# docker method
docker exec fhir-mcp-server uv run scripts/cryptography/setup_encryption.py

This script will:

  1. Check for MASTER_KEY in config/.env and generate one if needed
  2. Automatically encrypt all sensitive values (LOINC_PASSWORD, FHIR_SERVER_CLIENT_SECRET, PINECONE_API_KEY)
  3. Update your .env file with encrypted values
  4. Skip empty variables and already encrypted values
Manual Setup

Read the full README →View source on GitHub →

Related MCP Servers

View all in Biology, Medicine and Bioinformatics View all alternatives
  • Fhir MCP Server logoFhir MCP Server

    Model Context Protocol server for Fast Healthcare Interoperability Resources (FHIR) APIs. Provides seamless integration with FHIR servers, enabling AI assistants to search, retrieve, create, update, and analyze clinical healthcare data with SMART-on-FHIR authentication support.

    Biology, Medicine and Bioinformatics2 views
    Compare vs Fhir MCP Server →
  • Dicom Hl7 MCP Server logoDicom Hl7 MCP Server

    The only MCP server bridging DICOM, HL7v2, and FHIR in one package. Cross-standard mapping, Mirth Connect channel generation, vendor private tag decoding (GE, Siemens, Philips), and integration pattern knowledge. Built by a 19-year healthcare IT veteran. pip install dicom-hl7-mcp

    Biology, Medicine and Bioinformatics2 views
    Compare vs Dicom Hl7 MCP Server →
  • ChatSpatial logoChatSpatial

    MCP server for spatial transcriptomics analysis with 60+ integrated methods covering cell annotation, deconvolution, spatial statistics, and visualization.

    Biology, Medicine and Bioinformatics1 views
    Compare vs ChatSpatial →
  • Medical Terminologies MCP logoMedical Terminologies MCP

    Unified MCP server for ICD-11 (WHO), LOINC, RxNorm, MeSH (NLM), ATC, CID-10 (Brazilian DataSUS), and optional SNOMED CT. 28 tools (34 with SNOMED) with structuredContent + outputSchema on every default tool. Hosted on Cloudflare Workers, listed on Smithery, and on npm.

    Biology, Medicine and Bioinformatics2 views
    Compare vs Medical Terminologies MCP →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
99
Stargazers on the source repository.
Last commit
10mo ago
Most recent push to the default branch.
Tools exposed
1
Callable tools this server registers over MCP.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Fhir MCP Server

It supports full Create, Read, Update, and Delete (CRUD) operations on all major FHIR resource types.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFhir MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/the-momentum-fhir-mcp-server?style=directory)](https://allmcps.com/mcp/the-momentum-fhir-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/the-momentum-fhir-mcp-server"><img src="https://allmcps.com/api/badge/the-momentum-fhir-mcp-server?style=directory" alt="Fhir MCP Server on AllMCPs" /></a>

Technical Specs & Signals

Category📂Biology, Medicine and Bioinformatics
PricingBring your own API key (usage-based cost)
More technical detailsExpand ▾
TransportSSE (Remote)
AuthAPI key
LicenseMIT
ClientsClaude Desktop
Last updatedAug 9, 2026
9/10 checks healthy over the last 32d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars99
GitHub Star CountTotal stargazers on GitHub representing community popularity (99 stars).
Last commit10mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Oct 23, 2025
53Quality signal: Good · 53/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools26/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server →

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in Biology, Medicine and Bioinformatics →Alternatives to Fhir MCP Server →Install in Claude DesktopInstall in CursorInstall in VS Code