An MCP Server for Google Cloud Healthcare API (FHIR)

An MCP Server for Google Cloud Healthcare API (FHIR)

site icon
2025.04.10 2
JavaScript医疗健康FHIR医学研究其它
Google Cloud Healthcare API (FHIR) 的 MCP 服务器,提供与 Google Cloud Healthcare API 上的 FHIR 资源以及公共医学研究 API(如 PubMed)交互的医疗工具。该服务器通过 Firebase Auth 保护的 SmartonFHIR 网关与 Google Cloud Healthcare FHIR API 通信。
View on GitHub

Overview

基本能力

产品定位

该 MCP 服务器主要用于医疗健康领域,提供与 FHIR 资源和医学研究 API 的交互工具。

核心功能

  1. FHIR 工具
  2. 患者信息检索(如 find_patientget_patient_observations
  3. 临床数据查询(如 get_patient_conditionsget_patient_medications
  4. 医疗记录管理(如 get_patient_encountersget_patient_procedures
  5. 医学研究工具
  6. PubMed 文章搜索(search-pubmed
  7. 临床试验查询(search-trials
  8. 药物相互作用检查(drug-interactions

适用场景

  1. 电子健康记录(EHR)管理
  2. 临床数据分析和查询
  3. 医学研究和文献检索
  4. 药物相互作用检查

工具列表

  1. FHIR 工具
  2. find_patient:通过姓名、出生日期或其他标识符搜索患者
  3. get_patient_observations:检索患者的观察结果/生命体征
  4. get_patient_conditions:获取患者的活跃病症
  5. get_patient_medications:获取患者的当前用药
  6. get_patient_encounters:获取患者的临床接触记录
  7. get_patient_allergies:获取患者的过敏和不耐受
  8. get_patient_procedures:获取患者的手术记录
  9. get_patient_careteam:获取患者的护理团队成员
  10. get_patient_careplans:获取患者的活跃护理计划
  11. get_vital_signs:获取患者的生命体征
  12. get_lab_results:获取患者的实验室结果
  13. get_medications_history:获取患者的用药历史
  14. clinical_query:执行自定义 FHIR 查询
  15. 医学研究工具
  16. search-pubmed:搜索与医学病症相关的 PubMed 文章
  17. search-trials:查找相关临床试验
  18. drug-interactions:检查药物相互作用

常见问题解答

  1. 端口冲突:如果 Claude 桌面正在运行并使用端口 3456 进行身份验证,需要终止该进程: bash kill -9 $(lsof -t -i:3456)

使用教程

使用依赖

  1. 确保已安装 Node.js 和 npm
  2. 确保已安装 Git

安装教程

  1. 克隆仓库: bash git clone [email protected]:Kartha-AI/google-cloud-healthcare-api-mcp.git
  2. 进入项目目录: bash cd google-cloud-healthcare-api-mcp
  3. 安装依赖: bash npm install
  4. 构建项目: bash npm run build
  5. 安装 MCP Inspector: bash npm install -g @modelcontextprotocol/inspector
  6. 启动 MCP 服务器: bash mcp-inspector build/index.js
  7. 访问 MCP Inspector: http://localhost:5173
  8. 在 Inspector 中设置环境变量

调试方式

  1. 确保所有环境变量已正确设置
  2. 检查端口 3456 是否被占用,必要时终止相关进程
  3. 使用 MCP Inspector 进行交互式调试

许可证

该项目遵循 MIT 开源许可条款,请参阅 MIT 了解完整条款。