Epic on FHIR MCP server for AI agents

Let Claude, ChatGPT or your own agent read Epic on FHIR: 2 typed functions through one MCP server. No Epic on FHIR API key needed.

Functions
2
Sign-in
Not needed
Works with
MCP, HTTP, Node, Python

Connect

Just Epic on FHIR

An MCP server for Epic on FHIR alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.

https://api.bowmark.ai/mcp/site/epic_fhir
Every site

One MCP server for Epic on FHIR and every other site Bowmark covers. Your agent looks up what it needs and calls it.

https://api.bowmark.ai/mcp
Set it up in your client

Both need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.

Functions

Open a function to see its arguments, what it returns and how to call it.

Read 2
  • getCapabilityStatementReads an Epic FHIR R4 server's /metadata CapabilityStatement (fhir.epic.com sandbox by default, or any Epic health system's base URL) and returns…

    Arguments

    NameTypeRequired
    baseUrlstring
    A FHIR R4 base URL. Defaults to Epic's public sandbox, https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4.
    No

    Returns epic_fhirCapabilityStatement

    interface epic_fhirResourceSupport {
      type: string;
      interactions: string[];
      searchParams: { name: string; type: string | null; documentation: string | null }[];
    }
    
    interface epic_fhirCapabilityStatement {
      baseUrl: string;
      fhirVersion: string | null;
      software: { name: string | null; version: string | null; releaseDate: string | null };
      description: string | null;
      authorizeUrl: string | null;
      tokenUrl: string | null;
      securityServices: string[];
      resources: epic_fhirResourceSupport[];
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/epic_fhir/getCapabilityStatement

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.epic_fhir.getCapabilityStatement();
  • listOrganizationEndpointsLists the health systems running Epic with each one's production FHIR R4 base URL, from Epic's published open.epic.com/Endpoints/R4 directory…

    Arguments

    NameTypeRequired
    querystring
    Case-insensitive part of a health system's name, e.g. "Mayo".
    No

    Returns epic_fhirOrganizationEndpoint[]

    interface epic_fhirOrganizationEndpoint {
      id: string;
      name: string;
      organization: string | null;
      /** The organization's production FHIR R4 base URL. */
      address: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/epic_fhir/listOrganizationEndpoints

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.epic_fhir.listOrganizationEndpoints();

Use it from code