Google Cloud Healthcare API (FHIR) 用の MCP サーバー
Claude や Goose などの MCP クライアントを使用して、 Google Cloud Healthcare API上の FHIR リソースや pubmed などの公開医療研究 API とやり取りするためのヘルスケア ツールを提供するモデル コンテキスト プロトコル (MCP) サーバー。
これは、EHR 用の AgentCare MCP Server の若干変更されたバージョンです。https ://github.com/Kartha-AI/agentcare-mcp
主な違いは、このリポジトリは 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 claudeMCP 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