# FHIR MCP Server (MCP server)

> FHIR MCP Server is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications. It has 137 GitHub stars, is released under the Apache-2.0 license and runs locally with uvx fhir-mcp-server.

The FHIR MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with FHIR APIs. Designed for developers, integrators, and healthcare innovators, this server acts as a bridge between modern AI/LLM tools and healthcare data, making it easy to search, retrieve, and analyze clinical information.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/wso2/fhir-mcp-server |
| GitHub stars | 137 |
| License | Apache-2.0 |
| Language | Python |
| Transport | stdio |
| Packages | pypi: fhir-mcp-server |
| Remote URL | none |
| Needs API key | no |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Other |
| Latest release | 0.10.0 (Oct 30, 2025) |
| Last commit | Sep 30, 2026 |
| MCP registry name | io.github.wso2/fhir-mcp-server |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "fhir-mcp-server": {
      "command": "uvx",
      "args": [
        "fhir-mcp-server"
      ],
      "env": {
        "FHIR_SERVER_BASE_URL": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env FHIR_SERVER_BASE_URL=your-value --transport stdio fhir-mcp-server -- uvx fhir-mcp-server
```

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

```json
{
  "mcpServers": {
    "fhir-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "fhir-mcp-server"
      ],
      "env": {
        "FHIR_SERVER_BASE_URL": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

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

```json
{
  "servers": {
    "fhir-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "fhir-mcp-server"
      ],
      "env": {
        "FHIR_SERVER_BASE_URL": "your-value"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `FHIR_SERVER_BASE_URL` (required): Base URL of the FHIR Server (eg: https://hapi.fhir.org/baseR5)

## Tools

- `get_capabilities`: Retrieves metadata about a specified FHIR resource type, including its supported search parameters and custom…
- `type`: The FHIR resource type name (e.g., "Patient", "Observation", "Encounter")
- `search`: Executes a standard FHIR search interaction on a given resource type, returning a bundle or list of matching resources.
- `response_filter_fhirpaths`: (Optional) An array of FHIRPath expressions (e.g., ["Patient.name", "Patient.birthDate",…
- `read`: Performs a FHIR "read" interaction to retrieve a single resource instance by its type and resource ID, optionally…
- `operation`: The name of a custom FHIR operation or extended query defined for the resource (e.g., "$everything").
- `create`: Executes a FHIR "create" interaction to persist a new resource of the specified type.
- `payload`: A JSON object representing the full FHIR resource body to be created.
- `update`: Performs a FHIR "update" interaction by replacing an existing resource instance's content with the provided payload.
- `delete`: Execute a FHIR "delete" interaction on a specific resource instance.
- `get_user`: Retrieves the currently authenticated user's FHIR resource (for example the linked Patient resource) and returns a…

## Similar MCP servers

- [Reactive Resume](https://appsgit.com/mcp-servers/reactive-resume): A one-of-a-kind resume builder that keeps your privacy in mind. (43,921 stars, MIT)
- [N8n MCP](https://appsgit.com/mcp-servers/n8n-mcp): A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you. (23,047 stars, MIT)
- [XHS Downloader](https://appsgit.com/mcp-servers/xhs-downloader): 小红书（XiaoHongShu、RedNote）链接提取/作品采集工具. (12,922 stars, GPL-3.0)
- [MCP Use](https://appsgit.com/mcp-servers/mcp-use): The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents. (10,726 stars, MIT)
- [Ha MCP](https://appsgit.com/mcp-servers/ha-mcp): Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants. (4,964 stars, MIT)
- [MCP Server Chart](https://appsgit.com/mcp-servers/mcp-server-chart): A Model Context Protocol server for generating charts using AntV. (4,391 stars, MIT, needs API key)

---

Canonical page: https://appsgit.com/mcp-servers/fhir-mcp-server
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
