# kushaim/practice-fusion-mcp [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/kushaim/practice-fusion-mcp  
**GitHub Stars:** 4  
**npm Downloads (last month):** 33  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kushaim-practice-fusion-mcp

## Description
FHIR-first, read-only MCP server for the Practice Fusion EHR. Search patients and review appointments, conditions, medications, and lab results. SMART backend-services auth, audit-logged, HIPAA-conscious.

## Tools
Capabilities this server exposes over MCP:

- **practicefusion_search_patients** — Find patients by name / birthdate / gender / identifier
- **practicefusion_get_patient** — One patient's demographics by id
- **practicefusion_search_practitioners** — Find providers by name / identifier
- **practicefusion_get_conditions** — A patient's problems / diagnoses
- **practicefusion_get_medications** — A patient's medication requests
- **practicefusion_get_lab_results** — A patient's laboratory observations
- **practicefusion_get_vitals** — A patient's vital-sign observations
- **practicefusion_get_allergies** — A patient's allergies & intolerances
- **practicefusion_get_immunizations** — A patient's immunizations
- **practicefusion_get_appointments** — Appointments by patient / status / date
- **practicefusion_get_encounters** — A patient's clinical encounters (visits)
- **practicefusion_get_documents** — A patient's document references (note metadata)
- **practicefusion_get_coverage** — A patient's insurance Coverage (status, payer, period)
- **practicefusion_get_everything** — Pre-visit summary for a single patient — per-type counts plus a bounded sample of raw resources (FHIR `$everything` with a per-type-search fallback)
- **practicefusion_get_procedures** — A patient's procedures
- **practicefusion_get_diagnostic_reports** — A patient's diagnostic (lab / imaging) reports
- **practicefusion_get_care_plans** — A patient's care plans
- **practicefusion_get_goals** — A patient's care goals

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

```json
"mcpServers": {
  "practice-fusion-mcp": {
    "command": "npx",
    "args": ["-y","practice-fusion-mcp"]
  }
}
```

## Documentation

## What kushaim/practice-fusion-mcp MCP server does

kushaim/practice-fusion-mcp MCP server exposes Practice Fusion EHR data through read-only MCP tools. It covers patient and practitioner lookup, appointments, encounters, conditions, medications, laboratory and diagnostic data, vitals, allergies, immunizations, documents, insurance coverage, procedures, care plans, and goals.

The server also provides a patient-level everything operation. It returns counts by resource type and a limited sample of raw FHIR resources, using FHIR `$everything` when available and searching individual resource types as a fallback. A patient summary resource is available at `practicefusion://patient/{patientId}/summary`.

Two prompts are included: `pre_visit_summary`, which guides an assistant through a short visit summary, and `medication_review`, which compares medications with problems and allergies for decision support. The medication prompt is not a prescribing workflow.

## How it works

MCP clients communicate with kushaim/practice-fusion-mcp MCP server over standard input/output. Tool names use the `practicefusion_` prefix. List-style operations support an optional result limit, with a default of 50 and a maximum of 200, and report the result count and whether more records exist.

Requests pass through a FHIR client that unwraps bundles, handles pagination, shapes results, and returns sanitized errors. Access tokens are obtained through SMART backend-services authentication: the server creates a signed JWT assertion, exchanges it at Practice Fusion's token endpoint using OAuth2 client credentials, and caches the resulting short-lived token.

Tool calls and resource reads are audit-logged. The logger writes to standard error and can also write to a file; long free-text parameters are redacted before logging. The server is read-only and does not provide write access, scheduling, or patient creation.

## Setup and configuration

The repository requires Node.js 22 or newer. The published package can be started with `npx -y practice-fusion-mcp`. A no-account demo is available with `npx -y practice-fusion-mcp --demo`; it uses synthetic in-memory fixtures, makes no network requests, and does not handle PHI. The same mode can be enabled for an MCP client with the `--demo` argument or `PF_DEMO=1`.

Production use requires access to Practice Fusion's Open FHIR account and the credentials needed for its SMART backend-services flow.

## Tools and capabilities

The available tools include:

- Patient search and demographic lookup, plus practitioner search.
- Conditions, medication requests, lab results, vitals, allergies, and immunizations.
- Appointments filtered by patient, status, or date; encounters; documents; and insurance coverage.
- Procedures, diagnostic reports, care plans, goals, and the bounded everything summary.

Responses use structured content and typed output schemas, allowing an MCP client to chain a patient search into subsequent record queries.

## Limitations and notes

kushaim/practice-fusion-mcp MCP server is designed for retrieval rather than clinical-system mutation. It does not schedule appointments, create patients, or perform other writes. Demo records are synthetic and cannot validate access to a real Practice Fusion environment. The medication-review prompt provides decision support only and is not a prescribing tool. Although audit logging is included and the project describes itself as HIPAA-conscious, deployment teams remain responsible for their own access controls, credential handling, logging policies, and compliance requirements.

_Full upstream README: https://allmcps.com/mcp/kushaim-practice-fusion-mcp/readme_

