Fhir Dsl logo

Fhir Dsl

Expose a FHIR endpoint to LLM agents through roughly ten generic MCP tools with pluggable authentication and audit support.

Install Fhir Dsl

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "fhir-dsl": {
      "command": "npx",
      "args": [
        "-y",
        "@fhir-dsl/cli"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

fhir-dsl MCP server exposes any FHIR endpoint to an LLM agent through roughly ten generic FHIR tools. It is provided by the @fhir-dsl/mcp package and supports pluggable authentication and audit handling. Reach for it when an agent needs to work with FHIR data through MCP rather than a custom integration. The broader fhir-dsl toolchain also provides typed queries, validation, FHIRPath, terminology, and SMART on FHIR components.

Use cases

  • Expose a FHIR endpoint to an LLM agent
  • Connect an agent to FHIR data through MCP
  • Add pluggable authentication to an agent-facing FHIR bridge
  • Audit agent interactions with a FHIR endpoint

Key features

  • Roughly ten generic FHIR MCP tools
  • Connection to any FHIR endpoint
  • Pluggable authentication
  • Pluggable audit support
  • TypeScript package integration

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

4/4 checks healthy over the last 15d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars15Stargazers on the source repository.
Last commit15d agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Fhir Dsl works

What fhir-dsl MCP server does

The fhir-dsl MCP server connects an LLM agent to a FHIR endpoint and presents FHIR operations as MCP tools. The package is part of the wider TypeScript fhir-dsl toolchain, which includes typed query construction, generated resource and profile types, FHIRPath evaluation, validation, terminology handling, and SMART on FHIR authentication.

The MCP-specific package is @fhir-dsl/mcp. Its purpose is to provide an agent-facing bridge for FHIR systems, so an agent can use generic FHIR verbs instead of relying on a separately written adapter for each endpoint.

How it works

The server receives MCP tool requests from an LLM agent and maps them to operations against a configured FHIR endpoint. It exposes roughly ten generic FHIR verbs rather than a collection of endpoint-specific tools. Authentication and auditing are designed as pluggable parts of the MCP package, allowing deployments to provide their own handling for those concerns.

This approach is suited to agents that need to interact with FHIR resources while keeping the FHIR connection behind an MCP interface. The underlying fhir-dsl project also supports FHIR versions including R4, R4B, R5, and R6, plus published Implementation Guides through its code-generation tooling.

Setup and configuration

Install the @fhir-dsl/mcp package when exposing a FHIR endpoint to an LLM agent. The package belongs to a monorepo that also contains the core query builder, HTTP runtime, generated FHIR types, SMART authentication, FHIRPath, and terminology packages.

Authentication and audit behavior are pluggable. Configure those components according to the requirements of the FHIR deployment and the agent environment. The surrounding fhir-dsl project is written in TypeScript and supports both ESM and CommonJS Node.js environments.

Tools and capabilities

  • Exposes roughly ten generic FHIR verbs through MCP.
  • Connects an LLM agent to any FHIR endpoint.
  • Provides pluggable authentication handling.
  • Provides pluggable audit handling.
  • Sits alongside typed FHIR queries, generated resource and profile types, and runtime HTTP support.

The broader toolchain can generate TypeScript types from FHIR specifications and Implementation Guides, including profile-aware interfaces. Those capabilities are separate from the MCP bridge but can support applications that use the same project outside the agent connection.

Limitations and notes

The MCP package is intended as an agent-facing bridge, not as a replacement for the complete fhir-dsl TypeScript toolchain. Its documented scope is a set of generic FHIR verbs; the exact operation names and endpoint-specific behavior depend on the package configuration and connected FHIR service.

FHIR validation, FHIRPath evaluation, terminology filtering, and SMART on FHIR v2 are available as separate fhir-dsl packages or capabilities in the wider project. They should not be assumed to be additional MCP tools unless explicitly exposed by the deployment.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Fhir Dsl

fhir-dsl is an MCP server that connects an LLM agent to any FHIR endpoint. Its @fhir-dsl/mcp package exposes roughly ten generic FHIR verbs as agent tools, with pluggable authentication and audit support. Use it when an agent needs to read or work with FHIR data through a server endpoint.

Install the @fhir-dsl/mcp package to add the MCP bridge to a TypeScript project. It is the fhir-dsl package intended for exposing a FHIR endpoint to an LLM agent, while the repository contains separate packages for queries, runtime HTTP execution, SMART authentication, and related capabilities.

The server provides roughly ten generic FHIR verbs as MCP tools. These tools let an LLM agent work with a connected FHIR endpoint through a consistent agent interface rather than requiring a custom MCP adapter for each FHIR service.

Yes, authentication and audit handling are pluggable in the MCP package. Configure those integrations for the requirements of the connected FHIR deployment and the environment in which the agent runs.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFhir Dsl AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fhir-dsl?style=directory)](https://allmcps.com/mcp/fhir-dsl)
HTML Embed
<a href="https://allmcps.com/mcp/fhir-dsl"><img src="https://allmcps.com/api/badge/fhir-dsl?style=directory" alt="Fhir Dsl on AllMCPs" /></a>