mcp-fhir

mcp-fhir

34

This project is an experimental TypeScript-based MCP server designed to connect to a FHIR server. It enables the listing and searching of FHIR resources and provides interaction functionalities, making it suitable for integrating with FHIR systems.

Overview

This is a TypeScript-based MCP server that connects to a FHIR server. It provides core MCP functionality for interacting with FHIR resources by:

  • Accessing FHIR resources via URIs
  • Providing search capabilities for FHIR resources

Features

Resources

  • List and access FHIR resources via fhir:// URIs
  • Resources are returned in FHIR JSON format
  • Supports all FHIR Resource types available in the FHIR server's CapabilityStatement

Tools

  • search_fhir - Search FHIR resources
  • read_fhir - Read an individual FHIR resource

Configuration

The server requires environment variables: FHIR_BASE_URL and FHIR_ACCESS_TOKEN.