# Control Health > Lab testing that AI agents can use for a person: search the catalog, build a personalized panel, price it, start an order the person confirms and pays, manage lab visits and read results. Public JSON over HTTPS and an MCP server, so no page scraping is needed. Educational information and lab-ordering support only. Not medical advice, diagnosis or treatment: the person should review their results with a clinician. In an emergency, call 911. Nothing is ordered or paid without the person: an agent builds an order, and the person confirms and pays for it in Control Health. Book, move or cancel a lab visit only after the person agrees, and a cancellation is always confirmed by the person. - API base URL: https://api.controlhealth.ai. JSON over HTTPS, server to server, no CAPTCHA or cookies. - The catalog and quotes need no login. Results, orders and the MCP server need an OAuth 2.1 token for the person, with the scope each names. - agents.v1 is a versioned contract: a breaking change ships as agents.v2, never silently. orders.v1 is the app's own API, opened to agent tokens; it may change, so ignore fields you don't know. - Errors follow Google AIP-193: build on the stable `reason` in the ErrorInfo detail, not on `message`. A 429 is RATE_LIMITED with a Retry-After header in seconds. ## Connect guides - [Use Control Health with your AI agent](https://controlhealth.ai/agents.md): Connect Claude, ChatGPT, Cursor or your own agent to Control Health to build personalized panels, price and order lab tests you pay for, book lab visits and read results. Web page: https://controlhealth.ai/agents - [Connect Claude to Control Health](https://controlhealth.ai/agents/claude.md): Add Control Health to Claude as a custom connector, sign in, and ask Claude to build, price and order a lab panel you pay for. Web page: https://controlhealth.ai/agents/claude - [Connect ChatGPT to Control Health](https://controlhealth.ai/agents/chatgpt.md): Add Control Health to ChatGPT as a custom MCP server, sign in, and ask ChatGPT to build, price and order a lab panel you pay for. Web page: https://controlhealth.ai/agents/chatgpt - [Connect Cursor to Control Health](https://controlhealth.ai/agents/cursor.md): Add Control Health to Cursor in mcp.json, sign in with OAuth, and use its lab tools from Cursor's agent. Web page: https://controlhealth.ai/agents/cursor - [Connect your own agent to Control Health](https://controlhealth.ai/agents/custom.md): Connect any MCP client to Control Health over streamable HTTP with OAuth 2.1, or call the agents.v1 REST API directly. Web page: https://controlhealth.ai/agents/custom - [The golden-path test for agents](https://controlhealth.ai/agents/golden-path.md): Test your agent against Control Health in production: one prompt, from a fatigue and thyroid concern to a checkout link within $400. Web page: https://controlhealth.ai/agents/golden-path ## Agent skills - [Agent skills index](https://controlhealth.ai/.well-known/agent-skills/index.json): Discovery index (Agent Skills Discovery v0.2.0) of the skills below, each a SKILL.md with its inputs, auth, rate limits and links. - [Build a personalized lab panel](https://controlhealth.ai/.well-known/agent-skills/recommend-panel/SKILL.md): Build a personalized lab test panel from Control Health's catalog, based on the person's data and goals, with why each test is in it and an estimated total within a budget. Use when a person asks which blood tests or labs they could explore. - [Estimate a lab order's price](https://controlhealth.ai/.well-known/agent-skills/estimate-price/SKILL.md): Price a set of Control Health lab tests and panels the way checkout would charge them, with fees, fasting notes and the total, without ordering anything. Use when a person asks what tests cost. - [Start a lab order the person confirms](https://controlhealth.ai/.well-known/agent-skills/start-order/SKILL.md): Build a Control Health lab order for the person and get the checkout link where they review and pay. Nothing is ordered or charged until they do. Use when a person wants to order lab tests. - [Get lab results](https://controlhealth.ai/.well-known/agent-skills/get-results/SKILL.md): Read a person's lab results from a Control Health order as structured biomarkers with values, units, reference ranges and the lab's flags, or a short-lived link to the lab's PDF. Use when a person asks about their lab results. ## MCP server - [Control Health MCP server](https://api.controlhealth.ai/mcp): Streamable HTTP. Every request needs the person's OAuth token; a connection sees only the tools its scopes allow. - [MCP server card](https://controlhealth.ai/.well-known/mcp/server-card.json): The server's name, endpoint, authorization and tools as JSON (MCP Server Card). Tools by the scope they need: - `profile`: `get_profile` - `catalog`: `search_catalog`, `get_test`, `estimate_order` - `recommend`: `intake_questions`, `recommend_panel` - `orders`: `create_order`, `list_orders`, `get_order`, `list_slots`, `book_appointment`, `reschedule_appointment`, `cancel_appointment`, `choose_walk_in`, `get_prep_guide`, `request_order_cancel` - `results`: `get_results` - `import`: `import_health_summary`, `import_health_conversation` MCP limits, per person: every call, 120 calls a minute; intake_questions and recommend_panel, 30 calls an hour; create_order, 10 calls an hour; book_appointment, reschedule_appointment, cancel_appointment and choose_walk_in, 20 calls an hour. ## OAuth discovery - [Authorization server metadata](https://api.controlhealth.ai/.well-known/oauth-authorization-server): OAuth 2.1 (RFC 8414): authorization code with PKCE S256, refresh tokens, scopes. - [Protected resource metadata, MCP](https://api.controlhealth.ai/.well-known/oauth-protected-resource/mcp): RFC 9728 metadata for https://api.controlhealth.ai/mcp. - [Protected resource metadata, REST](https://api.controlhealth.ai/.well-known/oauth-protected-resource): RFC 9728 metadata for the agent REST endpoints. - [Client registration](https://api.controlhealth.ai/oauth2/register): Dynamic client registration (RFC 7591). Scopes: `profile`, `catalog`, `recommend`, `orders`, `results`, `import`. The person sees each one and agrees once; one token serves the MCP server and the REST endpoints. ## REST API: agents.v1 - [GET /agents/v1/catalog/products](https://api.controlhealth.ai/agents/v1/catalog/products): Lists orderable tests and panels with prices, fasting and collection methods. Query: q, kind, page_size (at most 100), page_token. Auth: no login (optional `catalog` token). Limit: 120 calls a minute. - [GET /agents/v1/catalog/products/{product}](https://api.controlhealth.ai/agents/v1/catalog/products/{product}): One test or panel, by id (prd...) or slug. Auth: no login (optional `catalog` token). Limit: 120 calls a minute. - [GET /agents/v1/catalog/biomarkers](https://api.controlhealth.ai/agents/v1/catalog/biomarkers): Lists the biomarkers orderable products report, with LOINC codes. Query: q, page_size, page_token. Auth: no login (optional `catalog` token). Limit: 120 calls a minute. - [POST /agents/v1/quotes](https://api.controlhealth.ai/agents/v1/quotes): Prices a set of products the way checkout would charge them. Body: {"products": [...], "zip_code": "28210"}. Holds nothing. Auth: no login (optional `catalog` token). Limit: 30 calls a minute. - [GET /agents/v1/orders/{order}/results](https://api.controlhealth.ai/agents/v1/orders/{order}/results): The person's lab results on one of their orders, as structured biomarkers with ranges and flags. Auth: token with `results`. Limit: 60 calls a minute. - [GET /agents/v1/orders/{order}/results/pdf](https://api.controlhealth.ai/agents/v1/orders/{order}/results/pdf): A 15-minute link to the lab's result PDF, once results are final. Auth: token with `results`. Limit: 60 calls a minute. - [POST /agents/v1/orders](https://api.controlhealth.ai/agents/v1/orders): Builds an order for the person to confirm and pay, and returns their checkout link. Nothing is ordered or charged. Auth: token with `orders`. Limit: 10 calls a minute. ## REST API: orders.v1 (managing paid orders) - [GET /v1/orders](https://api.controlhealth.ai/v1/orders): The person's orders, newest first, with any appointment. Auth: token with `orders`. Limit: 30 calls a minute. - [GET /v1/orders/{id}](https://api.controlhealth.ai/v1/orders/{id}): One order: status, collection method, appointment, requisition and kit tracking. Auth: token with `orders`. Limit: 30 calls a minute. - [GET /v1/orders/{id}/requisitionPdf](https://api.controlhealth.ai/v1/orders/{id}/requisitionPdf): The requisition form to take to the lab, as base64 PDF. Auth: token with `orders`. Limit: 30 calls a minute. - [GET /v1/orders/{id}/prepGuide](https://api.controlhealth.ai/v1/orders/{id}/prepGuide): How to prepare for the sample collection: fasting, timing, holds and notes. Auth: token with `orders`. Limit: 30 calls a minute. - [POST /v1/orders/{id}:listSlots](https://api.controlhealth.ai/v1/orders/{id}:listSlots): Lab visit times near a ZIP code. Auth: token with `orders`. Limit: 30 calls a minute. - [POST /v1/orders/{id}:bookAppointment](https://api.controlhealth.ai/v1/orders/{id}:bookAppointment): Books one of those times, after the person confirms it. Auth: token with `orders`. Limit: 10 calls a minute. - [POST /v1/orders/{id}:rescheduleAppointment](https://api.controlhealth.ai/v1/orders/{id}:rescheduleAppointment): Moves the booked visit to another time. Auth: token with `orders`. Limit: 10 calls a minute. - [POST /v1/orders/{id}:cancelAppointment](https://api.controlhealth.ai/v1/orders/{id}:cancelAppointment): Cancels the booked visit, not the order. Auth: token with `orders`. Limit: 10 calls a minute. - [POST /v1/orders/{id}:setVisitPreference](https://api.controlhealth.ai/v1/orders/{id}:setVisitPreference): Records that the person will walk in without booking, or clears it. Auth: token with `orders`. Limit: 10 calls a minute. - [POST /v1/orders/{id}:requestCancel](https://api.controlhealth.ai/v1/orders/{id}:requestCancel): Whether the order can be cancelled and the refund, with a link where the person confirms. Never cancels. Auth: token with `orders`. Limit: 30 calls a minute. ## Optional - [Control Health](https://controlhealth.ai/): The website, for people. - [Build your panel](https://controlhealth.ai/build-your-panel): The panel builder people use on the website. - [Control Health app](https://app.controlhealth.ai/): Where the person signs in, pays and sees orders and results.