Medplum MCP by usefulapi

Search and read patients, conditions, observations and prescriptions in Medplum.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
98%
Vollständigkeit des Schemas
97%
Qualität der Benennung
78%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (1)

  • LOWTool 'medplum_search_medication_requests' name length outside 3-30 rangein medplum_search_medication_requests

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~2,273Tokens (Tool-Definitionen)
~1.6 KBTypische Antwortgröße
Mittlere Auswirkung auf die Aufmerksamkeit (1.78% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "medplum": {
      "url": "https://medplum.usefulapi.io/mcp"
    }
  }
}

Remote-Endpunkte

https://medplum.usefulapi.io/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (10)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢medplum_search_patients(name, family, given, identifier, birthdate, ...)

Search Patient resources by name, identifier or birth date. Use this first to find a patient id. FHIR R4: GET /fhir/R4/Patient.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Any part of the name.",
      "type": "string",
      "maxLength": 200
    },
    "family": {
      "description": "Family (last) name.",
      "type": "string",
      "maxLength": 200
    },
    "given": {
      "description": "Given (first) name.",
      "type": "string",
      "maxLength": 200
    },
    "identifier": {
      "description": "Identifier value, e.g. a medical record number.",
      "type": "string",
      "maxLength": 200
    },
    "birthdate": {
      "description": "Birth date, e.g. 1980-05-14 or ge1980-01-01.",
      "type": "string",
      "pattern": "^(eq|ne|gt|lt|ge|le|sa|eb|ap)?[0-9][0-9:.+\\-TZ]{0,39}$"
    },
    "_count": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_get_patient(patient_id)

Read one Patient by id. FHIR R4: GET /fhir/R4/Patient/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "patient_id": {
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$",
      "description": "The Patient id (from medplum_search_patients)."
    }
  },
  "required": [
    "patient_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_search_encounters(patient_id, status, date, _count)

List Encounter resources (visits or admissions) for one patient. FHIR R4: GET /fhir/R4/Encounter?patient=Patient/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "patient_id": {
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$",
      "description": "The Patient id (from medplum_search_patients)."
    },
    "status": {
      "description": "Encounter status.",
      "type": "string",
      "enum": [
        "planned",
        "arrived",
        "triaged",
        "in-progress",
        "onleave",
        "finished",
        "cancelled",
        "entered-in-error",
        "unknown"
      ]
    },
    "date": {
      "description": "Encounter date, e.g. ge2026-01-01.",
      "type": "string",
      "pattern": "^(eq|ne|gt|lt|ge|le|sa|eb|ap)?[0-9][0-9:.+\\-TZ]{0,39}$"
    },
    "_count": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "patient_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_search_observations(patient_id, code, category, date, _count)

List Observation resources (lab results, vital signs) for one patient. FHIR R4: GET /fhir/R4/Observation?patient=Patient/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "patient_id": {
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$",
      "description": "The Patient id (from medplum_search_patients)."
    },
    "code": {
      "description": "Observation code, e.g. 8867-4 (LOINC) or http://loinc.org|8867-4.",
      "type": "string",
      "maxLength": 200
    },
    "category": {
      "description": "Category, e.g. vital-signs or laboratory.",
      "type": "string",
      "maxLength": 100
    },
    "date": {
      "description": "Observation date, e.g. ge2026-01-01.",
      "type": "string",
      "pattern": "^(eq|ne|gt|lt|ge|le|sa|eb|ap)?[0-9][0-9:.+\\-TZ]{0,39}$"
    },
    "_count": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "patient_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_search_conditions(patient_id, clinical_status, code, _count)

List Condition resources (diagnoses, problems) for one patient. FHIR R4: GET /fhir/R4/Condition?patient=Patient/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "patient_id": {
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$",
      "description": "The Patient id (from medplum_search_patients)."
    },
    "clinical_status": {
      "description": "Clinical status of the condition.",
      "type": "string",
      "enum": [
        "active",
        "recurrence",
        "relapse",
        "inactive",
        "remission",
        "resolved"
      ]
    },
    "code": {
      "description": "Condition code, e.g. a SNOMED CT code.",
      "type": "string",
      "maxLength": 200
    },
    "_count": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "patient_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_search_allergies(patient_id, _count)

List AllergyIntolerance resources for one patient. FHIR R4: GET /fhir/R4/AllergyIntolerance?patient=Patient/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "patient_id": {
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$",
      "description": "The Patient id (from medplum_search_patients)."
    },
    "_count": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "patient_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_search_medication_requests(patient_id, status, _count)

List MedicationRequest resources (prescriptions) for one patient. FHIR R4: GET /fhir/R4/MedicationRequest?patient=Patient/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "patient_id": {
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$",
      "description": "The Patient id (from medplum_search_patients)."
    },
    "status": {
      "description": "Prescription status.",
      "type": "string",
      "enum": [
        "active",
        "on-hold",
        "cancelled",
        "completed",
        "entered-in-error",
        "stopped",
        "draft",
        "unknown"
      ]
    },
    "_count": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "required": [
    "patient_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_search_appointments(patient_id, practitioner_id, status, date, _count)

List Appointment resources for one patient, or for one practitioner's schedule. FHIR R4: GET /fhir/R4/Appointment.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "patient_id": {
      "description": "Only appointments for this Patient id.",
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$"
    },
    "practitioner_id": {
      "description": "Only appointments with this Practitioner id.",
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$"
    },
    "status": {
      "description": "Appointment status.",
      "type": "string",
      "enum": [
        "proposed",
        "pending",
        "booked",
        "arrived",
        "fulfilled",
        "cancelled",
        "noshow",
        "entered-in-error",
        "checked-in",
        "waitlist"
      ]
    },
    "date": {
      "description": "Appointment date, e.g. ge2026-01-01.",
      "type": "string",
      "pattern": "^(eq|ne|gt|lt|ge|le|sa|eb|ap)?[0-9][0-9:.+\\-TZ]{0,39}$"
    },
    "_count": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_search_practitioners(name, identifier, _count)

Search Practitioner resources (clinicians) by name or identifier. FHIR R4: GET /fhir/R4/Practitioner.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Any part of the name.",
      "type": "string",
      "maxLength": 200
    },
    "identifier": {
      "description": "Identifier value.",
      "type": "string",
      "maxLength": 200
    },
    "_count": {
      "description": "Results per page, 1 to 100 (default 20).",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢medplum_get_resource(resource_type, id)

Read one resource by type and id. Allowed types: Patient, Encounter, Observation, Condition, AllergyIntolerance, MedicationRequest, Appointment, Practitioner, Organization, Location. FHIR R4: GET /fhir/R4/{ResourceType}/{id}.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "resource_type": {
      "type": "string",
      "enum": [
        "Patient",
        "Encounter",
        "Observation",
        "Condition",
        "AllergyIntolerance",
        "MedicationRequest",
        "Appointment",
        "Practitioner",
        "Organization",
        "Location"
      ],
      "description": "The FHIR resource type."
    },
    "id": {
      "type": "string",
      "pattern": "^(?=.*[A-Za-z0-9])[A-Za-z0-9\\-.]{1,64}$",
      "description": "The resource id."
    }
  },
  "required": [
    "resource_type",
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet10 Tools