# tebra [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/jamesrosing/tebra-mcp-server  
**GitHub Stars:** 1  
**npm Downloads (last month):** 760  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/tebra

## Description
MCP server for Tebra/Kareo practice management — patients, billing, scheduling, FHIR (45 tools)

## Tools
Capabilities this server exposes over MCP:

- **tebra_search_patients** — Search for patients in Tebra with flexible filters. Use query/fullName for name search, or combine specific filters like firstName, lastName, DOB range, insurance company, practice, etc. Returns demographics, MRN, contact info, and primary/secondary insurance. Note: MRN and external ID are not server-side filters — use tebra_get_patient for external ID lookup.
- **tebra_get_patient** — Get a full patient record from Tebra by patient ID, or by external system ID (optionally scoped to an external vendor). Includes demographics, contact info, cases, insurance policies, and authorizations. Insurance policy and group numbers are omitted unless named in `fields`.
- **tebra_get_encounter** — Get encounter details from Tebra by encounter ID, including patient, providers, status, service dates, place of service, and service line IDs.
- **tebra_create_encounter** — Create a new encounter (superbill) in Tebra with diagnoses and procedures. Each procedure becomes a service line carrying up to 4 ICD-10 diagnosis codes (from the encounter-level diagnoses array, or per-procedure diagnosisCodes). practiceName or practiceId is strongly recommended — Tebra requires the practice on most accounts. Returns the created encounter ID.
- **tebra_get_patient_authorizations** — Get all insurance authorizations for a Tebra patient across all cases and policies. Returns auth number, approved/used/remaining visits, start/end dates, computed status (active/exhausted/expired/pending), payer contact info, and an expiring-soon warning.
- **tebra_get_appointments** — Get appointments from Tebra within a date range. Filter by resource (provider name), patient, confirmation status, service location, reason, type, and more. To filter by provider, use resourceName with the provider full name (the WSDL has no provider ID filter).
- **tebra_check_insurance_eligibility** — Check insurance eligibility for a Tebra patient. Examines on-file insurance policies and authorization history. Note: this is an approximation based on on-file data, not a real-time payer eligibility check.
- **tebra_get_charges** — Get charges from Tebra with flexible filters: date range, patient name, provider, procedure/diagnosis codes, billing status, encounter status, and more. Returns charge details with payer, adjudication, adjustment reasons, amounts, and balances. Note: posting-date range is limited to 60 days server-side.
- **tebra_get_procedure_codes** — Get procedure codes configured in the Tebra practice. Optionally filter by CPT code, active status, or customer-specific codes. Returns codes with official names, descriptions, and default units.
- **tebra_get_providers** — Get providers with IDs, names, specialties, NPI, and active status. Optionally filter by full name, practice, department, or provider type. Used to resolve provider names to IDs for appointments and encounters.
- **tebra_get_service_locations** — Get all service locations (offices/facilities). Required for creating appointments and encounters. Optionally filter by practice or location ID.
- **tebra_get_appointment_reasons** — Get all appointment reasons configured in the practice. Returns reason IDs, names, default durations, and color codes. Needed to create appointments with a reason.
- **tebra_create_appointment** — Create a new patient appointment in Tebra. Requires patient, provider, service location, start time, and either endDate or duration (minutes). Optionally set reason, mode (InOffice/Telehealth), status, and notes.
- **tebra_update_appointment** — Update an existing appointment in Tebra. Only provided fields will be changed. When changing startDate, also provide endDate or duration. To only change the status, prefer tebra_update_appointment_status.
- **tebra_update_appointment_status** — Update only the status of an appointment (e.g. Confirmed, CheckedIn, NoShow, Cancelled). Lighter than tebra_update_appointment — use for check-in/check-out workflows.
- **tebra_delete_appointment** — Delete an appointment from Tebra by appointment ID. This is irreversible — to keep history, prefer tebra_update_appointment_status with Cancelled.
- **tebra_get_appointment_detail** — Get full detail for a single appointment by ID, including recurrence rules, group data, and all resource slots.
- **tebra_create_patient** — Create a new patient in Tebra with demographics, address, insurance, and guarantor information. The practice is required by Tebra; if practiceName/practiceId are omitted, the account's first practice is used automatically.
- **tebra_update_patient** — Update an existing patient in Tebra. Only provided fields will be changed. The practice is required by Tebra; if practiceName/practiceId are omitted, the account's first practice is used automatically.
- **tebra_update_encounter_status** — Update the status of an encounter in Tebra. Moves encounters through the billing workflow: Draft → Submitted → Approved (triggers billing) or Rejected (returns to Draft); Unpayable closes it out. Note: Tebra's UI shows Submitted encounters under 'Review'.
- **tebra_get_payments** — Get payments from Tebra with optional post-date range, payer, batch, appointment, and reference-number filters. Returns payment details with amounts, methods, and payer info. Note: the Tebra WSDL has no patient ID filter for payments.
- **tebra_create_payment** — Create a new patient payment in Tebra. Supports Cash, Check, CreditCard, ElectronicFundsTransfer, and Other payment methods. Optionally link to an appointment and practice. Not retried after a timeout or server error (Tebra has no idempotency key, so a re-send can double-charge); if the call fails with an unknown outcome, check tebra_get_payments before resubmitting. Supply referenceNumber so any duplicate is detectable.
- **tebra_get_transactions** — Get financial transactions from Tebra with optional date range, type, payer, procedure code, and practice filters. Returns transaction details with patient, claim, and insurance info.
- **tebra_get_practices** — Get all practices associated with the Tebra account. Returns practice IDs, names, NPI, tax ID, and contact info.
- **tebra_create_document** — Upload a document to a patient record in Tebra via base64 content (PDF, JPG, PNG, TIFF — type inferred from the file extension). documentLabel must be a Tebra DocumentLabel enum value (CamelCase, no spaces), e.g.: MedicalReport, PatientAuthorizationOrReferral, PatientCorrespondence, PatientDemographics, PatientInsuranceCard, PatientDriversLicense, Superbill, ExplanationofBenefits, InsuranceCorrespondence, OperativeReport, ... Use 'Other' when unsure.
- **tebra_delete_document** — Delete a document from Tebra by document ID. This is irreversible.
- **tebra_get_all_patients** — Get all patients in bulk with pagination. Returns a page of patients and a continuation key for the next page. Use startKey from the previous response to get the next batch. By default each row is a roster entry (patientId, firstName, lastName, dateOfBirth, mrn, active); pass `fields` to request contact, insurance, or practice columns.
- **tebra_update_patient_external_id** — Set or update a patient external ID in Tebra, linking the patient to an external system. Register the vendor first with tebra_register_external_vendor and pass its numeric ID as externalVendorId.
- **tebra_register_external_vendor** — Register a new external vendor in Tebra for external ID mapping. Returns the vendor ID to use with tebra_update_patient_external_id.
- **tebra_get_external_vendors** — Get all registered external vendors in Tebra with their IDs.
- **tebra_get_throttles** — Get the per-endpoint API throttle intervals (milliseconds between calls) that Tebra enforces for this account. Useful for monitoring API usage limits.
- **tebra_validate_connection** — Validate the Tebra API credentials by retrieving the customer ID and authorization flag. Use as a health check.
- **tebra_set_primary_patient_case** — Promote an existing patient case to be the primary case, by case ID. Find case IDs via tebra_get_patient (cases[].caseId). Note: this cannot rename a case or change its payer scenario.
- **tebra_create_appointment_reason** — Create a new appointment reason in Tebra with name and default duration. Color is a Tebra color code number (not hex).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "tebra": {
    "command": "npx",
    "args": ["-y","tebra-mcp-server"],
    "env": {
      "TEBRA_SOAP_USER": "",
      "TEBRA_SOAP_PASSWORD": "",
      "TEBRA_CUSTOMER_KEY": ""
    }
  }
}
```

**Requires environment variables:** `TEBRA_SOAP_USER`, `TEBRA_SOAP_PASSWORD`, `TEBRA_CUSTOMER_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the tebra MCP server does

