Skip to content
appsgit

FHIR 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.

github.com/wso2/fhir-mcp-server (opens in a new tab)

Install FHIR MCP Server

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.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

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

Cursor

.cursor/mcp.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
{
  "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 Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
FHIR_SERVER_BASE_URLYesBase URL of the FHIR Server (eg: https://hapi.fhir.org/baseR5)

Tools (11)

Parsed from the Tools section of the README; check the repository for the current list.

  • 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…

About 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.

  • fhir
  • healthcare
  • mcp
  • mcp-server
  • modelcontextprotocol

FAQ

FHIR MCP Server FAQ

Still curious? Email info@appsgit.com.

What is FHIR 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 source code is at github.com/wso2/fhir-mcp-server.

How do I install the FHIR MCP Server MCP server?

Add the command uvx fhir-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is FHIR MCP Server free?

The server is open source under the Apache-2.0 license, so running it is free. It does not declare any required API key.

Is FHIR MCP Server actively maintained?

The most recent commit was on Sep 30, 2026. The latest release is 0.10.0, published Oct 30, 2025. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.