MCP ServerSTDIOOfficialv0.10.0

FHIR MCP Server

Query and retrieve patient records, clinical data, and FHIR resources from any FHIR-compliant server. Built for developers integrating healthcare APIs into AI applications and clinical workflows.

io.github.wso2/fhir-mcp-server

Hosted URL

Local install

Transport

STDIO

Auth

1 required env var

What the FHIR MCP server does

How models use it and what it is built for.

Query and retrieve patient records, clinical data, and FHIR resources from any FHIR-compliant server. Built for developers integrating healthcare APIs into AI applications and clinical workflows.

Connect to FHIR

Local install — runs as a subprocess.

uvx fhir-mcp-server==0.10.0

Environment variables

Configuration this server reads at startup.

  • FHIR_SERVER_BASE_URLRequired

    Base URL of the FHIR Server (eg: https://hapi.fhir.org/baseR5)

Resources

Where to find authoritative docs and source for FHIR.

Example prompts for FHIR

Paste any of these into Agent Studio after connecting FHIR.

  • Fetch all patient records from the FHIR server and summarize demographics
  • Retrieve the latest lab results and vital signs for a specific patient ID
  • List all active medications and allergies for a given patient
  • Query the FHIR server schema and explain how to access observation resources

FHIR MCP server — FAQ

Common questions about connecting and running FHIR.

  • What FHIR server does this MCP server connect to?

    It connects to any FHIR-compliant server via the FHIR_SERVER_BASE_URL environment variable. You must provide the base URL (e.g., https://hapi.fhir.org/baseR5) during setup.

  • How do I set up the FHIR MCP server?

    Install via `uvx fhir-mcp-server@0.10.0` and configure the required FHIR_SERVER_BASE_URL environment variable pointing to your FHIR server. Connect it to your AI tool via stdio transport.

  • What healthcare data can I access through this server?

    You can query any FHIR resources available on your connected server, including patients, observations, medications, allergies, and clinical documents, depending on server permissions.

  • Does this server handle authentication to the FHIR server?

    The registry metadata does not document authentication configuration. Check your FHIR server's security requirements and consult the server documentation for credential setup.

  • Is there a cost to use this MCP server?

    The MCP server itself is open-source. Costs depend on your FHIR server provider (e.g., HAPI FHIR is free, but hosted services may charge).

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground