Connect to Claude

Add FHIRfly to Claude as a custom connector. There is no API key to copy and nothing to install: you paste one URL, sign in to FHIRfly, and approve access.

Once connected, Claude can call all 62 FHIRfly tools: NDC, RxNorm, ICD-10, LOINC, SNOMED CT, NPI, HCPCS, MS-DRG, FDA labels, claims edits and more. Every tool is read-only.

What you need

  • A Claude account that can add custom connectors (claude.ai on the web, or the Claude desktop app)
  • A FHIRfly account. Sign up first if you don't have one.

Step 1: Add the connector

  1. In Claude, open Settings → Connectors.
  2. Click Add custom connector.
  3. Fill in the dialog:
FieldValue
NameFHIRfly
Remote MCP server URLhttps://api.fhirfly.io/mcp
  1. Leave the authentication options at their defaults: Sign in now and Register automatically.
  2. Leave request headers empty. The connector signs in with OAuth, so it doesn't need an API key.
  3. Click Add.

Do not choose "Use Claude's published identity". That option uses Client ID Metadata Documents (CIMD), which FHIRfly does not support. Keep Register automatically.

On Team and Enterprise plans, your organization's owner may need to allow custom connectors first.

Step 2: Sign in to FHIRfly

Claude opens a FHIRfly window.

  1. Enter your email address. FHIRfly emails you a sign-in code.
  2. Enter the code. If you were already signed in to fhirfly.io in this browser, this step is skipped.

Step 3: Approve access

The consent screen shows which app is asking ("Connect Claude") and what it will be able to do.

  1. If you belong to more than one FHIRfly organization, choose one. Usage counts against that organization's plan.
  2. Click Allow.

The window closes and the connector shows as connected in Claude.

Step 4: Try it

Start a new chat and ask something that needs reference data:

"What is NDC 0002-8215-01, and what's its RxNorm code?"

"Find the ICD-10-CM code for type 2 diabetes with diabetic chronic kidney disease."

"Can CPT 99213 and 36415 be billed together on the same day?"

Claude shows each FHIRfly tool call it makes, and the answer cites the source data.

Usage and billing

  • Tool calls count against the plan of the organization you chose in Step 3, exactly like API calls made with a key.
  • A connector does not count against your plan's credential limit.

Disconnect

You can disconnect from either side:

  • From FHIRfly: go to Dashboard → API Credentials. Under Connected apps, click Revoke next to Claude. Claude loses access right away.
  • From Claude: remove the connector under Settings → Connectors. To make sure its tokens can no longer be used, also revoke it in FHIRfly.

How the connection is secured

  • OAuth 2.1 with PKCE. Claude never sees your FHIRfly password or an API key.
  • Dynamic Client Registration. Claude registers itself with FHIRfly automatically, which is what Register automatically does.
  • Short-lived tokens. Access tokens last 10 minutes. Refresh tokens last 30 days and rotate on every use; if an old refresh token is ever replayed, the whole token family is revoked.
  • Read-only tools. Every FHIRfly tool is marked read-only. None of them change data.
  • Streamable HTTP. Claude talks directly to FHIRfly's hosted MCP endpoint over HTTPS.

Other clients

The same URL works in any MCP client that supports remote servers with OAuth and dynamic client registration.

In ChatGPT (web), open Plugins, click Add → Add custom MCP server, enter https://api.fhirfly.io/mcp and choose OAuth. Sign-in and consent are the same as above. Full steps: Connect to ChatGPT.

Clients that run on your machine, such as Claude Code, Cursor and VS Code, work too, because FHIRfly accepts local (loopback) redirect URLs.

For example, in Claude Code:

claude mcp add --transport http fhirfly https://api.fhirfly.io/mcp

Then run /mcp inside Claude Code to sign in.

If your client can't do OAuth, use an API key instead. See Claude Desktop Setup and the HTTP API Reference.

Troubleshooting

Sign-in fails or the window says the app is unknown

  • Check that the URL is exactly https://api.fhirfly.io/mcp.
  • Remove the connector and add it again with Register automatically selected (not "Use Claude's published identity").

The connector shows as connected but Claude doesn't use it

  • Make sure the connector is turned on for the chat (the tools menu in the message box).
  • Ask a question that clearly needs a code lookup, or name FHIRfly in your prompt.

Requests start failing partway through the month

Your organization may have reached its plan's monthly usage. Check Dashboard → Billing, or upgrade on Pricing. An upgrade takes effect immediately.

I connected the wrong organization

Revoke the connection under Connected apps, then reconnect from Claude and choose the right organization on the consent screen.

© 2026 FHIRfly.io LLC. All rights reserved.