# Practice MCP server

Canonical URL: https://docs.chartvoyant.com/mcp/
Endpoint: `POST https://chartvoyant.com/api/v1/mcp`

A stateless Streamable HTTP Model Context Protocol server, live since October 7, 2026. Point Claude Code or any MCP client that sends an Authorization header at it with your API key to look up patients, read charts, and work the schedule and inbox on the practice's audit trail.

## At a glance

| Status | Live in the sandbox and in production since October 7, 2026. |
| --- | --- |
| Endpoint | `https://chartvoyant.com/api/v1/mcp` for sandbox and production keys alike. A sandbox key reaches only its synthetic sandbox office. |
| Authentication | ChartVoyant API key: `Authorization: Bearer cvk_…`. A staff session or SMART token is not an MCP credential. OAuth sign-in for MCP is not available yet. |
| For patients | Patients connecting their own AI assistant to their own record use the [Patient MCP server](https://docs.chartvoyant.com/patient-mcp/) with a read-only `cvpk_…` key. |
| Transport | Streamable HTTP, stateless. One JSON-RPC 2.0 message per `POST`, answered with one JSON response. `GET` and `DELETE` return `405` (no standalone SSE stream and no sessions). |
| Protocol versions | MCP `2026-07-28`, plus `2025-11-25`, `2025-06-18`, and `2025-03-26` for clients opening with `initialize`. |
| Limits | Request bodies up to 256 KB. Standard [REST API rate limits](https://docs.chartvoyant.com/rate-limits-and-errors/) apply. |
| Audit | Each tool call writes an event to the practice's audit log under your key, and the key's activity trail names the method and tool. Arguments and results stay out of both logs. |

## Connect a client

Claude Code CLI

```
claude mcp add --transport http chartvoyant https://chartvoyant.com/api/v1/mcp \
  --header "Authorization: Bearer $CHARTVOYANT_API_KEY"
```

Project or user config (`.mcp.json`)

```
{
  "mcpServers": {
    "chartvoyant": {
      "type": "http",
      "url": "https://chartvoyant.com/api/v1/mcp",
      "headers": { "Authorization": "Bearer ${CHARTVOYANT_API_KEY}" }
    }
  }
}
```

Direct HTTP JSON-RPC

```
# List the tools this key can call
curl https://chartvoyant.com/api/v1/mcp \
  -H "Authorization: Bearer $CHARTVOYANT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2025-11-25" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

## Tools by key access level

The key's access level decides which tools are exposed. A `read_only` key attempting a write tool receives an explicit refusal.

| Access Level | Tools |
| --- | --- |
| **Every key (28 read tools)** | `get_practice_context``search_patients``get_patient_overview``get_patient_chart``get_observations``list_patient_notes``read_note``get_procedure_plan``get_patient_action_note``get_schedule``find_free_slots``list_waitlist``list_cases``get_case``get_fax_inbox``list_patient_orders``list_outbound_faxes``search_facilities``get_patient_billing``get_patient_billing_detail``list_claims``get_claim``get_claim_ledger``get_billing_worklist``list_prior_auths``get_prior_auth``list_directory``search_terminology` Practice context and today's date, patients and chart summaries, notes, vitals and labs, procedure plans, schedule and open slots, waitlist, inbox tasks and fax inbox, orders and outbound faxes, billing, claims, claim ledgers and prior authorizations, staff directory, and ICD-10-CM / HCPCS / RxNorm terminology lookups. |
| **Full-access keys add (8 write tools)** | `book_appointment``reschedule_appointment``cancel_appointment``add_to_waitlist``create_patient_case``update_case``link_case_to_patient``log_action_note` Scheduling and operational inbox work. Booking checks double-booking, closures, and practice booking rules first, returning a conflict instead of booking over an existing slot. |
| **Never exposed over MCP** | Chart entries, clinical notes, signatures, prescriptions and orders; outbound faxes and patient messages; eligibility and claim-status checks; claims, payments, and statements. A human performs clinical and financial actions inside ChartVoyant — keeping clinical decisions with a clinician (Non-Device CDS). |

**Times are practice-local.** Always instruct your agent to call `get_practice_context` first. A timestamp such as `2026-10-08T09:00:00.000Z` means 9:00 AM wall-clock time at the practice; the trailing `Z` does not mean UTC. Monetary values are returned in integer cents.

## Before you connect a production key

### Mandatory HIPAA & contract gates for production AI agents

**The model sees PHI.** MCP hands chart data directly to the AI model behind your client. Before using a production key, you must hold an executed Business Associate Agreement with the model provider that expressly covers the exact product, plan, and MCP/connector/tool-use traffic you run, with zero training on the data, plus the practice's written approval. Consumer chat accounts never qualify.

**Version 1.2 of the API Use Agreement is required.** Sign it at [e-sign.chartvoyant.com/apiuseagreement](https://e-sign.chartvoyant.com/apiuseagreement) (full text at [API Use Agreement](https://docs.chartvoyant.com/api-use-agreement/)), naming the agent and model provider. One key per person or unattended agent, stored in an OS credential store or env var on a managed, encrypted workstation — never committed or pasted into chat.

## How to get access

- **Prototype on synthetic data** Request a self-serve sandbox key and test your agent safely against your isolated synthetic office.

- **Complete production onboarding** Follow [Track 1 in Production Onboarding](https://docs.chartvoyant.com/onboarding/#api-key-process) with your sponsoring practice, BAA, and signed API Use Agreement.
