Medplum MCP by usefulapi

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

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
98%
Integridad del esquema
97%
Calidad de los nombres
78%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (1)

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

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~2,273Tokens (definiciones de herramientas)
~1.6 KBTamaño de respuesta típico
Impacto moderado en la atención (1.78% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

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

Puntos de conexión remotos

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

Qué puede hacer

Inventario de herramientas

Herramientas (10)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢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.

Esquema de entrada

{
  "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}.

Esquema de entrada

{
  "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}.

Esquema de entrada

{
  "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}.

Esquema de entrada

{
  "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}.

Esquema de entrada

{
  "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}.

Esquema de entrada

{
  "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}.

Esquema de entrada

{
  "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.

Esquema de entrada

{
  "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.

Esquema de entrada

{
  "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}.

Esquema de entrada

{
  "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"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada10 herramientas