Health & Wellness · Developer Tools

Fhir-MCP

Kushagra-Dutta/Fhir-MCP

A comprehensive FHIR (Fast Healthcare Interoperability Resources) server and toolkit designed for healthcare data integration, patient care planning, and clinical decision support. This project provides a universal interface to multiple FHIR servers with advanced AI-powered clinical analysis capabilities.

Install

docker run -d -p 9090:4080 --name firely.server -v %CD%/firelyserver-license.json:/app/firelyserver-license.json firely/server

Client configuration

{
  "mcpServers": {
    "fhir-server": {
      "command": "python",
      "args": [
        "fhir_server.py"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>"
      }
    }
  }
}

Environment variables

OPENAI_API_KEYGOOGLE_GENERATIVE_AI_API_KEYANTHROPIC_API_KEYXAI_API_KEYOPENROUTER_API_KEYOLLAMA_BASE_URLBETTER_AUTH_SECRETBETTER_AUTH_URLPOSTGRES_URLFILE_BASED_MCP_CONFIGGOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRET
Category
Health & Wellness, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Universal FHIR Interface: Connect to multiple FHIR servers (Epic, Cerner, HAPI, Firely, etc.)

  • Real-time Connectivity Testing: Automatic server health checks and diagnostics

  • Intelligent Failover: Automatic switching between servers for optimal performance

  • OpenAI Integration: Extract clinical keywords and concepts from free text

  • Semantic Mapping: Map clinical terms to standardized FHIR codes

  • Similar Patient Matching: Find patients with similar clinical profiles

  • Predictive Analytics: Generate care recommendations based on historical data

  • Complete Patient Records: Demographics, conditions, medications, procedures, encounters

  • Vital Signs & Lab Results: Categorized observations with time-series data

Tools (8)

  • Vendor-Agnostic

    Standardized API regardless of underlying FHIR server implementation

  • extract_condition_codes_from_fhir

    Extract all condition codes

  • get_server_registry

    Get complete server registry

  • clear_condition_cache

    Clear condition codes cache

  • get_condition_cache_stats

    Get cache performance statistics

  • v0.1.0

    Initial release with core FHIR functionality

  • v0.2.0

    Added AI-powered clinical analysis

  • v0.3.0

    Enhanced multi-server support and caching

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
HowToCook-mcp logo

HowToCook-mcp

worryzyy/HowToCook-mcp

245

An MCP (Model Context Protocol) server based on Anduin2017/HowToCook, allowing AI assistants to recommend recipes, plan meals, and solve the age-old question of "what should I eat today?".

Health & Wellness
NexOnco (CIViC Precision Oncology) logo

NexOnco (CIViC Precision Oncology)

nexgene-research/nexonco-mcp

47

search_clinical_evidence: A MCP tool for querying clinical evidence data that returns formatted reports.

Health & Wellness
Agentcare MCP logo

Agentcare MCP

Kartha-AI/agentcare-mcp

39

Agent Care is an MCP-based server for interacting with electronic medical record systems such as Cerner and Epic, providing medical tools and FHIR data access.

Health & Wellness
DICOM logo

DICOM

christianhinge/dicom-mcp

28

The dicom-mcp server enables AI assistants to query, read, and move data on DICOM servers (PACS, VNA, etc.).

Health & Wellness
Health Record MCP logo

Health Record MCP

jmandel/health-record-mcp

21

This project acts as a specialized server providing tools for Large Language Models (LLMs) and other AI agents to interact with Electronic Health Records (EHRs). It leverages the SMART on FHIR standard for secure data access and the Model Context Protocol (MCP) to expose the tools.

Health & Wellness
Strava MCP logo

Strava MCP

r-huijts/strava-mcp

20

Connect Claude to your Strava account and ask questions in plain English: "How far did I run this month?", "Analyze my last ride", or "Show me my fastest segments.".

Health & Wellness