Skip to main content
Glama

Azure AHDS FHIR MCP Server

by erikhoward

Azure AHDS FHIR MCP サーバー 🚀

Azure Health Data Services FHIR(Fast Healthcare Interoperability Resources)向けのモデルコンテキストプロトコル(MCP)サーバー実装。このサービスは、Azure FHIRサーバーと対話するための標準化されたインターフェースを提供し、MCPツールを介した医療データ操作を可能にします。

セットアップ 🛠️

インストール📦

Python 3.13 以上が必要です。

pipを使用してパッケージをインストールします。

pip install azure-fhir-mcp-server

MCP 構成 ⚙️

クロードデスクトップ構成

1 - Claude デスクトップ構成を編集する:

claude_desktop_config.jsonを開き、次の構成を追加します。

MacOs の場合、ファイルは~/Library/Application Support/Claude Desktop/claude_desktop_config.jsonにあります。

Windows の場合、ファイルは%APPDATA%\Claude Desktop\claude_desktop_config.jsonにあります。

{ "mcpServers": { "fhir": { "command": "azure-fhir-mcp-server", "env": { "LOG_LEVEL": "INFO", "fhirUrl": "https://your-fhir-server.azurehealthcareapis.com/fhir", "clientId": "your-client-id", "clientSecret": "your-client-secret", "tenantId": "your-tenant-id" } } } }

使用可能な環境構成変数の表を以下に示します。

変数説明デフォルト
LOG_LEVELログレベルINFO
fhirUrlAzure FHIR サーバー URL必須
clientIdOAuth2 クライアントID必須
clientSecretOAuth2クライアントシークレット必須
tenantIdAzure AD テナント ID必須

2 - Claude Desktop を再起動します。

利用可能なツール 🔧

FHIR リソース操作
  • search_fhir - 検索パラメータの辞書に基づいて FHIR リソースを検索します
リソースアクセス

サーバーは、MCP リソース プロトコルを通じてすべての標準 FHIR リソースへのアクセスを提供します。

  • fhir://Patient/ - すべての患者リソースにアクセスします
  • fhir://Patient/{id} - 特定の患者リソースにアクセスする
  • fhir://Observation/ - すべてのObservationリソースにアクセスします
  • fhir://Observation/{id} - 特定のObservationリソースにアクセスする
  • fhir://Medication/ - すべての医薬品リソースにアクセス
  • fhir://Medication/{id} - 特定の医薬品リソースにアクセスする
  • その他にも多数...

開発💻

ローカル開発のセットアップ

1 - リポジトリをクローンします。

git clone https://github.com/erikhoward/azure-fhir-mcp-server.git cd azure-fhir-mcp-server

2 - 仮想環境を作成してアクティブ化する:

Linux/macOS:

python -m venv .venv source .venv/bin/activate

ウィンドウズ:

python -m venv .venv .venv\Scripts\activate

3 - 依存関係をインストールします。

pip install -e ".[dev]"

4 - 環境変数をコピーして設定します。

cp .env.example .env

設定に合わせて .env を編集します。

fhirUrl=https://your-fhir-server.azurehealthcareapis.com/fhir clientId=your-client-id clientSecret=your-client-secret tenantId=your-tenant-id

5 - クロードデスクトップ構成

claude_desktop_config.jsonを開き、次の構成を追加します。

MacOs の場合、ファイルは~/Library/Application Support/Claude Desktop/claude_desktop_config.jsonにあります。

Windows の場合、ファイルは%APPDATA%\Claude Desktop\claude_desktop_config.jsonにあります。

{ "mcpServers": { "fhir": { "command": "python", "args": [ "-m", "fhir_mcp_server.server" ], "cwd": "/path/to/azure-fhir-mcp-server/repo", "env": { "LOG_LEVEL": "DEBUG", "fhirUrl": "https://your-fhir-server.azurehealthcareapis.com/fhir", "clientId": "your-client-id", "clientSecret": "your-client-secret", "tenantId": "your-tenant-id" } } } }

6 - Claude Desktop を再起動します。

貢献🤝

貢献を歓迎します!お気軽にプルリクエストを送信してください。

  1. リポジトリをフォークする
  2. 機能ブランチを作成します( git checkout -b feature/AmazingFeature
  3. 変更をコミットします ( git commit -m '✨ Add some AmazingFeature' )
  4. ブランチにプッシュする ( git push origin feature/AmazingFeature )
  5. プルリクエストを開く

ライセンス ⚖️

MIT ライセンス - LICENSE.mdファイルを参照してください。

これは公式の Microsoft または Azure 製品ではありません。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Azure Health Data Services FHIR サーバーとの標準化された対話を可能にし、MCP ツールを通じて医療データの操作を可能にするモデル コンテキスト プロトコル サーバー。

  1. セットアップ 🛠️
    1. インストール📦
    2. MCP 構成 ⚙️
    3. 利用可能なツール 🔧
  2. 開発💻
    1. ローカル開発のセットアップ
  3. 貢献🤝
    1. ライセンス ⚖️

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        A minimal server/client application implementation utilizing the Model Context Protocol (MCP) and Azure OpenAI.
        Last updated -
        15
        Python
        MIT License
      • -
        security
        A
        license
        -
        quality
        A Model Context Protocol server that provides health data from the Senechal API to LLM applications, enabling AI assistants to access, analyze, and respond to personal health information.
        Last updated -
        Python
        GPL 3.0
        • Linux
        • Apple
      • -
        security
        A
        license
        -
        quality
        A TypeScript-based MCP server that connects to FHIR servers, allowing access to healthcare data via fhir:// URIs and providing search capabilities for FHIR resources.
        Last updated -
        20
        JavaScript
        MIT License
        • Apple
      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.
        Last updated -
        21
        26
        JavaScript

      View all related MCP servers

      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/erikhoward/azure-fhir-mcp-server'

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