Medplum MCP
Securely access and manage FHIR healthcare data stored in Medplum.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要填写 1 项设置(FHIR_SERVER_BASE_URL) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
FHIR_SERVER_BASE_URL Base URL of the FHIR Server (eg: https://hapi.fhir.org/baseR5)说明仍为英文原文。
SettingsDeveloperEdit Config
{
"mcpServers": {
"fhir": {
"command": "uvx",
"args": [
"fhir-mcp-server"
],
"env": {
"FHIR_SERVER_BASE_URL": "your-value"
}
}
}
}用 FHIR MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 FHIR MCP Server,或回答中出现 FHIR MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 FHIR MCP Server
FHIR MCP Server 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 FHIR MCP Server 的应用
B · 诊所与健康 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要填写 1 项设置(FHIR_SERVER_BASE_URL) · 需要先在电脑上安装 Python (uv)(只需一次)
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
FHIR_SERVER_BASE_URL Base URL of the FHIR Server (eg: https://hapi.fhir.org/baseR5)说明仍为英文原文。
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user fhir --env FHIR_SERVER_BASE_URL=your-value -- uvx fhir-mcp-server应能看到 FHIR MCP Server 在列表中并显示已连接
用 FHIR MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 FHIR MCP Server,或回答中出现 FHIR MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要填写 1 项设置(FHIR_SERVER_BASE_URL) · 需要先在电脑上安装 Python (uv)(只需一次)
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
FHIR_SERVER_BASE_URL Base URL of the FHIR Server (eg: https://hapi.fhir.org/baseR5)说明仍为英文原文。
在 FHIR MCP Server 的设置中,FHIR_SERVER_BASE_URL 还是空的,填入你的密钥并保存
用 FHIR MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 FHIR MCP Server,或回答中出现 FHIR MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要填写 1 项设置(FHIR_SERVER_BASE_URL) · 需要先在电脑上安装 Python (uv)(只需一次)
这些是程序设置,不是密钥,无需注册。按开发者的说明填写。
FHIR_SERVER_BASE_URL Base URL of the FHIR Server (eg: https://hapi.fhir.org/baseR5)说明仍为英文原文。
在 FHIR MCP Server 的设置中,FHIR_SERVER_BASE_URL 还是空的,填入你的密钥并保存
用 FHIR MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 FHIR MCP Server,或回答中出现 FHIR MCP Server 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user fhir --env FHIR_SERVER_BASE_URL=your-value -- uvx fhir-mcp-serverClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"fhir": {
"command": "uvx",
"args": [
"fhir-mcp-server"
],
"env": {
"FHIR_SERVER_BASE_URL": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"fhir": {
"command": "uvx",
"args": [
"fhir-mcp-server"
],
"env": {
"FHIR_SERVER_BASE_URL": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"fhir": {
"type": "stdio",
"command": "uvx",
"args": [
"fhir-mcp-server"
],
"env": {
"FHIR_SERVER_BASE_URL": "your-value"
}
}
}
}FHIR_SERVER_BASE_URL 必填 env说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
注册名称已通过 GitHub 账户 wso2 验证,该账户拥有此仓库
代码最后更新于7天前
使用 Apache-2.0
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于7天前,最新版本(0.11.0)于16天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Medplum MCP, Mirobody, Apple Health
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Securely access and manage FHIR healthcare data stored in Medplum.
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
Local-first Apple Health MCP server for questions about your sleep, workouts and heart data.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
The FHIR MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with FHIR APIs. Designed for developers, integrators, and healthcare innovators, this server acts as a bridge between modern AI/LLM tools and healthcare data, making it easy to search, retrieve, and analyze clinical information.
This video showcases the MCP server's functionality when connected to a public HAPI FHIR server. This example showcases direct interaction with an open FHIR server that does not require an authorization flow.
https://github.com/user-attachments/assets/cc6ac87e-8329-4da4-a090-2d76564a3abf
This video showcases the MCP server's capabilities within the Epic EHR ecosystem. It demonstrates the complete OAuth 2.0 Authorization Code Grant flow.
https://github.com/user-attachments/assets/96b433f1-3e53-4564-8466-65ab48d521de
read and search operations using custom FHIRPath expressions to retrieve only the fields needed for the task, reducing payload sizes.You can use the FHIR MCP Server by installing our Python package, or by cloning this repository.
To run the server, you must set FHIR_SERVER_BASE_URL.
FHIR_SERVER_BASE_URL, FHIR_SERVER_CLIENT_ID, FHIR_SERVER_CLIENT_SECRET, and FHIR_SERVER_SCOPES. Authorization is enabled by default.FHIR_SERVER_DISABLE_AUTHORIZATION to True.By default, the MCP server runs on [http://localhost:8000](http://localhost:8000), and you can customize the host and port using FHIR_MCP_HOST and FHIR_MCP_PORT.
You can set these by exporting them as environment variables like below or by creating a .env file (referencing .env.example).
`bash export FHIR_SERVER_BASE_URL="" export FHIR_SERVER_CLIENT_ID="" export FHIR_SERVER_CLIENT_SECRET="" export FHIR_SERVER_SCOPES=""
export FHIR_MCP_HOST="localhost" export FHIR_MCP_PORT="8000" `
bash uvx fhir-mcp-server
bash git clone cd bash uv venv source .venv/bin/activate uv pip sync requirements.txt Or with pip: bash python -m venv .venv source .venv/bin/activate pip install -r requirements.txt bash cp .env.example .env bash uv run fhir-mcp-server You can run the MCP server using Docker for a consistent, isolated environment.
Note on Authorization: When running the MCP server locally via Docker or Docker Compose, authorization should be disabled by setting the environment variable,
FHIR_SERVER_DISABLE_AUTHORIZATION=True. This would be fixed in the future releases.
bash docker build -t fhir-mcp-server . bash docker pull ghcr.io/wso2/fhir-mcp-server:latest latest is built from the main branch. To use a release, pull its version tag instead, for example ghcr.io/wso2/fhir-mcp-server:0.11.0.Copy the example environment file and edit as needed:
`bash cp .env.example .env
`
Alternatively, you can pass environment variables directly with -e flags or use Docker secrets for sensitive values. See the Configuration section for details on available environment variables.
bash docker run --env-file .env -p 8000:8000 ghcr.io/wso2/fhir-mcp-server:latest
This will start the server and expose it on port 8000. Adjust the port mapping as needed.
For a quick setup that includes both the FHIR MCP server and the WSO2 FHIR Server (with PostgreSQL), use the provided docker-compose.yml. This sets up an instant development environment for testing FHIR operations.
Copy the example environment file and set DB_PASSWORD in .env. If you already have a .env, add the DB_USER, DB_PASSWORD and DB_NAME lines from .env.example to it instead.
cp .env.example .env
Docker Compose reads .env automatically. DB_USER and DB_NAME default to postgres if not set. .env is excluded from Git; use a secrets manager for production deployments.
docker compose up -d
This command will:
FHIR_SERVER_BASE_URL set to http://wso2-fhir-server:8080/fhir/r4.docker compose down.docker compose down removes the database data; use docker compose stop to keep it between runs.
If you need to customize OAuth or other settings, adjust the env variables in the docker-compose.yml. The compose file sets basic configuration; refer to the Configuration section for full options.
To use a different FHIR server, run the FHIR MCP server container with FHIR_SERVER_BASE_URL pointing to that server. The example below uses the HAPI FHIR server. Stop the default stack first if it's already running (docker compose down), as both use ports 8000 and 8080.
docker network create fhir-network
docker run -d --name hapi-fhir-server --network fhir-network -p 127.0.0.1:8080:8080 docker.io/hapiproject/hapi:v8.4.0-2
HAPI FHIR listens on http://localhost:8080/fhir. This uses its built-in database, so data is lost when the container is removed.
docker build -t fhir-mcp-server .
docker run -d --name fhir-mcp-server-hapi --network fhir-network -p 127.0.0.1:8000:8000 -e FHIR_SERVER_BASE_URL=http://hapi-fhir-server:8080/fhir -e FHIR_MCP_HOST=0.0.0.0 -e FHIR_SERVER_DISABLE_AUTHORIZATION=True fhir-mcp-server
The FHIR MCP server listens on http://localhost:8000.
docker rm -f fhir-mcp-server-hapi hapi-fhir-server
docker network rm fhir-network
For any other FHIR server, set FHIR_SERVER_BASE_URL to its base URL. If the FHIR server runs on your host rather than in Docker, use http://host.docker.internal: /... instead of localhost. On Linux, also add --add-host=host.docker.internal:host-gateway to the docker run command, and make sure the FHIR server listens on an address reachable from containers (for example 0.0.0.0, not only 127.0.0.1).
The FHIR MCP Server is designed for seamless integration with various MCP clients.
Add the following JSON block to your MCP configuration file in VS Code (> V1.104). You can do this by pressing Ctrl + Shift + P and typing MCP: Open User Configuration.
Streamable HTTP STDIO SSE
"servers": {
"fhir": { "type": "http", "url": "http://localhost:8000/mcp", } }
</td>
"servers": {
"fhir": { "command": "uv", "args": [ "-