FHIRCAUTION
FHIR MCP Server – helping you expose any FHIR Server or API as a MCP Server.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://github.com/wso2/fhir-mcp-server/blob/main/LICENSE) [](https://stackoverflow.com/questions/tagged/wso2) [](https://discord.com/invite/wso2) [](https://twitter.com/intent/follow?screenname=wso2) [](https://spark.entire.vc/assets/vb-fhir?utmsource=github&utmmedium=readme) [](https://spark.entire.vc/assets/vb-fhir?utmsource=github&utm_medium=readme)
Table of Contents
- Model Context Protocol (MCP) Server for Fast Healthcare Interoperability Resources (FHIR) APIs
- Table of Contents
- Overview
- Demo
- Demo with HAPI FHIR server
- Demo with EPIC Sandbox
- Core Features
- Prerequisites
- Installation
- Installing using PyPI Package
- Installing from Source
- Installing using Docker
- Running the MCP Server with Docker
- Using Docker Compose with HAPI FHIR Server
- Integration with MCP Clients
- VS Code
- Claude Desktop
- MCP Inspector
- [
cefa95929453OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add fhir-mcp-server -- uvx fhir-mcp-server==0.10.0
Trust audit
CAUTIONgrade B · trust 88/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (4 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (16)
self.configs.callback_url(self.configs.effective_server_url)
"redirect_uri": self.configs.callback_url(self.configs.effective_server_url),
def callback_url(
pytest.param("../../etc/passwd", id="relative-traversal"),tool, build_arguments(tool, operation="../../../metadata")
"../../../../admin/actuator/env",
"123/../../admin",
@pytest.mark.parametrize("bad_op", ["../../admin", "$ever/ything", "%2e%2e/admin", "a/b"])callback_url = server_config.callback_url(server_config.effective_server_url)
assert str(callback_url) == "http://localhost:8000/oauth/callback"
self.base_url = f"http://127.0.0.1:{self._httpd.server_address[1]}"assert config.effective_server_url == "http://0.0.0.0:9000"
assert config.effective_server_url == "http://0.0.0.0:9000"
docs/videos/vscode/epic/demo-screen-recording.mp4
docs/videos/vscode/hapi/demo-screen-recording.mp4
Gates applied: no_behavioural_pass.
cefa95929453full audit observations/trust-audit/mcp-server/wso2__fhir.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | cefa95929453 | CAUTION | B | 88 | first audit |
Questions
What is the FHIR MCP server?
FHIR MCP Server – helping you expose any FHIR Server or API as a MCP Server.
Is FHIR safe to connect to an agent?
With care. The audit graded it B (88/100) and found 16 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does FHIR need?
No credential environment variables were found in its source, so it appears to need none.
How does FHIR run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as fhir-mcp-server.
How current is this page?
The grade is for one exact copy of the source (cefa95929453), read on 2026-10-07. The repository is watched and re-audited when it changes.