Introduction

HAPI FHIR is an open source implementation of the HL7 FHIR standard for healthcare interoperability.

Model Context Protocol

The HAPI FHIR JPA Server Starter Project includes a MCP (Model Context Protocol) Server.

Claude for Desktop

Claude for Desktop is a popular MCP Client.

We can configure Claude for Desktop to use HAPI FHIR's MCP server by updating its configuration file.

For example:

"mcpServers": {
  "hapi": {
    "command": "npx",
      "args": [
        "mcp-remote@latest",
        "http://localhost:8080/mcp/messages"
    ]
  }
}

Restart Claude for Desktop and then click on the 'Search and tools' button.

You should see something like:

Resources