MCP Catalogs
首页fhir-mcp-server screenshot

fhir-mcp-server

by the-momentum·80·综合分 43

一个用于 FHIR 医疗数据集成并与 Claude Desktop 配合使用的生产就绪的 MCP 服务器。

healthcareai-llmdeveloper-tools
16
Forks
6
活跃 Issue
7 个月前
最近提交
2 天前
收录于

概述

FHIR MCP Server 实现了一个完整的 Model Context Protocol 服务器,旨在实现基于 LLM 的代理与 FHIR 兼容的 healthcare 系统之间的无缝交互。它通过从 Claude Desktop 等 MCP 兼容客户端可访问的全面工具套件,提供对 FHIR 资源的完整 CRUD 操作。该服务器具有 FastMCP 框架、智能文档处理、使用向量嵌入的语义搜索、OAuth2 身份验证和 LOINC 医学术语集成等功能。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:使用自然语言提示查询患者健康记录
:使用 AI 驱动的分块处理和搜索医疗文档
:为开发和验证生成合成 FHIR 测试数据
:服务器支持哪些 FHIR 资源?
:配置中的敏感数据如何得到保护?

什么时候选它

当您处理医疗数据并需要以自然语言方式访问符合 FHIR 标准的系统且需要安全认证时,选择此服务器。

什么时候不要选它

如果您没有访问 FHIR 服务器的权限或需要 FHIR 之外更广泛的医疗数据管理功能,请避免使用。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • request_patient_resource

    Manage patient demographic and administrative information

  • request_observation_resource

    Handle clinical measurements and assessments

  • request_condition_resource

    Manage patient problems and diagnoses

  • request_medication_resource

    Handle medication information and orders

  • request_encounter_resource

    Handle patient visits and interactions

  • request_allergy_intolerance_resource

    Manage patient allergy information

  • request_generic_resource

    Operate on any FHIR resource not covered by specific tools

  • add_document_to_pinecone

    Ingests documents into the vector database for semantic search

  • search_pinecone

    Performs semantic search across indexed documents using vector embeddings

  • get_loinc_codes

    Retrieves standardized LOINC codes for medical observations and laboratory tests

  • request_document_reference_resource

    Manage FHIR DocumentReference resources

  • request_immunization_resource

    Manage vaccination records

可对比工具

medplum-mcphealthkit-mcpgoogle-cloud-healthcare-mcp

安装

安装

  1. 克隆仓库:

``sh git clone https://github.com/the-momentum/fhir-mcp-server cd fhir-mcp-server ``

  1. 设置环境变量:

``sh cp config/.env.example config/.env # 编辑 config/.env 文件添加您的凭据 ``

  1. 安装依赖

```sh # Docker 方法 make build

# uv 方法 make uv ```

  1. 更新 Claude Desktop 配置 (claude_desktop_config.json):

``json { "mcpServers": { "fhir-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "--init", "--name", "fhir-mcp-server", "--mount", "type=bind,source=<your-project-path>/app,target=/root_project/app", "--mount", "type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env", "-e", "TRANSPORT_MODE=stdio", "mcp-server:latest" ] } } } ``

FAQ

服务器支持哪些 FHIR 资源?
该服务器为所有主要 FHIR 资源提供工具,包括针对选定资源类型的特定工具和其他资源的通用工具。它涵盖患者、病情、药物、就诊和观察资源。
配置中的敏感数据如何得到保护?
服务器为敏感配置值(如 API 密钥和密码)提供内置加密功能。它提供自动化和手动设置选项来管理加密。

fhir-mcp-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。