MCP Catalogs
Home

fhir-mcp-server

by wso2·119·Score 47

FHIR MCP Server bridges healthcare FHIR APIs with AI tools via MCP protocol, enabling secure clinical data access.

developer-toolsai-llmhealthcare
41
Forks
4
Open issues
this month
Last commit
2d ago
Indexed

Overview

The FHIR MCP Server is a Python-based implementation that transforms any FHIR API server into an MCP-compatible endpoint. It supports multiple transport protocols (stdio, SSE, HTTP) and implements SMART-on-FHIR authentication for secure access to healthcare data. The server provides comprehensive documentation with detailed setup instructions for various deployment methods including Docker, PyPI package installation, and source code setup. It demonstrates active maintenance with recent commits and includes integration examples for popular MCP clients like VS Code, Claude Desktop, and MCP Inspector.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI assistants accessing patient records through FHIR APIs in clinical settings
you:Healthcare analytics systems integrating clinical data with LLM-powered insights
you:Medical research tools querying FHIR repositories for patient cohorts and clinical data
you:What FHIR servers does this MCP server support?
you:What transport protocols are supported?

When to choose this

Choose this server when you need to integrate healthcare data from FHIR-compatible systems into AI applications, especially when working with existing healthcare infrastructure that uses SMART-on-FHIR authentication.

When NOT to choose this

Don't choose this if you're working with non-healthcare data or if your environment doesn't have access to a FHIR server with proper authentication credentials.

Comparable tools

healthai-mcpmedical-knowledge-apihl7-fhir-connector

Installation

Installation Options

  1. **Using PyPI Package:**

```bash # Configure environment variables export FHIR_SERVER_BASE_URL="your_fhir_server_url" export FHIR_SERVER_CLIENT_ID="your_client_id" export FHIR_SERVER_CLIENT_SECRET="your_client_secret" export FHIR_SERVER_SCOPES="your_scopes"

# Install and run uvx fhir-mcp-server ```

  1. **Using Docker:**

``bash docker pull wso2/fhir-mcp-server:latest docker run --env-file .env -p 8000:8000 fhir-mcp-server ``

  1. **From Source:**

``bash git clone <repository_url> cd <repository_directory> uv venv source .venv/bin/activate uv pip sync requirements.txt cp .env.example .env uv run fhir-mcp-server ``

**Claude Desktop Configuration:**

{
    "mcpServers": {
        "fhir": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/fhir-mcp-server",
                "run",
                "fhir-mcp-server",
                "--transport",
                "stdio"
            ],
            "env": {
                "FHIR_SERVER_ACCESS_TOKEN": "Your FHIR Access Token"
            }
        }
    }
}

FAQ

What FHIR servers does this MCP server support?
The FHIR MCP Server can connect to any FHIR API server that supports standard FHIR endpoints and optionally SMART-on-FHIR authentication for secure access.
What transport protocols are supported?
The server supports three transport protocols: stdio (standard input/output), SSE (Server-Sent Events), and streamable HTTP, making it compatible with various MCP clients.

Compare fhir-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.