FHIR Tools MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FHIR Tools MCP ServerGenerate a synthetic Observation fixture for a blood pressure reading"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FHIR Tools MCP Server
An MCP (Model Context Protocol) server exposing FHIR resource validation, synthetic test fixture generation, and HIPAA-safe logging review as tools an AI agent can call directly.
What it does
Three tools:
fhir_validate_resource— validates a FHIR resource JSON payload: checksresourceTypepresence,idformat, required fields for known resource types (Observation, Encounter, Condition, MedicationRequest), reference field format (ResourceType/id), and whetherCodingsystem URIs are recognized (LOINC, SNOMED CT, ICD-10, RxNorm) rather than placeholder/made-up values.fhir_generate_test_fixture— generates synthetic FHIR test data (Patient, Observation, Condition) for use in tests. All generated data is obviously fake (TEST-prefixed ids, placeholder names) — this tool never uses or produces real patient data.fhir_check_hipaa_safe_logging— reviews code for patterns that could leak PHI into application logs: logging full request/response bodies, logging clinical resource variables directly (vs. just their id), and exception handlers that log raw request context.
Related MCP server: Heavenly Health Protocol
Why an MCP server instead of just asking an LLM
FHIR schema rules (required fields per resource type, valid coding systems, reference formats) are precise and well-documented — the kind of thing that should be checked deterministically, not re-derived by an LLM from training data each time (which risks subtly wrong or outdated schema assumptions). Wrapping this as MCP tools means an agent gets a guaranteed-correct validation result and can iterate on a payload until it actually passes, rather than trusting a plausible-sounding but unverified answer.
Running it
pip install -r requirements.txt
python server.pyConnect it to Claude Code, Claude Desktop, or any MCP client via the client's MCP server config (stdio transport by default).
Example: generating a test fixture
Request: generate an Observation fixture for scenario "blood pressure reading"
Output:
# Scenario: blood pressure reading
{
"resourceType": "Observation",
"id": "TEST-4f9a1b2c",
"status": "final",
"code": {
"coding": [{"system": "http://loinc.org", "code": "85354-9", "display": "Blood pressure panel"}]
},
"subject": {"reference": "Patient/TEST-8e2d0a91"},
"effectiveDateTime": "2026-08-11",
"_note": "SYNTHETIC TEST DATA -- not a real observation"
}Tests
pytest -v13 tests covering validation (valid/invalid resources, malformed references, unknown coding systems), fixture generation, and logging safety review.
Limitations
Required-field checks cover a handful of common resource types, not the full FHIR resource catalog.
Coding system recognition is an allowlist of common systems (LOINC, SNOMED CT, ICD-10, RxNorm, etc.) — legitimate but less common systems will be flagged as "unrecognized" and need manual confirmation.
Logging safety checks are pattern-based static analysis, not a full data-flow analysis — treat findings as a starting point for review, not a compliance guarantee.
Possible extensions
Expand required-field rules to cover more FHIR resource types
Add a tool that checks a resource against a specific FHIR Implementation Guide / profile, not just base FHIR structure
Add a tool that redacts PHI fields from a resource for safe logging, rather than just flagging unsafe patterns
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Tamper-evident proof creation and verification for AI agents via MCP, A2A, and REST.
Public agentic AI doctrine tools plus authenticated architecture, design, and spec validators.
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI agents to programmatically inspect, test, and validate other MCP servers by exposing MCP Workbench capabilities as structured tools. It supports automated test spec generation, execution, and detailed failure analysis to ensure server reliability.410Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to securely access, query, and mutate normalized user-controlled health data (e.g., from Apple Health or Supabase) through a bounded set of MCP tools, with optional OAuth and sandboxed deployment.MIT
- AlicenseAqualityBmaintenanceA Claude-compatible MCP server that exposes health-domain tools over 100% synthetic data, built with security and compliance in mind.4MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to verify medical-record claims against synthetic FHIR evidence using a deterministic, non-AI verifier. Provides MCP tools for evidence retrieval, claim verification, and benchmark evaluation without requiring real patient data.Apache 2.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/charan-pagolu/fhir-tools-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server