# ChartVoyant Developer Documentation > Standalone technical documentation for ChartVoyant (https://docs.chartvoyant.com): tenant-scoped REST API (`cvk_…`), Practice & Patient Model Context Protocol (MCP) servers, standardized SMART on FHIR R4 / US Core 6.1 / Bulk Data 2.0 APIs, HL7 v2 over HTTPS interfaces, SMART write, C-CDA, and Complete EHI Export (Archive Format 2.0). - Main platform site: https://chartvoyant.com/ - REST & MCP base URL: `https://chartvoyant.com/api/v1` - OpenAPI 3.1 contract: https://chartvoyant.com/api/openapi.json - Practice FHIR base pattern: `https://fhir.chartvoyant.com/r4/{practice}` - Authorization host: `https://auth.chartvoyant.com` - Public practice FHIR directory: https://chartvoyant.com/fhir/service-base-urls.json - Full single-file documentation corpus: https://docs.chartvoyant.com/llms-full.txt ## Get started - [Build on the chart](https://docs.chartvoyant.com/page.md): Standalone developer documentation for ChartVoyant: REST API, Practice and Patient MCP servers, SMART on FHIR-4 (US Core 6.1 & Bulk Data 2.0), HL7 v2 interfaces, SMART write, C-CDA, and Complete EHI export. - [Quickstart & self-serve sandbox](https://docs.chartvoyant.com/getting-started/page.md): Get a self-serve ChartVoyant sandbox API key in 60 seconds, query your isolated synthetic office over REST, and connect an MCP client. ## Core guides - [Authentication & credentials](https://docs.chartvoyant.com/authentication/page.md): Every credential ChartVoyant accepts across REST, Practice MCP, Patient MCP, HL7 v2, SMART App Launch, and SMART Backend Services. - [From sandbox to production: our onboarding process](https://docs.chartvoyant.com/onboarding/page.md): Step-by-step production onboarding checklists showing what you do, what the practice does, and what ChartVoyant does for API keys, SMART on FHIR apps, HL7 v2 feeds, and Outbound FHIR. - [Rate limits & error codes](https://docs.chartvoyant.com/rate-limits-and-errors/page.md): Complete rate-limit budgets across REST, Sandbox, FHIR, SMART Write, Patient MCP, HL7 v2, and Status API, plus JSON ErrorEnvelope, FHIR OperationOutcome, and searchable API error codes. ## ChartVoyant API & MCP - [REST API](https://docs.chartvoyant.com/rest-api/page.md): The ChartVoyant REST API: a tenant-scoped JSON API authenticated with an API key bound to one practice. Base URLs, key format, access levels, headers, limits, errors and how to get a key. - [OpenAPI 3.1 contract reference](https://docs.chartvoyant.com/openapi/page.md): Reference for ChartVoyant's published OpenAPI 3.1 contract at https://chartvoyant.com/api/openapi.json: endpoints, security schemes, schemas, and EventBridge contracts. - [Practice MCP server](https://docs.chartvoyant.com/mcp/page.md): ChartVoyant's Model Context Protocol server. Connect Claude Code or any MCP client with an API key: endpoints, protocol versions, tools by access level, audit and the conditions for production use. - [Patient MCP server](https://docs.chartvoyant.com/patient-mcp/page.md): ChartVoyant's patient MCP server. A patient creates a read-only key from their portal account and connects Claude, ChatGPT or any MCP client to their own record: endpoint, keys, protocol versions, tools, limits and audit. - [Public status API](https://docs.chartvoyant.com/status-api/page.md): The public, PHI-free JSON behind status.chartvoyant.com: platform component status and a per-practice lookup by Practice ID. No credential. Endpoints, response fields, states and limits. ## FHIR R4 & SMART - [SMART on FHIR-4 developer guide](https://docs.chartvoyant.com/fhir/page.md): Public business and technical documentation for ChartVoyant's standardized health API under 45 CFR 170.315(g)(10): FHIR R4, SMART App Launch 2, US Core 6.1, Bulk Data 2.0. Free to read, free to use, no registration required to inspect. - [FHIR R4 API](https://docs.chartvoyant.com/fhir-r4/page.md): ChartVoyant's FHIR R4 API: a US Core 6.1 server per practice for read and search, with app submissions turned on per practice and app. Base URL shape, SMART authorization, the 27 supported resource types, search, $everything and $docref, limits and status. - [SMART App Launch](https://docs.chartvoyant.com/smart-app-launch/page.md): Connect a patient's chosen app or a clinician's app to ChartVoyant with SMART App Launch 2 (STU2). PKCE S256, OpenID Connect fhirUser, standalone and EHR launch flows, scopes, and token lifecycle. - [SMART Backend Services](https://docs.chartvoyant.com/smart-backend-services/page.md): System-to-system FHIR access with no user at the keyboard using client_credentials and private_key_jwt (RS384 or ES384). Read, Bulk Data 2.0, SMART write, and HL7 v2 sender scopes. - [Bulk Data export](https://docs.chartvoyant.com/bulk-data/page.md): Export a practice's patient population asynchronously as FHIR NDJSON files using FHIR Bulk Data Access 2.0 (Group-level $export) and SMART Backend Services. - [SMART write](https://docs.chartvoyant.com/smart-write/page.md): Approved SMART apps submit Observations, AllergyIntolerance, Conditions, MedicationStatements, Immunizations, DocumentReferences, and QuestionnaireResponses for clinician review. - [Practice endpoint directory](https://docs.chartvoyant.com/endpoint-directory/page.md): Public FHIR R4 Bundle listing every active ChartVoyant practice and its exact FHIR base URL at https://chartvoyant.com/fhir/service-base-urls.json. ## Clinical Interfaces & Exports - [HL7 v2 interfaces](https://docs.chartvoyant.com/hl7/page.md): Lab results (ORU^R01), radiology reports, and hospital ADT events delivered over HTTPS in ER7 encoding with synchronous HL7 acknowledgments. - [FHIR write to other systems](https://docs.chartvoyant.com/fhir-outbound/page.md): ChartVoyant acting as a FHIR R4 and SMART Backend Services client to send clinician-confirmed Observations to an external EHR, hospital, HIE, or registry. - [C-CDA documents](https://docs.chartvoyant.com/c-cda/page.md): Generate a patient's current Continuity of Care Document (CCD, LOINC 34133-9) as XML on demand through SMART on FHIR or a ChartVoyant API key. - [Complete EHI export](https://docs.chartvoyant.com/ehi-export/page.md): Published Archive Format 2.0 and frozen layout schema v1 for ChartVoyant Electronic Health Information (EHI) export under 45 CFR §170.315(b)(10), with synthetic ONC sample ZIP. - [The EHI export format (v1.0)](https://docs.chartvoyant.com/ehi-export/v1/page.md): Legacy Format 1.0 specification for ChartVoyant's electronic health information (EHI) export under 45 CFR 170.315(b)(10): a ZIP of newline-delimited JSON, one file per table, with a machine-readable manifest. - [ChartVoyant for athenaOne Chrome extension](https://docs.chartvoyant.com/chrome-extension/page.md): Technical behavior, security model, and five-step unpacked installation guide for the ChartVoyant for athenaOne Chrome extension (v1.1.0). ## Policies & Legal - [API key usage policy, PHI & BAAs](https://docs.chartvoyant.com/usage-policy/page.md): Plain-language rules for holding a ChartVoyant API key: credential storage, minimum necessary, shadow charts, AI agent BAA requirements, and commercial profit share. - [ChartVoyant API Use Agreement](https://docs.chartvoyant.com/api-use-agreement/page.md): The ChartVoyant API Use Agreement — the terms governing a production API key, including AI agents and the MCP server. Signed online at e-sign.chartvoyant.com.