Azure AHDS FHIR MCP Server 🚀
A Model Context Protocol (MCP) server implementation for Azure Health Data Services FHIR (Fast Healthcare Interoperability Resources). This service provides a standardized interface for interacting with Azure FHIR servers, enabling healthcare data operations through MCP tools.
Setup 🛠️
Installation 📦
Requires Python 3.13 or higher and uv
.
Install uv first.
MCP Configuration ⚙️
Claude Desktop Configuration
1 - Edit Claude Desktop Configuration:
Open claude_desktop_config.json
and add the following configuration.
On MacOs, the file is located here: ~/Library/Application Support/Claude Desktop/claude_desktop_config.json
.
On Windows, the file is located here: %APPDATA%\Claude Desktop\claude_desktop_config.json
.
The following is a table of available environment configuration variables:
Variable | Description | Default |
---|---|---|
LOG_LEVEL | Logging level | INFO |
fhirUrl | Azure FHIR server URL | Required |
clientId | OAuth2 client ID | Required |
clientSecret | OAuth2 client secret | Required |
tenantId | Azure AD tenant ID | Required |
2 - Restart Claude Desktop.
Available Tools 🔧
FHIR Resource Operations
search_fhir
- Search for FHIR resources based on a dictionary of search parameters
Resource Access
The server provides access to all standard FHIR resources through the MCP resource protocol:
fhir://Patient/
- Access all Patient resourcesfhir://Patient/{id}
- Access a specific Patient resourcefhir://Observation/
- Access all Observation resourcesfhir://Observation/{id}
- Access a specific Observation resourcefhir://Medication/
- Access all Medication resourcesfhir://Medication/{id}
- Access a specific Medication resource- And many more...
Development 💻
Local Development Setup
1 - Clone the repository:
2 - Create and activate virtual environment:
Linux/macOS:
Windows:
3 - Install dependencies:
4 - Copy and configure environment variables:
Edit .env with your settings:
5 - Claude Desktop Configuration
Open claude_desktop_config.json
and add the following configuration.
On MacOs, the file is located here: ~/Library/Application Support/Claude Desktop/claude_desktop_config.json
.
On Windows, the file is located here: %APPDATA%\Claude Desktop\claude_desktop_config.json
.
6 - Restart Claude Desktop.
Contributions 🤝
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m '✨ Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License ⚖️
Licensed under MIT - see LICENSE.md file.
This is not an official Microsoft or Azure product.
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.
Tools
Azure Health Data Services FHIR 서버와의 표준화된 상호작용을 가능하게 하는 모델 컨텍스트 프로토콜 서버로, MCP 도구를 통해 의료 데이터 작업이 가능합니다.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that connects AI tools to Electronic Health Records using SMART on FHIR, allowing secure searching, querying, and analysis of patient data from compatible EHRs.Last updated -59TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that enables querying FHIR healthcare data using natural language, allowing doctors to retrieve patient information, medications, observations, and other healthcare records.Last updated -1Python
- AsecurityAlicenseAqualityA Model Context Protocol server that enables natural language commands to manage healthcare data stored in Medplum FHIR servers through standardized Create, Read, Update, and Search operations.Last updated -378TypeScriptMIT License
- -securityFlicense-qualityA comprehensive Model Context Protocol server that provides universal access to multiple FHIR servers with AI-powered clinical analysis capabilities for healthcare data integration and patient care planning.Last updated -1Python