Best for
- Developers and integration teams connecting AI tools to an accessible FHIR API.
- Implementers configuring a FHIR server URL, authorization, and an MCP client.
This MCP server integrates with FHIR APIs and provides search and resource write tools across multiple transports. The manifest lists a PyPI package and stdio transport; the README also describes SSE and streamable HTTP. Configure the FHIR server URL and authorization as needed.
Strongest · Documentation 13/20 Weakest · Reliability 8/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Python 3.8+
FHIR_SERVER_BASE_URL
Base URL of the FHIR server; obtain it from the FHIR service provider.
FHIR_SERVER_CLIENT_SECRET
OAuth client secret; obtain it from the client registration with the FHIR authorization server.
FHIR_SERVER_ACCESS_TOKEN
Access token used to authenticate FHIR requests directly; obtain it through the FHIR authorization flow.
FHIR_SERVER_CLIENT_ID
OAuth client ID; obtain it from the client registration with the FHIR authorization server.
FHIR_SERVER_SCOPES
OAuth scopes requested from the authorization server; obtain the appropriate scopes from the FHIR service provider.
FHIR_SERVER_DISABLE_AUTHORIZATION
Set to True to disable server authorization checks; for publicly accessible FHIR servers.
FHIR_MCP_HOST
Hostname or IP address for the MCP server to bind to; set it for the local or deployment network.
FHIR_MCP_PORT
Port for the MCP server to listen on; set it for the deployment.
FHIR_MCP_SERVER_URL
Custom MCP server base URL; use the URL configured for a proxy or custom deployment.
FHIR_MCP_REQUEST_TIMEOUT
Timeout in seconds for requests to the FHIR server; set it based on the service response time.
Install the Python package and set the required FHIR_SERVER_BASE_URL. Configure authorization variables as needed. The README provides a Claude Desktop stdio configuration example; replace its directory path and access token with your actual values.
{"mcpServers":{"fhir":{"command":"uv","args":["--directory","/path/to/fhir-mcp-server","run","fhir-mcp-server","--transport","stdio"],"env":{"FHIR_SERVER_ACCESS_TOKEN":"Your FHIR Access Token"}}}}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"fhir": {
"command": "uv",
"args": [
"--directory",
"/path/to/fhir-mcp-server",
"run",
"fhir-mcp-server",
"--transport",
"stdio"
],
"env": {
"FHIR_SERVER_ACCESS_TOKEN": "Your FHIR Access Token"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.fhir] command = "uv" args = ["--directory", "/path/to/fhir-mcp-server", "run", "fhir-mcp-server", "--transport", "stdio"] [mcp_servers.fhir.env] FHIR_SERVER_ACCESS_TOKEN = "Your FHIR Access Token"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add fhir -e 'FHIR_SERVER_ACCESS_TOKEN=Your FHIR Access Token' -- uv --directory /path/to/fhir-mcp-server run fhir-mcp-server --transport stdio
Run it in a terminal; replace any <…> placeholders with your own values first.
After connecting, confirm the client lists get_capabilities, search, read, create, update, delete, and get_user. Calling get_capabilities for Patient can verify the connection.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
FHIR MCP Server connects MCP clients to FHIR APIs. It supports searching, filtering, reading, creating, updating, and deleting FHIR resources, and can retrieve a FHIR profile linked to the authenticated user.
Manage UniFi Network controllers through MCP.
Manage UniFi networks and devices through MCP.
Ask your affiliate networks in plain English from your AI workspace.
Run 119 Horosa astrology and metaphysics techniques locally.
Source revision 25a1e0b81013 Data synced 2026-12-05 Read the FMRS scoring method Markdown