Connect assistants to PHI-free clinic operations through MCP, or wire your own tools into the scoped LaboMolar REST API and signed webhooks.
Model Context Protocol
Connect LaboMolar to Claude, ChatGPT, or another MCP client at https://mcp.labomolar.com/mcp. OAuth asks for the read-only labomolar:read scope and keeps every result inside the organization you authorize.
{
"mcpServers": {
"labomolar": {
"type": "http",
"url": "https://mcp.labomolar.com/mcp"
}
}
}Install the portable Agent Plugin to pair this read-only connector with its product workflow guide, or inspect the public discovery catalog. Agent Plugin manifest AI catalog
The connector can list safe clinic metadata, bookable availability, provider display names, procedure-catalog names and prices, non-identifying calendar blocks, and aggregate schedule counts by day. Its interactive views summarize the same bounded operational data.
The public MCP never returns patient records or contact details, individual appointment records, diagnoses, treatment information, clinical notes, anamnesis, tooth charts, or other health data. It cannot create or change records and does not make clinical or medical decisions.
Use the REST API below only when your own reviewed integration genuinely needs record-level access. REST API keys and their data-handling obligations are separate from the narrower MCP connector.
CLI
The same clinics, patients, appointments, treatments, invoices and payments are available from your terminal through the labomolar CLI. Install it globally with npm, or run it ad hoc with npx.
There is no account step to do elsewhere: labomolar signup creates one from the terminal, and labomolar login signs in to an existing account either through the browser or with an API key secret. For scripts and CI, export LABOMOLAR_API_KEY instead and skip the login step entirely.
# Install once, globally
npm install -g labomolar
# or run it ad hoc without installing
npx labomolar --help
# Create an account without leaving the terminal
labomolar signup --email dentist@example.com
# Or log in to an existing one — browser, or an API key secret
labomolar login
# The clinics this credential can reach
labomolar clinics list
# This week's schedule for one of them
labomolar appointments list --clinicId CLINIC_ID \
--startTime 2026-09-01T00:00:00.000Z --endTime 2026-09-08T00:00:00.000Z
# Book a visit
labomolar appointments add --clinicId CLINIC_ID --patientId PATIENT_ID \
--startTime 2026-09-01T09:00:00.000Z --endTime 2026-09-01T09:30:00.000ZEvery data command accepts --json for parseable output, errors go to stderr with exit code 1, and labomolar schema prints the whole command tree as JSON so a script never has to scrape help text.
The CLI is open source at github.com/labomolar/cli and published as labomolar on npm. Run any command with --help to see its options.
Agent Skills
LaboMolar ships Agent Skills — guides following the agentskills.io standard that teach coding agents how to work with a dental practice through the labomolar CLI and the MCP connector, instead of guessing at commands and tools.
# Install the LaboMolar skills into your coding agent
npx skills add labomolar/skillsOne command installs the skills into Claude Code, Cursor, Codex, Gemini CLI and any other agent that follows the Skills standard. The CLI also bundles the same guides, version-matched to the commands it ships: labomolar skills get <name> prints one on demand.
The two skills mirror the two surfaces and are deliberately not equivalent. The CLI skill covers the record-level REST API and states the duty of care that comes with patient data; the clinic-administration skill covers the MCP connector, which is administrative-only and cannot reach patient or clinical data at all.
The skills are open source at github.com/labomolar/skills. Claude users can also install the LaboMolar Claude plugin, which bundles the connector together with its skill: github.com/labomolar/claude-plugin.
API keys
The LaboMolar REST API is for a practice that wants to run its own tooling on top of its records: migrate patients in from another practice-management system, keep an in-house booking page or reporting sheet in step with the calendar, or push invoices and payments into your accounting stack.
A key belongs to your organization and can only be created by an organization administrator. The secret is shown when the key is created; afterwards an administrator can reveal it again from the dashboard by re-entering their password. Because the key carries its own tenant, the organization is implied by the key and never has to be sent.
Authenticate every request with HTTP Basic auth carrying only the key secret, base64-encoded, in the Authorization header.
# The Authorization header is HTTP Basic auth carrying only the key secret,
# with no username and no colon.
Authorization: Basic $(printf %s YOUR_API_KEY_SECRET | base64)Every endpoint lives under https://api.labomolar.com. Requests made with a key are rate limited per key; going over the limit returns 429.
Quick start
Find your clinic, list its patients, then book an appointment for one of them.
# List the clinics your key can reach
curl https://api.labomolar.com/api/clinics \
-H "Authorization: Basic $(printf %s YOUR_API_KEY_SECRET | base64)"
# List the patients of one of those clinics
curl "https://api.labomolar.com/api/patients?clinicId=CLINIC_ID" \
-H "Authorization: Basic $(printf %s YOUR_API_KEY_SECRET | base64)"
# Book an appointment for one of them.
# Times are ISO 8601 instants.
curl -X POST https://api.labomolar.com/api/appointments \
-H "Authorization: Basic $(printf %s YOUR_API_KEY_SECRET | base64)" \
-H "Content-Type: application/json" \
-d '{
"clinicId": "CLINIC_ID",
"patientId": "PATIENT_ID",
"startTime": "2026-09-01T09:00:00.000Z",
"endTime": "2026-09-01T09:30:00.000Z"
}'Browse the full API reference — every endpoint with its parameters, request body, responses and required scope.
Scopes
Each key carries a list of scopes, so a reporting script that only needs to read your calendar never gets the ability to change a patient record. New keys start read-only; widen them explicitly. A request whose key is missing the scope an endpoint requires is refused with 403.
Patient records are health data. A key is a credential over that data, so give each integration its own key with the narrowest scopes it can work with, and delete a key the moment the integration is retired.
Webhooks
Add a webhook subscription to your clinic and LaboMolar POSTs the events you picked to your server as they happen, so your own systems do not have to poll.
POST https://your-server.com/labomolar-webhook
X-LaboMolar-Event: appointment.created
X-LaboMolar-Signature: t=1719000000,v1=<hmac-sha256 hex>
Content-Type: application/json
{
"event": "appointment.created",
"timestamp": 1719000000,
"data": { "...": "..." }
}Every delivery carries an X-LaboMolar-Signature header of the form t=timestamp,v1=signature, where the signature is an HMAC-SHA256 of timestamp.body keyed by the subscription secret shown to you once when the subscription was created. Recompute it over the raw body and compare before trusting the payload.
import crypto from 'node:crypto'
// body must be the RAW request body, byte for byte
function verify(header, body, secret) {
const [t, v1] = (header || '').split(',').map(part => part.split('=')[1])
if (!t || !v1) return false
const expected = crypto
.createHmac('sha256', secret)
.update(`${t}.${body}`)
.digest('hex')
// timingSafeEqual throws on a length mismatch, so a malformed signature
// has to be rejected before the comparison rather than by it.
if (v1.length !== expected.length) return false
return crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(expected))
}Delivery is one best-effort attempt with a five second timeout and no retries, so respond 2xx quickly and do the work asynchronously. An endpoint that fails twenty times in a row is disabled automatically and has to be re-enabled.
Start buildingRegister your app, choose its permissions, and submit it for review. Manage registrations for all our products with one developer account.