Skip to main content
Glama
Kartha-AI

MCP Server for Google Cloud Healthcare API

by Kartha-AI

适用于 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 :需要labType

    • search-pubmed :需要query和可选的maxResults

    • search-trials :需要condition和可选location

    • drug-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)
Install Server
A
license - permissive license
B
quality
-
maintenance - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Hosted MCP for denial, prior auth, reimbursement, workflow validation, batch scoring, and feedback.

  • Guardrailed FHIR access for AI agents: PHI redaction, audit trail, step-up auth, tenant isolation

  • Hosted MCP server exposing US hospital procedure cost data to AI assistants

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kartha-AI/google-cloud-healthcare-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server