Skip to main content
Glama
HealthChain MCP Server

HealthChain MCP Server

HealthChain – Healthcare AI Agent

HealthChain is a Python-based healthcare AI framework that enables AI agents to work with FHIR/EHR data using validated and structured healthcare tools.

It combines LLMs, AI agents, FHIR, MCP, and LangChain to build healthcare applications that can securely access, process, and work with clinical data.

πŸš€ Features

  • πŸ€– AI Agents – Build LLM-powered healthcare agents

  • πŸ₯ FHIR Support – Work with structured healthcare resources

  • πŸ”Œ EHR Integration – Connect with FHIR-compatible healthcare systems

  • πŸ› οΈ Agent Tools – Provide validated FHIR tools to AI agents

  • πŸ”— MCP Support – Expose healthcare tools through Model Context Protocol

  • 🦜 LangChain Integration – Use FHIR tools with LangChain agents

  • βœ… FHIR Validation – Validate healthcare data before processing

  • ⚑ FastAPI Support – Build and expose healthcare AI APIs

Related MCP server: FhirMCP

πŸ› οΈ Tech Stack

  • Python

  • LangChain

  • MCP (Model Context Protocol)

  • FHIR / EHR

  • FastAPI

  • LLMs / Generative AI

  • Docker

πŸ“¦ Installation

pip install healthchain

⚑ Quick Start

Create a new FHIR Gateway project:

healthchain new my-app -t fhir-gateway
cd my-app
healthchain serve

πŸ€– Using FHIR Tools with an AI Agent

from healthchain.tools import FHIRToolkit

kit = FHIRToolkit(bundle="patient_bundle.json")

# Use with MCP
kit.as_mcp().run()

# Use with LangChain
tools = kit.as_langchain()

You can also start the MCP server directly:

healthchain mcp --bundle patient_bundle.json

πŸ₯ Example Use Cases

  • Healthcare AI assistants

  • Patient Q&A systems

  • Clinical data analysis

  • EHR-integrated AI agents

  • FHIR data processing

  • Healthcare automation

  • AI-powered clinical workflows

πŸ“š Documentation

HealthChain Documentation

🀝 Contributing

Contributions, ideas, and improvements are welcome. Feel free to open an issue or submit a pull request.

πŸ“„ License

This project is open source. See the LICENSE file for details.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables LLM-based agents to interact with FHIR healthcare data through natural language prompts, providing full CRUD operations on FHIR resources, document processing, and semantic search capabilities.
      13
      102
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables LLMs to securely interact with FHIR healthcare servers and HL7 terminology services. Provides comprehensive healthcare data operations with built-in PHI protection, audit logging, and SMART on FHIR authentication.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A governed, audited Model Context Protocol server that provides AI agents with secure, read-only access to a clinical knowledge base through least-privilege tools, policy validation, and append-only audit logging.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects frontier AI agents to HL7 FHIR R4 electronic health record repositories, enabling patient, observation, condition, medication, allergy, and diagnostic report queries plus draft-only clinical writes. Enforces mathematical safety gates, HIPAA-compliant tamper-evident audit logging, and token distillation of bulky FHIR payloads.
      Apache 2.0