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
Local install
STDIO
1 required env var
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.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Base URL of the FHIR Server (eg: https://hapi.fhir.org/baseR5)
Where to find authoritative docs and source for FHIR.
Paste any of these into Agent Studio after connecting FHIR.
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).
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 StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams