§ · Model Context Protocol

SimpleIDGen MCP Server

Plug synthetic US person & patient data straight into your AI agent. Add one server URL to Claude Code, Claude.ai, Cursor, or any MCP client and ask for fake people, diabetic cohorts, or year-by-year patient timelines — returned as CSV, JSONL, or FHIR R4, right in the conversation. Entirely synthetic. No real PII.

§ · Connect

The server speaks MCP over Streamable HTTP at https://api.simpleidgen.com/mcp. Authenticate with an API key as a Bearer token. Create one under API keys in your profile; each key works for 90 days, and you can have up to 10. Treat a key like a password: anyone who has it can spend your daily quota, so keep it out of shared repos and public agent configs. If one leaks, delete it in your profile; it stops working immediately. Create a free account →

# Claude Code
claude mcp add --transport http simpleidgen https://api.simpleidgen.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

# Claude.ai / other clients — add a custom connector:
#   URL:    https://api.simpleidgen.com/mcp
#   Header: Authorization: Bearer YOUR_API_KEY

Then just ask, in plain English — the agent picks the right tool and format:

  • "Generate 20 fake diabetic patients as FHIR."
  • "Give me a 15-year T2DM timeline for 5 patients as CSV."
  • "Make 50 synthetic US adults with their BMI, blood pressure, and A1c."
  • "Create a stage-4 diabetes cohort of 30 patients with seed 42 so it's reproducible."
  • "What attributes and formats does this data model support?" — runs describe_schema
The API keys table: three named keys with their first characters, creation date, expiry date and last use
API keys. Up to 10 keys, each valid for 90 days. After creation only the first characters are shown.

§ · More clients

Any MCP-capable client works — point it at the same URL and pass your API key as a Bearer token. The config shape is identical across clients:

# Cursor — ~/.cursor/mcp.json  (or .cursor/mcp.json inside a project)
{
  "mcpServers": {
    "simpleidgen": {
      "url": "https://api.simpleidgen.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}
# VS Code — .vscode/mcp.json
{
  "servers": {
    "simpleidgen": {
      "type": "http",
      "url": "https://api.simpleidgen.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Windsurf, Zed, and most other clients use the same mcpServers block as Cursor. Swap YOUR_API_KEY for a key from API keys in your profile.

§ · Call it over plain HTTP (JSON-RPC 2.0)

You don't need an MCP client to try it. The server is a stateless JSON-RPC 2.0 endpoint over Streamable HTTP (protocol revision 2025-06-18) — no SSE, no session to hold open. Three methods: initialize, tools/list, and tools/call.

1 · Handshake

curl -sS https://api.simpleidgen.com/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'

2 · List the tools

curl -sS https://api.simpleidgen.com/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

3 · Generate 20 people as CSV — reproducible via seed

curl -sS https://api.simpleidgen.com/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{
        "jsonrpc": "2.0", "id": 3, "method": "tools/call",
        "params": {
          "name": "generate_people",
          "arguments": { "count": 20, "format": "csv", "seed": 418293 }
        }
      }'

4 · A stage-4 T2DM cohort as FHIR R4

curl -sS https://api.simpleidgen.com/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{
        "jsonrpc": "2.0", "id": 4, "method": "tools/call",
        "params": {
          "name": "generate_t2dm_cohort",
          "arguments": { "count": 15, "stage": 4, "format": "fhir" }
        }
      }'

5 · 15-year timelines for 5 patients — long-format JSONL, one row per person-year

curl -sS https://api.simpleidgen.com/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{
        "jsonrpc": "2.0", "id": 5, "method": "tools/call",
        "params": {
          "name": "generate_timeline",
          "arguments": { "count": 5, "horizonYears": 15, "format": "jsonl" }
        }
      }'

Response shape — every tool returns the records as MCP content text, ready to save or parse:

{
  "jsonrpc": "2.0", "id": 3,
  "result": {
    "content": [
      { "type": "text",
        "text": "id,given_name,family_name,age,sex_at_birth,bmi,a1c_value,...\n01JABC...,Elizabeth,Robinson,31,female,25.9,5.4,..." }
    ]
  }
}

A missing or invalid bearer token returns a JSON-RPC error; an over-quota call returns an isError result. describe_schema is free and takes no arguments.

§ · Tools

ToolWhat it doesKey args
generate_peopleSynthetic US adults — demographics, geography, finances, behavior, and calibrated health attributescount (≤100), seed, format, includeAnalytics
generate_t2dm_cohortType-2-diabetes patient cohort with staging fields; optional severity dialcount (≤100), stage 1–5, seed, format, includeAnalytics
generate_timelineLongitudinal year-by-year T2DM histories — A1c/eGFR/BMI/BP drift, dated complications, treatment escalation, mortalitycount (≤25), horizonYears, seed, format, includeAnalytics
describe_schemaThe data model — attributes, formats, and where to go for bulk jobs (free, no quota)—

format = jsonl (default) · csv · fhir (US-Core-aligned FHIR R4). Same seed ⇒ identical records. includeAnalytics: true appends a compact analytics summary: integrity checks, comparison with US figures, numeric summaries with units, and the strongest field relationships.

§ · Auth & limits

The MCP tools meter against the same free tier as the API — 50,000 rows per UTC day per account. Inline results are capped at 100 people (25 for timelines) to stay chat-sized; for larger or fully-async jobs use the REST API (OpenAPI spec). Your API key is the bearer credential: keep it private, delete it from your profile if it leaks, and create a new one before it expires (90 days). Usage shows in your profile history.