适用于 Google Cloud Healthcare API(FHIR)的 MCP 服务器
模型上下文协议 (MCP) 服务器使用 Claude 和 Goose 等 MCP 客户端提供医疗保健工具,用于与Google Cloud Healthcare API和 pubmed 等公共医学研究 API 上的 FHIR 资源进行交互。
这是针对 EHR 的 AgentCare MCP 服务器的稍微修改版本。https ://github.com/Kartha-AI/agentcare-mcp
主要区别在于,此 repo 通过由 Firebase Auth 保护的 SmartonFHIR 网关与 Google Cloud Healthcare FHIR API 对话。
建筑
Related MCP server: Secure Remote MCP Server
演示
克劳德:demo/claude-demo.mp4
鹅:demo/goose-demo.mp4
截图
工具
FHIR工具
find_patient- 通过姓名、出生日期或其他标识符搜索患者get_patient_observations- 检索患者观察/生命体征get_patient_conditions- 获取患者的活动状况get_patient_medications- 获取患者当前用药情况get_patient_encounters- 获取患者的临床就诊记录get_patient_allergies- 获取患者的过敏和不耐受情况get_patient_procedures- 获取患者的治疗程序get_patient_careteam- 获取患者的护理团队成员get_patient_careplans- 获取患者的有效护理计划get_vital_signs- 获取患者的生命体征get_lab_results- 获取患者的实验室结果get_medications_history- 获取患者的用药历史clinical_query- 执行自定义 FHIR 查询
医学研究工具
search-pubmed- 搜索与医疗状况相关的 PubMed 文章search-trials- 查找相关的临床试验drug-interactions- 检查药物相互作用
用法
每个工具都需要特定的参数:
必需参数
大多数工具都需要
patientId一些工具有附加参数:
lab_trend_analysis:需要labTypesearch-pubmed:需要query和可选的maxResultssearch-trials:需要condition和可选locationdrug-interactions:需要drugs阵列
请参阅:/src/server/constants/tools.ts 了解工具规范
与克劳德桌面一起使用
for claude desktop:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
(use the env variables as shown above)
{
"mcpServers": {
"google-cloud-healthcare-api-mcp": {
"command": "node",
"args": [
"/Users/your-username/{google-cloud-healthcare-api-mcp dir}/build/index.js"
],
"env": {
"FIREBASE_API_KEY":"XXXXXXXXX",
"FIREBASE_AUTH_DOMAIN":"XXXXXXXX",
"FIREBASE_PROJECT_ID":"XXXXXXX",
"FIREBASE_STORAGE_BUCKET":"XXXXXXXXX",
"FIREBASE_MESSAGING_SENDER_ID":"XXXXXXX",
"FIREBASE_APP_ID":"XXXXXXXXX",
"FIREBASE_MEASUREMENT_ID":"XXXXXXXX",
"FIREBASE_AUTH_CALLBACK_PORT":"3456",
"FHIR_BASE_URL":"{gchapi-fhir-gateway-host}/fhir",
"PUBMED_API_KEY":"your_pubmed_api_key",
"CLINICAL_TRIALS_API_KEY":"your_trials_api_key",
"FDA_API_KEY":"your_fda_api_key"
}
}
}
}通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 google-cloud-healthcare-api-mcp :
npx -y @smithery/cli install @Kartha-AI/google-cloud-healthcare-api-mcp --client claude使用 MCP Inspector 在本地启动 MCP 服务器
git clone git@github.com:Kartha-AI/google-cloud-healthcare-api-mcp.git
cd google-cloud-healthcare-api-mcp
npm install
npm run build
npm install -g @modelcontextprotocol/inspector
mcp-inspector build/index.js
http://localhost:5173
Set up the env vars on Inspector故障排除:
如果 Claude 桌面正在运行,它将使用端口 3456 进行身份验证。您需要使用以下命令终止该进程:
kill -9 $(lsof -t -i:3456)Appeared in Searches
- Agentic RAG: Understanding or Exploring Its Meaning and Applications
- Research on Patient-Disease-Gene-Drug Relationships and Pharmacogenomics Using Digital Imaging Data
- Developing a FHIR-Based Digital Health Application with EHR, PHR, and Phenotyping Frameworks
- A database of diseases with associated genetic variants and sequencing information
- Information about Google Calendar