The tebra MCP server connects MCP-compatible agents to Tebra, formerly Kareo, a practice-management system. It exposes operations for patient records, appointments, encounters, charges, payments, authorizations, insurance eligibility, practice configuration, documents, transactions, connection checks, and API throttling. The repository describes 34 SOAP tools and 13 optional FHIR clinical tools.

Patient tools support filtered searches, full-record retrieval, registration, demographic updates, and paginated bulk retrieval. Scheduling tools can search appointments, inspect details, create or reschedule visits, change appointment status, delete appointments, and manage appointment reasons. Billing workflows cover encounters, service lines, charges, payments, and encounter status transitions. Other tools expose providers, locations, practices, procedure codes, patient authorizations, chart documents, and financial transaction data.

## How it works

Core requests use Tebra’s SOAP API. Request bodies are built from the live Tebra WSDL contract, including the required member names and sequence order. The server validates connectivity and credentials through a dedicated health-check tool, while another tool reports current throttling and remaining quota.

FHIR access is separate and optional. When configured, the server uses OAuth2 client credentials and caches tokens, refreshing them shortly before expiration. It supports SMART Backend Services authentication with a private key JWT or a legacy client-secret flow. A failed token request may indicate that the practice or backend application has not yet been activated by Tebra Customer Care, rather than an incorrect credential.

## Setup and configuration

Install and run the package with Node.js 18 or newer:

```bash
npx tebra-mcp-server
```

SOAP access requires `TEBRA_SOAP_USER`, `TEBRA_SOAP_PASSWORD`, and `TEBRA_CUSTOMER_KEY`. `TEBRA_SOAP_ENDPOINT` can override the default endpoint for testing. Add the command and environment variables to the MCP configuration used by Claude Desktop, Claude Code, Cursor, or VS Code.

FHIR tools require a Tebra appSphere registration and `TEBRA_FHIR_CLIENT_ID`. Use `TEBRA_FHIR_PRIVATE_KEY_PATH` with `TEBRA_FHIR_KID` for a JWKS-based private-key registration, or provide `TEBRA_FHIR_CLIENT_SECRET` for the client-secret flow. Base URL, token URL, and scope variables are available when the defaults do not match the registration.

## Tools and capabilities

The tebra MCP server supports these practical workflows:

- Find patients using name, date-of-birth ranges, insurance, practice, and other filters.
- Read and update patient demographics, insurance, guarantor information, and authorizations.
- Search, create, reschedule, cancel, and status-update appointments.
- Create encounters with diagnoses and procedures, then move them through supported workflow states.
- Search charges and payments, post patient-account payments, and retrieve transaction data.
- Check eligibility using insurance information already on file.
- Upload or remove PDF and image documents from a patient chart.
- Inspect providers, service locations, practices, procedure codes, connection health, and rate limits.

## Limitations and notes

Valid Tebra credentials are required; the server does not provide access without them. FHIR functionality also depends on optional credentials and Tebra activation. SOAP and FHIR settings may expose protected health information in tool results. The repository notes that practices sending those results to Claude need a Claude plan covered by an Anthropic Business Associate Agreement; consumer Claude plans are not covered.

The project is independent and is not affiliated with, endorsed by, or supported by Tebra Technologies. The tebra MCP server can perform write operations such as creating patients, appointments, encounters, payments, and documents, so deployments should apply appropriate access controls and operational review.

_Full upstream README: https://allmcps.com/mcp/tebra/readme_

