# Eka EMR

Healthcare MCP server for Eka.care EMR. Connect your AI agent to manage patients, appointments, and doctor/clinic profiles.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add eka-care/emr

# Browse available tools
npx -y @smithery/cli@latest tool list eka-care/emr

# Get full schema for a tool
npx -y @smithery/cli@latest tool get eka-care/emr search_patients

# Call a tool
npx -y @smithery/cli@latest tool call eka-care/emr search_patients '{}'
```

## Direct MCP Connection

Endpoint: `https://emr--eka-care.run.tools`

## Tools (17)

- `search_patients` — Search for patients within the current workspace using a text prefix.
- `get_comprehensive_patient_profile` — RECOMMENDED: Get comprehensive patient profile including detailed appointment history with enriched doctor and clinic i…
- `add_patient` — Creates a new patient profile and returns a unique patient identifier.
- `list_patients` — List all patients with pagination. Returns full patient info including DOB and gender.
- `update_patient` — Updates an existing patient profile with new or corrected information.
- `archive_patient` — Archives a patient profile.
- `get_patient_by_mobile` — Find patient by exact mobile number.
- `get_appointment_slots` — Retrieve available appointment slots for a doctor. Supports multi-day ranges in a SINGLE call.
- `get_available_dates` — Get available appointment dates for a doctor at a clinic.
- `book_appointment` — Smart appointment booking with automatic availability checking and alternate slot suggestions.
- `show_appointments_basic` — Retrieve a list of appointments with basic data containing entity IDs only, without patient, doctor, or clinic details.
- `complete_appointment` — Mark an appointment as completed.
- `cancel_appointment` — Cancel an appointment.
- `get_business_entities` — Retrieve all doctors and clinics associated with the business workspace.
- `get_doctor_profile_basic` — Retrieve basic profile information for a doctor without clinic or appointment context.
- `get_clinic_details_basic` — Retrieve basic profile information for a clinic without doctor or appointment context.
- `doctor_availability_elicitation` — Check doctor availability for appointment booking.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get eka-care/emr <tool-name>
```
