Enhancing Clinical Decision Support and EHR Insights through LLMs and the Model Context Protocol: An Open-Source MCP-FHIR Framework
Abul Ehtesham, Aditi Singh, Saket Kumar

TL;DR
This paper introduces an open-source framework that combines Large Language Models with FHIR data via the Model Context Protocol to improve clinical decision support, documentation, and patient engagement through dynamic, explainable EHR insights.
Contribution
It presents a novel agent-based MCP-FHIR framework enabling real-time, personalized EHR reasoning with LLMs, supporting multiple user personas and ensuring privacy and interoperability.
Findings
Framework successfully extracts and summarizes EHR data in real-time
Supports multiple user personas including clinicians and patients
Demonstrates scalability and explainability in digital health applications
Abstract
Enhancing clinical decision support (CDS), reducing documentation burdens, and improving patient health literacy remain persistent challenges in digital health. This paper presents an open-source, agent-based framework that integrates Large Language Models (LLMs) with HL7 FHIR data via the Model Context Protocol (MCP) for dynamic extraction and reasoning over electronic health records (EHRs). Built on the established MCP-FHIR implementation, the framework enables declarative access to diverse FHIR resources through JSON-based configurations, supporting real-time summarization, interpretation, and personalized communication across multiple user personas, including clinicians, caregivers, and patients. To ensure privacy and reproducibility, the framework is evaluated using synthetic EHR data from the SMART Health IT sandbox (https://r4.smarthealthit.org/), which conforms to the FHIR R4…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsElectronic Health Records Systems · Biomedical Text Mining and Ontologies · Artificial Intelligence in Healthcare and Education
