AITeamGuide

AITeamGuide Hub · MCP server

FHIR MCP Server

WSO2's MCP server that exposes any FHIR health-records API to an assistant.

MCP server★ 139 starsApache-2.0Healthcare admin

View on GitHub

Short answer: how to install FHIR MCP Server

FHIR MCP Server is an Apache-2.0-licensed, open-source MCP server on GitHub (wso2/fhir-mcp-server) with 139 stars as of December 2, 2026. Its last push was on November 6, 2026. To install it in Claude Code, run claude mcp add --transport stdio fhir --env FHIR_SERVER_ACCESS_TOKEN='Your FHIR Access Token' -- uv --directory /path/to/fhir-mcp-server run fhir-mcp-server --transport stdio. Replace the placeholder API keys or tokens with your own. The config points at a local copy of the repo, so clone it first. It works with Any MCP client, Claude Desktop; steps for each are below.

Key facts

Type
MCP server
Jobs it fits
Look up patient records through FHIR; Build healthcare admin tools
Fields
Healthcare admin
Works with
Any MCP client, Claude Desktop
GitHub
wso2/fhir-mcp-server
Licence
Apache-2.0
Stars
139 as of December 2, 2026
Last updated
November 6, 2026 (last push to GitHub)
Author
@wso2
Submitted by
@aiteamguide
Added to the Hub
October 21, 2026

Our note: real patient data still needs HIPAA safeguards and a BAA with each vendor.

Install / Use it

Apache-2.0Local MCP server

Download ZIP View source

Cursor

This config points at a local copy of the repo. Download or clone it first and edit the path placeholders, so there is no one-click button.

Replace the placeholder values (API keys, tokens) with your own after adding it.

Or paste into ~/.cursor/mcp.json

{
  "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"
      }
    }
  }
}

Claude Code

Run in your terminal

claude mcp add --transport stdio fhir --env FHIR_SERVER_ACCESS_TOKEN='Your FHIR Access Token' -- uv --directory /path/to/fhir-mcp-server run fhir-mcp-server --transport stdio

Replace the placeholder values (API keys, tokens) with your own after adding it.

Claude Desktop

This config points at a local copy of the repo. Download or clone it first and edit the path placeholders, so there is no one-click button.

Add to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude

{
  "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"
      }
    }
  }
}

Replace the placeholder values (API keys, tokens) with your own after adding it.

VS Code

This config points at a local copy of the repo. Download or clone it first and edit the path placeholders, so there is no one-click button.

Replace the placeholder values (API keys, tokens) with your own after adding it.

Or from the command line

code --add-mcp '{"name":"fhir","type":"stdio","command":"uv","args":["--directory","/path/to/fhir-mcp-server","run","fhir-mcp-server","--transport","stdio"],"env":{"FHIR_SERVER_ACCESS_TOKEN":"Your FHIR Access Token"}}'

Codex

Run in your terminal

codex mcp add fhir --env FHIR_SERVER_ACCESS_TOKEN='Your FHIR Access Token' -- uv --directory /path/to/fhir-mcp-server run fhir-mcp-server --transport stdio

Replace the placeholder values (API keys, tokens) with your own after adding it.

Quickstart

Run with uvx

uvx fhir-mcp-server

Safety: Runs code from a third-party repo. Review the source and the permissions before installing.

Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.

How to add MCP servers in your app, step by step: Claude Code · Cursor · VS Code · Claude Desktop · Codex · Gemini CLI · Copilot CLI · OpenCode · Cline · Roo Code · Kilo Code · Zed · LM Studio · Antigravity · Windsurf · Hermes Agent · ChatGPT.

FAQ

How do I add FHIR MCP Server to Claude Code?

Run claude mcp add --transport stdio fhir --env FHIR_SERVER_ACCESS_TOKEN='Your FHIR Access Token' -- uv --directory /path/to/fhir-mcp-server run fhir-mcp-server --transport stdio in your terminal. The config points at a local copy of the repo, so clone it first.

How do I add FHIR MCP Server to Codex?

Run codex mcp add fhir --env FHIR_SERVER_ACCESS_TOKEN='Your FHIR Access Token' -- uv --directory /path/to/fhir-mcp-server run fhir-mcp-server --transport stdio in your terminal. The config points at a local copy of the repo, so clone it first.

How do I add FHIR MCP Server to Cursor?

paste this entry under mcpServers in ~/.cursor/mcp.json: {"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"}}}. The config points at a local copy of the repo, so clone it first.

Does FHIR MCP Server need an API key?

Yes. The README's setup passes FHIR_SERVER_ACCESS_TOKEN as environment variable; replace the placeholder value with your own.

Is FHIR MCP Server free?

The code is open source under the Apache-2.0 licence, so it's free to use. Any account or API key the connected service needs is billed by that service, not by the project; see the README.

Is FHIR MCP Server still maintained?

Its last push to GitHub was on November 6, 2026, and it had 139 stars as of December 2, 2026. We re-check GitHub daily.

Get new open-source AI tools like FHIR MCP Server in one weekly email

One email a week: new open-source agents, skills, MCP servers and playbooks from the Hub, plus AI agent price changes and new free plans. Free; unsubscribe anytime.

Free, no signup needed: the AI agent pricing cheat sheet, the cheapest listed plan for every job on one printable page.

The pricing cheat sheet is a free page on this site (no signup needed). Not sure yet? Read the latest issue first.

More from the Hub

Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.