Skip to main content
Glama

Azure AHDS FHIR MCP Server

by erikhoward

Azure AHDS FHIR MCP 服务器🚀

Azure 健康数据服务 FHIR(快速医疗保健互操作性资源)的模型上下文协议 (MCP) 服务器实现。此服务提供与 Azure FHIR 服务器交互的标准化接口,支持通过 MCP 工具进行医疗保健数据操作。

设置🛠️

安装📦

需要 Python 3.13 或更高版本。

使用pip安装包:

pip install azure-fhir-mcp-server

MCP 配置⚙️

Claude桌面配置

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/ - 访问所有观察资源
  • fhir://Observation/{id} - 访问特定的观察资源
  • 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桌面配置

打开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。

贡献🤝

欢迎贡献代码!欢迎提交 Pull 请求。

  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 健康数据服务 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