loading…
Search for a command to run...
loading…
Enables AI assistants to securely interact with FHIR R4 servers for clinical decision support workflows, including PlanDefinition execution, FHIR resource manag
Enables AI assistants to securely interact with FHIR R4 servers for clinical decision support workflows, including PlanDefinition execution, FHIR resource management, terminology services, and Questionnaire/StructureMap transformation via Matchbox.
A Model Context Protocol (MCP) server that provides comprehensive FHIR R4 operations including PlanDefinition $apply, resource management, terminology services, and Questionnaire/StructureMap transformation via Matchbox.
This MCP server provides a secure interface for AI assistants to interact with FHIR R4 servers, enabling clinical decision support workflows through PlanDefinitions, resource creation/management, terminology lookups, and structured data capture via Questionnaires.
fhir_set_implementation_guide_context - Set the IG context for resource validationfhir_get_current_implementation_guide_context - Get the currently set IG contextfhir_get_implementation_guide - Retrieve full IG details by ID or URLfhir_list_implementation_guides - List available IGs on the serverfhir_list_plan_definitions - List available PlanDefinitions with filtersfhir_get_plan_definition - Get full PlanDefinition details including actionsfhir_apply_plan_definition - Execute $apply to generate a CarePlanfhir_get_resource - Retrieve any FHIR resource by type and IDfhir_search_resources - Search resources with FHIR search parametersfhir_create_resource - Create any FHIR resource using raw JSONfhir_update_resource - Update an existing resourcefhir_delete_resource - Delete a resourcefhir_list_valuesets - List available ValueSetsfhir_expand_valueset - Expand a ValueSet to get all codesfhir_list_codesystems - List available CodeSystemsfhir_lookup_code - Look up a code's display and propertiesfhir_get_questionnaire - Retrieve a Questionnaire for data capturefhir_list_questionnaires - List available Questionnairesfhir_transform_questionnaire_response - Transform via StructureMap on Matchboxfhir_get_server_capability - Get the server's CapabilityStatementdocker mcp command)Environment variables:
FHIR_SERVER_URL - Base URL of the FHIR server (default: http://localhost:8080/fhir)MATCHBOX_SERVER_URL - Base URL of Matchbox server (default: http://localhost:8081/matchboxv3/fhir)See the step-by-step instructions provided with the files.
In Claude Desktop, you can ask:
Claude Desktop → MCP Gateway → FHIR MCP Server → FHIR Server (localhost:8080)
↓
Matchbox Server (localhost:8081)
(for StructureMap transforms)
fhir_get_questionnaire to retrieve the questionnaire structurefhir_transform_questionnaire_response to convert to FHIR resources via Matchboxfhir_set_implementation_guide_context to set the IGfhir_list_plan_definitions to find available plansfhir_get_plan_definition to see what data is neededfhir_apply_plan_definition to generate the CarePlan# Set environment variables for testing
export FHIR_SERVER_URL="http://localhost:8080/fhir"
export MATCHBOX_SERVER_URL="http://localhost:8081/matchboxv3/fhir"
# Run directly
python fhir_server.py
# Test MCP protocol
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | python fhir_server.py
fhir_server.py@mcp.tool()curl http://localhost:8080/fhir/metadataMIT License
Run in your terminal:
claude mcp add smart-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.