Repository avatar
AI Tools
v0.4.1
active

fhir

com.anpheros/fhir

FHIR R4 health records for AI: people connect their own record with consent; free FHIR sandbox.

Documentation

Anpheros FHIR MCP server: health data for AI agents

A hosted Model Context Protocol (MCP) server for HL7 FHIR R4 health data. People connect Claude (and ChatGPT, for notes) to their own Anpheros health record, with consent per section and per duration. Developers connect Claude Code, Cursor or VS Code to a free FHIR sandbox with 30 synthetic patients, and let the agent search records, build AI-ready patient context, read International Patient Summaries, validate FHIR resources and import lab reports.

  • Endpoint: https://platform.anpheros.com/mcp (streamable HTTP)
  • Official MCP Registry: com.anpheros/fhir
  • Auth: OAuth with a consent screen (a person's own record), or a sandbox API key (X-API-Key or Authorization: Bearer) for developers
  • Docs-only server, no account needed: https://platform.anpheros.com/mcp/docs

The server code runs in the Anpheros platform; this repository holds its registry entry (server.json), client configurations and documentation.

Quick start in 2 minutes

  1. Get a free sandbox key on the dashboard → Get a sandbox key (sk_test_…).
  2. Add the server to your client (pick one below).
  3. Ask: "List my sandbox patients, then summarise the lab results of the first one."

Claude Code

claude mcp add --transport http anpheros-fhir https://platform.anpheros.com/mcp --header "X-API-Key: sk_test_…"

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "anpheros-fhir": {
      "url": "https://platform.anpheros.com/mcp",
      "headers": { "X-API-Key": "sk_test_…" }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "anpheros-fhir": {
      "type": "http",
      "url": "https://platform.anpheros.com/mcp",
      "headers": { "X-API-Key": "${input:anpheros-key}" }
    }
  },
  "inputs": [{ "id": "anpheros-key", "type": "promptString", "description": "Anpheros sandbox key (sk_test_…)", "password": true }]
}

Claude.ai or ChatGPT (your own record)

Claude: Settings → Connectors → Add custom connector → https://platform.anpheros.com/mcp. You sign in with your Anpheros account and choose what Claude may read (nothing is pre-ticked) and for how long (1, 30, 90 or 365 days). ChatGPT: add the same URL as a connector; for now it can only note symptoms and measurements you tell it, never read your record. Every note is a proposal you approve in the Anpheros app. You see every read in Connections and can stop access at any time. Adults only, own record only.

Ready-made files: configs/.

Tools

ToolWhat it does
list_patientsthe patients this sandbox project can see
get_patient_contextan AI-ready, provenance-labelled summary of a patient within a token budget
get_patient_summarythe International Patient Summary (IPS, FHIR $summary)
get_timelinethe record in date order across resource types
get_health_patternswhat changed and what recurs (trends, deviations), each with evidence and limitations; not diagnoses
get_pattern_evidenceevery resource behind one finding
get_seriesone measurement over time by LOINC code
compare_periodswhether a measurement differed between two periods
search_fhirstandard FHIR R4 search
read_fhir_resourceone FHIR resource, optionally a past version
get_provenancewho wrote a resource, when and from which system
lookup_codeLOINC (labs, vitals) and ATC (medicines) codes
search_health_termssymptoms, conditions and treatments in 20 languages with ICD-10 / ICD-11 codes
get_health_termone catalog entry with codes and names
validate_fhir_resourcevalidate a FHIR R4 resource without saving it
create_fhir_resourcecreate a FHIR resource in the sandbox
create_patientcreate a made-up test patient
import_lab_reporta CSV or HL7 v2 lab report → laboratory Observations
log_symptom, log_measurement, add_notewith a person's consent: propose an entry to their record, added only when they approve it
sandbox_statusquotas and state of your sandbox
reset_sandboxrestore the 30 synthetic patients

Prompts: summarize_for_doctor, labs_csv_to_fhir, build_integration.

Safety

  • Sandbox keys see synthetic patients only; production keys are refused by the MCP endpoint.
  • With OAuth, an assistant reaches one adult's own record only after that person ticks what it may read and agrees explicitly; every read appears in their Connections and they can stop it at any time.
  • Every write records Provenance (urn:anpheros:mcp), so AI-written data is never mixed up with clinical facts.
  • The server returns records and patterns, not diagnoses or treatment advice.
  • search_health_terms and get_health_term: ICD-10 and ICD-11 codes and titles come from the classifications, unchanged; show the entry's attribution to the user. General information, not a diagnosis.
  • AI here supports people and their clinicians; diagnosis and treatment remain the responsibility of health professionals.

Guides

MCP server guide · AI agents and medical data · AI agent access to medical records · FHIR sandbox

Coding agents: anpheros/agent-skills adds an Agent Skill, a Claude Code plugin, Cursor rules and AGENTS.md.

Apache-2.0 · anpheros.com

No installation packages available.