MCP on FHIR
by terminallylazy
MCP on FHIR is an interactive FHIR application that leverages Model Context Protocol (MCP) capabilities to provide knowledge graph functionality. It connects to FHIR servers to access healthcare data and visualize connected data through an MCP memory server.
Last updated: N/A
What is MCP on FHIR?
MCP on FHIR is an application that integrates FHIR (Fast Healthcare Interoperability Resources) with the Model Context Protocol (MCP) to provide knowledge graph capabilities, enabling users to access and visualize healthcare data in a connected and context-aware manner.
How to use MCP on FHIR?
To use MCP on FHIR, first ensure you have Node.js and npm installed. You can either execute the provided run.sh
script or manually start the application using npm start
. The application connects to configured MCP servers (memory and FHIR) defined in mcp_config.json
and runs on http://localhost:8080.
Key features of MCP on FHIR
FHIR API Integration
Knowledge Graph Visualization
Context-Aware Chat Interface
MCP Server Configuration
Built-in MCP server configuration
Use cases of MCP on FHIR
Visualize complex health data relationships
Contextualize patient information
Build FHIR-based applications with knowledge graphs
Integrate MCP with existing FHIR infrastructure
FAQ from MCP on FHIR
How do I configure the MCP servers?
How do I configure the MCP servers?
The MCP servers are configured through the mcp_config.json
file. You can modify this file to add additional servers or change the default configuration.
Where can I access the application?
Where can I access the application?
Once the application is running, you can access it at http://localhost:8080.
What do I do if I encounter Knowledge Graph issues?
What do I do if I encounter Knowledge Graph issues?
Check that the application and MCP servers have started properly. Ensure the configurations in mcp_config.json
are correct, and check server logs for error messages.
Which FHIR specification does this client interact with?
Which FHIR specification does this client interact with?
The client is configured to connect to hapi.fhir.org baseR4. You can specify other FHIR server urls in the mcp_config.json
.
Where does the MCP memory server store the knowledge graph?
Where does the MCP memory server store the knowledge graph?
By default it uses a memory server implementation, which keeps data in memory and is configured to use the mcp-memory.json
file for persistence.