langcare-mcp-fhir — Claude Code MCP server: what it does, setup
Connects AI coding assistants directly to EMR backends using the FHIR R4 standard. Useful for reading patient charts or creating observations in clinical databases.
claude mcp add langcare-mcp-fhir -- npx -y @langcare/langcare-mcp-fhirWhat langcare-mcp-fhir does
This Go-powered proxy links MCP clients to healthcare systems such as Epic, Cerner, OpenEMR, or GCP Healthcare API. It runs entirely stateless without an internal database. Incoming agent calls translate directly into standard FHIR queries.
The server provides four core tools: fhir_read, fhir_search, fhir_create, and fhir_update. These generic actions handle any resource type, from Patient records to clinical Observation entries. Security handles TLS 1.3 transport, automated PHI scrubbing in logs, and SMART on FHIR authorization using RS384 signatures.
Without a valid YAML configuration pointing to your EMR endpoint, the server will fail to route requests. Store all authentication secrets in environment variables rather than configuration files.
What it helps with
- query patient entries by demographic criteria using
fhir_search - retrieve specific clinical records via
fhir_readby resource ID - push new observation data into an EMR through
fhir_create - modify existing patient attributes using
fhir_update
Example prompts for the agent
- Search for patients named Smith born after 1990-01-01
- Read the FHIR observation resource with ID example-123
- Create a new final Observation entry linked to Patient/123
How to install langcare-mcp-fhir
Platform CLI
claude mcp add langcare-mcp-fhir -- npx -y @langcare/langcare-mcp-fhirPlatform CLI
codex mcp add langcare-mcp-fhir -- npx -y @langcare/langcare-mcp-fhirConfig file
{
"mcpServers": {
"langcare-mcp-fhir": {
"command": "npx",
"args": [
"-y",
"@langcare/langcare-mcp-fhir"
]
}
}
}Config file
{
"servers": {
"langcare-mcp-fhir": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@langcare/langcare-mcp-fhir"
]
}
}
}Platform CLI
gemini mcp add langcare-mcp-fhir npx -y @langcare/langcare-mcp-fhirStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about langcare-mcp-fhir
How to install langcare-mcp-fhir in Claude Code?
Register it by running claude mcp add langcare-mcp-fhir -- npx -y @langcare/langcare-mcp-fhir. You must also pass your YAML configuration path using the -config flag.
Which EMR backends are supported?
It integrates with Epic, Cerner, OpenEMR, GCP Healthcare API, or any standard FHIR R4 endpoint.
Does the proxy retain protected health information?
It operates strictly in memory without persistent storage. Log outputs scrub identifiable health details automatically by default.