fhir-mcp-server
Verified Safeby wso2
Overview
The FHIR MCP Server acts as a bridge between AI/LLM tools and FHIR APIs, enabling seamless search, retrieval, and analysis of clinical information.
Installation
uvx fhir-mcp-server --transport stdioEnvironment Variables
- FHIR_MCP_HOST
- FHIR_MCP_PORT
- FHIR_MCP_SERVER_URL
- FHIR_MCP_REQUEST_TIMEOUT
- FHIR_SERVER_CLIENT_ID
- FHIR_SERVER_CLIENT_SECRET
- FHIR_SERVER_SCOPES
- FHIR_SERVER_BASE_URL
- FHIR_SERVER_ACCESS_TOKEN
- FHIR_SERVER_DISABLE_AUTHORIZATION
Security Notes
The server correctly uses environment variables for sensitive configurations like client IDs, secrets, and access tokens, rather than hardcoding them. It also supports OAuth 2.0 Authorization Code Grant flow. The `docker-compose.yml` uses a default password for PostgreSQL, which is only for a local development setup and not a vulnerability in the application itself. A notable configuration aspect is the `FHIR_SERVER_DISABLE_AUTHORIZATION: True` setting for local Docker runs, which disables authentication and should be set to `False` for production deployments requiring secure access.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
mcp-omnisearch
Provides a unified interface for various search, AI response, content processing, and enhancement tools via Model Context Protocol (MCP).
pyomop
A Python library providing tools for managing OMOP Common Data Model databases, including LLM-powered natural language querying, FHIR-to-OMOP data conversion, and PyHealth/PLP compatibility for machine learning pipelines.
knowledgebase-mcp
A standardized Model Context Protocol (MCP) server that aggregates and provides AI systems with access to diverse biomedical knowledge bases and analysis tools.