Medplum MCP by usefulapi
Search and read patients, conditions, observations and prescriptions in Medplum.
사용해야 할까요
품질 및 안전성
발견 사항 (1)
- LOWmedplum_search_medication_requests에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"medplum": {
"url": "https://medplum.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://medplum.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (10)
🟢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.
입력 스키마
{
"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}.
입력 스키마
{
"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}.
입력 스키마
{
"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}.
입력 스키마
{
"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}.
입력 스키마
{
"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}.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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}.
입력 스키마
{
"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"
}커뮤니티
증거