Atlas / MCP servers / wso2 / FHIR

FHIRCAUTION

mcp/wso2/fhir

FHIR MCP Server – helping you expose any FHIR Server or API as a MCP Server.

Verdict
CAUTION
Grade
B
Trust score
88 /100
Exposed tools
—
Transport
stdio · streamable-http
License
Apache-2.0
Stars
137
01

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
  • [
Read from source at commit cefa95929453OBSERVED · 2026-10-07
02

Connect

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-code (pypi)
claude mcp add fhir-mcp-server -- uvx fhir-mcp-server==0.10.0
03

Trust audit

CAUTIONgrade B · trust 88/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
src/fhir_mcp_server/oauth/server_provider.py:107
self.configs.callback_url(self.configs.effective_server_url)
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
src/fhir_mcp_server/oauth/server_provider.py:179
"redirect_uri": self.configs.callback_url(self.configs.effective_server_url),
MEDIUMNetwork egress · net.beacon_words · CWE-200, CWE-319
src/fhir_mcp_server/oauth/types.py:53
def callback_url(
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/e2e/test_tools.py:339
pytest.param("../../etc/passwd", id="relative-traversal"),
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/e2e/test_tools.py:365
tool, build_arguments(tool, operation="../../../metadata")
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/test_utils.py:344
"../../../../admin/actuator/env",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/test_utils.py:349
"123/../../admin",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/unit/test_utils.py:362
@pytest.mark.parametrize("bad_op", ["../../admin", "$ever/ything", "%2e%2e/admin", "a/b"])
LOWNetwork egress · net.beacon_words · CWE-200, CWE-319
tests/integration/test_integration.py:74
callback_url = server_config.callback_url(server_config.effective_server_url)
LOWNetwork egress · net.beacon_words · CWE-200, CWE-319
tests/integration/test_integration.py:75
assert str(callback_url) == "http://localhost:8000/oauth/callback"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/e2e/conftest.py:74
self.base_url = f"http://127.0.0.1:{self._httpd.server_address[1]}"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/integration/test_integration.py:46
assert config.effective_server_url == "http://0.0.0.0:9000"
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/unit/oauth/test_types.py:58
assert config.effective_server_url == "http://0.0.0.0:9000"
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table
INFOInventory / provenance · inv.oversize · CWE-1104
docs/videos/vscode/epic/demo-screen-recording.mp4
docs/videos/vscode/epic/demo-screen-recording.mp4
Why it matters. 12861106 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/videos/vscode/hapi/demo-screen-recording.mp4
docs/videos/vscode/hapi/demo-screen-recording.mp4
Why it matters. 12525242 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha cefa95929453full audit observations/trust-audit/mcp-server/wso2__fhir.json · Report an issue / request a re-scan
04

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07cefa95929453CAUTIONB88first audit
05

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.

Advertisement