Mcp-Fhir icon

Mcp-Fhir

Createdflexpa

Connects to a FHIR server to provide core Model Context Protocol functionality for interacting with FHIR resources.

About

Mcp-Fhir is a TypeScript-based Model Context Protocol (MCP) server designed to interface with FHIR servers. It enables access to FHIR resources via URIs and offers search capabilities, making FHIR data accessible as context for Large Language Model (LLM) interactions. The server exposes FHIR resources as MCP Resources, allowing clients to read and utilize them. It supports all FHIR Resource types defined in the FHIR server's CapabilityStatement.

Key Features

  • Lists and accesses FHIR resources via `fhir://` URIs.
  • Returns resources in FHIR JSON format.
  • Supports all FHIR Resource types available in the FHIR server's CapabilityStatement.
  • Offers a `search_fhir` tool for searching FHIR resources by resource type and search parameters.
  • Provides a `read_fhir` tool for reading individual FHIR resources by URI.

Use Cases

  • Providing FHIR data as context for LLM applications.
  • Searching and retrieving FHIR resources programmatically.
  • Integrating FHIR data with MCP-compatible clients.
Craft Better Prompts with AnyPrompt