healsens-fhirmcp is a Model Context Protocol server that gives AI agents safe access to an HL7® FHIR® R4 or R5 server, with knowledge of exactly which resources and searches that server supports.
target: base_url: https://fhir.example.org/fhir bearer_token_env: FHIR_BEARER_TOKEN server: transport: sse # or stdio
Agents get exactly what they need to answer questions from FHIR® data, and nothing that can change it.
Every tool reads. One fixed target server. Behaviour your security team can reason about.
Typed search based on the server’s live CapabilityStatement, so agents ask valid questions instead of guessing.
Official FHIR definitions for both versions are built in.
Agents can look up structure and operation definitions while they work.
Works with secured servers. Patient-level access stays with your server’s own access control.
AGPL-3.0 on GitHub. Runs over stdio or SSE with any MCP client.
Point it at one FHIR® R4 or R5 base URL. It only ever talks to that server.
At start-up it reads the CapabilityStatement and combines it with the built-in definitions.
Read, typed search, definitions and read-only operations become MCP tools.
Your assistant or agent answers questions grounded in the records on that server.
We run the MCP server against a FHIR® server filled with synthetic patients and connect it to an AI assistant. You ask questions; the agent finds and reads the right resources and answers from them.
Let an assistant look up data on your existing FHIR® server without opening up write access.
Give analysts and agents one consistent way to explore study data held on a FHIR server.
Add AI to your product without writing a custom connector for every model.
The Model Context Protocol is an open standard that lets AI assistants and agents use external tools and data sources in a consistent way.
If your server supports FHIR R4 or R5 and publishes a CapabilityStatement, it should. Secured servers are supported with a bearer token.
No. Every tool is read-only.
Your FHIR server. The MCP server limits what an agent can do; patient-level access stays with your existing access control.
Yes. We help with deployment, configuration for your server and custom tools. See Health Data Engineering.
Request a demo on synthetic data, or tell us about your FHIR® setup and we will suggest how to connect your agents.