Skip to content
Gemini CLI

mcp fhir for Gemini CLI

io.github.pcmedsinge/mcp-fhir

FHIR R4 read/search/validate MCP server — US Core/IPS profiles, SMART-on-FHIR auth (Epic/Cerner).

client:Gemini CLI transport:stdio runtime:pypi

Install mcp fhir in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-fhir": {
      "command": "uvx",
      "args": [
        "mcp-fhir"
      ],
      "env": {
        "FHIR_BASE_URL": "<FHIR_BASE_URL>",
        "SMART_ENABLED": "<SMART_ENABLED>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

mcp fhir in other clients