/ ディレクトリ / プレイグラウンド / FHIR MCP Server
● コミュニティ the-momentum ⚡ 即起動

FHIR MCP Server

作者 the-momentum · the-momentum/fhir-mcp-server

Query and write to any FHIR-compliant healthcare server via MCP.

FHIR (Fast Healthcare Interoperability Resources) is the standard API for clinical data. This MCP lets Claude query any FHIR server — patient records, observations, medications — and follow the spec's resource references like a real EHR app.

なぜ使うのか

主な機能

ライブデモ

実際の動作

fhir-mcp-server.replay ▶ 準備完了
0/0

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "fhir-mcp-server": {
      "command": "uvx",
      "args": [
        "fhir-mcp-server"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "fhir-mcp-server": {
      "command": "uvx",
      "args": [
        "fhir-mcp-server"
      ]
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "fhir-mcp-server": {
      "command": "uvx",
      "args": [
        "fhir-mcp-server"
      ]
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "fhir-mcp-server": {
      "command": "uvx",
      "args": [
        "fhir-mcp-server"
      ]
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "fhir-mcp-server",
      "command": "uvx",
      "args": [
        "fhir-mcp-server"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "fhir-mcp-server": {
      "command": {
        "path": "uvx",
        "args": [
          "fhir-mcp-server"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add fhir-mcp-server -- uvx fhir-mcp-server

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: FHIR MCP Server

Build a chronological clinical timeline for one patient

👤 Clinical informatics, research teams ⏱ ~15 min intermediate

使うタイミング: You need a summary of one patient's encounters, meds, and labs across visits.

前提条件
  • Server/skill installed and authenticated — See repo README
フロー
  1. Get the patient
    Find Patient with identifier MRN-12345 and return name, DOB, and active conditions.✓ コピーしました
    → One Patient + Condition list
  2. Build the timeline
    Retrieve all Encounters and MedicationRequests for that patient in the last 12 months. Sort chronologically and summarize.✓ コピーしました
    → Time-sorted list with encounter type + meds prescribed

結果: A clinician-readable summary you can paste into a chart note.

注意点
  • Real PHI — Real PHI — never connect this to a chat that's also pasting screenshots to a third-party service. Use a HIPAA-compliant Claude deployment.
組み合わせ: filesystem · memory

組み合わせ

他のMCPと組み合わせて10倍の力を

fhir-mcp-server + filesystem

Pair with filesystem for complementary capabilities

Use this server together with filesystem to complete a multi-step task.✓ コピーしました
fhir-mcp-server + memory

Pair with memory for complementary capabilities

Use this server together with memory to complete a multi-step task.✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
fhir_search resource_type, params Find resources matching criteria 1 API call
fhir_read resource_type, id Read one specific resource 1 API call
fhir_create resource_type, body Write a new clinical resource 1 API call

コストと制限

運用コスト

APIクォータ
See provider docs for rate limits
呼び出しあたりのトークン
Varies by tool
金額
See repo README for pricing details
ヒント
Cache tool results and avoid repeated identical calls.

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: Use environment variables; never commit secrets
データ送信先: Tool calls go to the provider's API as documented

トラブルシューティング

よくあるエラーと対処法

401 from FHIR server

Most FHIR servers use SMART-on-FHIR. Generate a token via your EHR's auth flow and set FHIR_TOKEN.

確認: fhir_search Patient?_count=1 returns a Bundle
Unsupported resource type

Different servers implement different subsets. Check the CapabilityStatement: GET /metadata.

確認: Confirm the resource type is in CapabilityStatement.rest.resource

代替案

FHIR MCP Server 他との比較

代替案代わりに使う場面トレードオフ
wso2/fhir-mcp-serverYou're on the WSO2 stackTighter WSO2 integration

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る