About K01 Synthetic Health Data
K01 MCP Server provides synthetic health data tools for AI agents and LLM-powered workflows. It generates and queries FHIR R4/R5 data with differential privacy; the server does not handle real patient records.
Key features
- 01Generate synthetic patient cohorts
- 02Search patients with healthcare filters
- 03Retrieve patient, medication, and condition records
- 04Compare patient data across FHIR R4 and R5
- 05Use deterministic seeds for reproducible data
Use cases
- 01Create synthetic cohorts for development and testing
- 02Query virtual patient records by clinical criteria
- 03Compare FHIR R4 and R5 representations
MCP support
The MCP server exposes tools to generate synthetic cohorts, search patients, retrieve records, and compare FHIR versions. Clients connect to the hosted server using a Bearer token.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.k01.is/mcpclaude mcp add --transport http is-k01-synthetic-health-data https://mcp.k01.is/mcp{"mcpServers":{"is-k01-synthetic-health-data":{"type":"http","url":"https://mcp.k01.is/mcp"}}}Open in Cursor{"servers":{"is-k01-synthetic-health-data":{"type":"http","url":"https://mcp.k01.is/mcp"}}}Open in VS Code{"mcpServers":{"is-k01-synthetic-health-data":{"type":"http","url":"https://mcp.k01.is/mcp"}}}{"mcpServers":{"is-k01-synthetic-health-data":{"serverUrl":"https://mcp.k01.is/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.k01.is/mcpAuth requiredTools
Details
From the project READMEK01 MCP Server
Generate and query clinically realistic synthetic health data directly from your AI workflow.
K01's MCP server gives AI agents and LLM-powered tools access to privacy-preserving synthetic health data generation. Generate FHIR-compliant patient cohorts, query structured EHR data, and compare across FHIR versions — all with built-in differential privacy. The server never handles real patient records: it serves synthetic data from generators that were trained on real records, under differential privacy, inside a separate controlled environment.
This repository contains documentation and configuration for the K01 MCP server. The server implementation is proprietary and runs on K01 infrastructure.
Available Tools
| Tool | Description | Key Parameters |
|---|---|---|
generate_synthetic_cohort | Generate synthetic patient cohorts with demographic and clinical constraints | count, age_min/age_max, gender, condition (ICD-10), seed, locale |
search_patients | Search a virtual patient database with advanced healthcare filters | gender, birthdate, numberOfMedicinesFrom/To, conditionTypes, locale |
get_patient_record | Retrieve a complete patient record with medication and condition summaries | patient_id, fhir_version |
get_patient_medications | Get detailed medication records with ATC codes and therapeutic indications | patient_id, seed, fhir_version |
get_patient_conditions | Retrieve patient conditions with ICD-10 codes and localized names | patient_id, seed, fhir_version |
compare_fhir_versions | Compare the same patient data across FHIR R4 and R5 | patient_id, resource_type |
All tools support both FHIR R4 and R5. See docs/tools.md for full parameter documentation.
Quick Start
Claude Desktop
Add to your Claude Desktop configuration (Settings > MCP Servers):
{
"mcpServers": {
"k01": {
"url": "https://mcp.k01.is/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Cursor
Add to your Cursor MCP configuration (.cursor/mcp.json):
{
"mcpServers": {
"k01": {
"url": "https://mcp.k01.is/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Restart the application after adding the configuration. The K01 tools will appear in the tool list.
Authentication
The K01 MCP server uses Bearer token authentication. Include your API key in the Authorization header.
To get an API key, contact K01 at k01.is. Self-service key provisioning is coming soon.
See docs/authentication.md for details.
Examples
Generate a diabetic cohort
"Generate 100 patients aged 40-65 with Type 2 diabetes"
The generate_synthetic_cohort tool creates a FHIR Bundle with Patient, Condition, MedicationStatement, Procedure, and Observation resources:
generate_synthetic_cohort(count=100, age_min=40, age_max=65, condition="E11.9", seed=42)
Search for complex patients
"Find patients with 3+ medications and chronic conditions"
search_patients(numberOfMedicinesFrom=3, conditionTypes="chronic", _count=20)
Compare FHIR versions
"How do this patient's medications look in R4 vs R5?"
compare_fhir_versions(patient_id="0101302989", resource_type="Medication")
See docs/examples.md for more workflows.
Privacy and Security
All data this server returns is fully synthetic. No real patient data passes through the server, is stored by it or is referenced by it.
- Differential privacy — noise injection with configurable epsilon values ensures generated distributions cannot be reverse-engineered to identify real individuals
- Real data stays behind the firewall — the generators are trained on real records under differential privacy inside a separate controlled environment; only the trained generators, never the records, are reachable from this server
- FHIR-compliant output — all resources conform to HL7 FHIR R4/R5 specifications, making them safe drop-in replacements for real data in development and testing
- Deterministic seeding — use seeds for reproducible results without persisting any patient data server-side
Links
License
This repository (documentation, configuration, and examples) is licensed under MIT. The K01 server implementation is proprietary.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.