# Fhirhydrant

> Fhirhydrant is an open-source MCP server. FHIR MCP server with SMART Backend Services, response compaction, FHIRPath, and guarded writes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/faulkj/fhirhydrant
- **MCP Registry name:** io.github.faulkj/fhirhydrant
- **Listing updated:** 2026-11-13

## About

FHIR MCP server with SMART Backend Services, response compaction, FHIRPath, and guarded writes.

## Install

### Claude Code (Terminal)

```sh
claude mcp add fhirhydrant --env MCP_TRANSPORT='<MCP_TRANSPORT>' --env FHIR_AUTH='<FHIR_AUTH>' --env FHIR_SERVER_URL='<FHIR_SERVER_URL>' --env FHIR_ACTIVE_KEY='<FHIR_ACTIVE_KEY>' -- npx -y fhirhydrant
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "fhirhydrant": {
      "command": "npx",
      "args": [
        "-y",
        "fhirhydrant"
      ],
      "env": {
        "MCP_TRANSPORT": "<MCP_TRANSPORT>",
        "FHIR_AUTH": "<FHIR_AUTH>",
        "FHIR_SERVER_URL": "<FHIR_SERVER_URL>",
        "FHIR_ACTIVE_KEY": "<FHIR_ACTIVE_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "fhirhydrant": {
      "command": "npx",
      "args": [
        "-y",
        "fhirhydrant"
      ],
      "env": {
        "MCP_TRANSPORT": "<MCP_TRANSPORT>",
        "FHIR_AUTH": "<FHIR_AUTH>",
        "FHIR_SERVER_URL": "<FHIR_SERVER_URL>",
        "FHIR_ACTIVE_KEY": "<FHIR_ACTIVE_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "fhirhydrant": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fhirhydrant"
      ],
      "env": {
        "MCP_TRANSPORT": "<MCP_TRANSPORT>",
        "FHIR_AUTH": "<FHIR_AUTH>",
        "FHIR_SERVER_URL": "<FHIR_SERVER_URL>",
        "FHIR_ACTIVE_KEY": "<FHIR_ACTIVE_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "fhirhydrant": {
      "command": "npx",
      "args": [
        "-y",
        "fhirhydrant"
      ],
      "env": {
        "MCP_TRANSPORT": "<MCP_TRANSPORT>",
        "FHIR_AUTH": "<FHIR_AUTH>",
        "FHIR_SERVER_URL": "<FHIR_SERVER_URL>",
        "FHIR_ACTIVE_KEY": "<FHIR_ACTIVE_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "fhirhydrant": {
      "command": "npx",
      "args": [
        "-y",
        "fhirhydrant"
      ],
      "env": {
        "MCP_TRANSPORT": "<MCP_TRANSPORT>",
        "FHIR_AUTH": "<FHIR_AUTH>",
        "FHIR_SERVER_URL": "<FHIR_SERVER_URL>",
        "FHIR_ACTIVE_KEY": "<FHIR_ACTIVE_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Fhirhydrant free?

Yes. Fhirhydrant is open source, so you can use and self-host it for free.

### How do I add Fhirhydrant to Claude Code?

Run this command in your terminal: claude mcp add fhirhydrant --env MCP_TRANSPORT='<MCP_TRANSPORT>' --env FHIR_AUTH='<FHIR_AUTH>' --env FHIR_SERVER_URL='<FHIR_SERVER_URL>' --env FHIR_ACTIVE_KEY='<FHIR_ACTIVE_KEY>' -- npx -y fhirhydrant

---
Source: https://ai-powered.com/mcp/fhirhydrant
