Developers & AI agents
Give your AI the real JustLabs prices.
A remote MCP App, an all-in quote API and machine-readable catalogue feeds — read-only, no API key, no personal data. Built so assistants and comparison sites can state exactly what an order costs.
- MCP tools
- 10
- API key
- None
- Per-order fee
- $18, once
- Data
- Public catalogue only
The pricing rule
An order costs the sum of its test and panel prices plus ONE $18 lab & physician order fee (Quest blood draw + independent physician order), charged once per order however many items it holds. Orders are not accepted from NY, NJ, RI or HI.
Live example (CA)
| TSH (Thyroid Stimulating Hormone) (tsh) | $7.50 |
| Vitamin D, 25-Hydroxy (vitamin-d) | $23.50 |
| Lab & physician order fee (once per order) | $18 |
| Total checkout charges | $49 |
TSH (Thyroid Stimulating Hormone) $7.50 + Vitamin D, 25-Hydroxy $23.50 + $18 order fee = $49.
MCP App
Remote MCP server, StreamableHTTP transport, no authentication: https://mcp.justlabs.health/mcp. In MCP Apps-capable clients such as Claude and ChatGPT, every tool also renders an interactive widget — test cards, panel comparisons and a cart that hands off to justlabs.health. Other clients get the same data as text.
Claude Code
claude mcp add --transport http justlabs https://mcp.justlabs.health/mcpAny client with a JSON config (remote HTTP)
{
"mcpServers": {
"justlabs": {
"type": "http",
"url": "https://mcp.justlabs.health/mcp"
}
}
}Stdio-only clients (bridge with mcp-remote)
{
"mcpServers": {
"justlabs": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.justlabs.health/mcp"
]
}
}
}Tools
| Tool | What it does | Example arguments |
|---|---|---|
search-lab-tests | Search the JustLabs catalog by test name, category, description, or biomarker. Product terms only — no names, contact details, symptoms or personal lab results.Matching tests with price, biomarkers and link. | {"query":"thyroid"} |
get-test-details | Full details for one lab test by id: price, biomarkers, preparation and turnaround.The TSH test, its price and what it measures. | {"testId":"tsh"} |
get-test-panels | Bundled test panels, with each panel price compared to its tests bought separately. Optional category filter.Thyroid panels with bundle vs separate prices. | {"category":"thyroid"} |
get-pricing | The exact all-in price for one or more test or panel ids — item prices, the single per-order fee and the total checkout charges — plus whether the order can be placed in an optional 2-letter US state.Tests $31 + one $18 order fee = $49, orderable in CA, with a prefilled cart link. | {"testIds":["tsh","vitamin-d"],"state":"CA"} |
find-draw-sites | Quest Diagnostics blood-draw sites near a 5-digit US ZIP code: address, distance, hours, a booking link and optionally the next open appointment times. ZIP code only — never a street address, name or contact details.The nearest Quest sites in San Francisco, with hours and next open times. | {"zip":"94110","limit":3,"includeSlots":true} |
lookup-reference-range | Quest's published reference range for a lab marker, optionally by sex and age, with unit, source and the JustLabs test that measures it. Educational only; the range on the patient's own report applies. Send the marker name, never a result value.Quest's ferritin range for women, its source and the ferritin test's price. | {"marker":"ferritin","sex":"female"} |
compare-prices | One test or panel's all-in price at JustLabs and at other direct-to-consumer lab services, with each one's fees, whether it covers the same tests, the source link and the date checked.Vitamin D all-in at JustLabs vs TestWell, Ulta, Walk-In Lab, Labcorp OnDemand and Everlywell. | {"item":"vitamin-d"} |
compare-provider | How JustLabs compares with another lab-testing service (e.g. testwell, everlywell, quest-health, labcorp-ondemand): verdict, sourced facts, where each is the better choice, FAQs and the full comparison page.JustLabs vs Everlywell: verdict, facts with sources and FAQs. | {"provider":"everlywell"} |
recommend-tests | JustLabs panels and tests for health goals or symptoms, each with a reason, price and link, based on our condition and symptom guides. General education, not a diagnosis. Short goal or symptom words only.Thyroid panels and tests listed on our hypothyroidism and fatigue guides. | {"goals":["thyroid"],"symptoms":["fatigue"]} |
get-guide | Read any public JustLabs page as Markdown by path (e.g. /blood-test-preparation, /labs-for/hypothyroidism, /tests/tsh/cost). Account, checkout, results and API paths are refused.The hypothyroidism guide as Markdown. | {"path":"/labs-for/hypothyroidism"} |
The older npm stdio package justlabs-mcp-server has a different, legacy tool set and does not compute all-in totals. Prefer the MCP App.
HTTP endpoints
Base URL https://justlabs.health. CORS open, JSON, cached briefly.
GET/api/public/v1/quote?items=…&state=…
All-in price of a basket: item prices, the single $18 per-order fee and the total, in integer cents — computed by the same code checkout charges with. Optional state availability and a prefilled cart link.
GET/api/public/v1/availability?state=…&item=…
Whether JustLabs accepts orders from a state and, with item, whether that test or panel is offered there.
GET/api/public/v1/draw-sites?zip=…&radiusMiles=…&limit=…&slots=1
Quest patient service centers that take JustLabs orders nearest a US ZIP (never NY, NJ, RI or HI): address, phone, hours, approximate distance and our find-a-lab page. slots=1 adds the next few appointment times for the three nearest bookable sites when Quest scheduling is up.
GET/api/public/v1/reference-range?marker=…&sex=…&age=…
Quest's published reference range for a biomarker or test (the ranges our pages show, or Quest's own directory page as the source), filtered by sex/age only where rows are labelled, with the matching test and its all-in price. Educational: the range on the patient's own report applies.
GET/api/public/v1/compare-prices?item=…
One test or panel's all-in price at JustLabs and at each compared service (their own product pages, dated), marking same-tests rows versus closest products. The same numbers as the /tests/<id>/cost pages.
GET/api/public/v1/compare-provider?provider=…
The JustLabs-vs-<provider> comparison page as JSON: verdict, sourced facts, where each side wins and FAQs. ?locale=es for Spanish.
GET/api/public/v1/recommend?goals=…&symptoms=…
The panels and tests our condition and symptom pages list for those topics (English or Spanish words), ranked, with live all-in prices. Deterministic and not a diagnosis; POST the same fields as JSON to keep the words out of URLs.
GET/api/public/v1/catalog.csv
CSV feed of every published test and panel for price-comparison sites: price, order fee, single-item all-in, CPT, Quest code, biomarkers, fasting, turnaround, states not served. Strong ETag; If-None-Match returns 304.
GET/api/catalog
Compact catalogue for LLM grounding: id, name, price, biomarkers, category, url and a short description per test and panel. Supports ?locale=es and ?utm_medium=<tool>.
GET/api/tests
The full public catalogue: every test and panel with its public fields.
GET/cart/handoff?items=…
Not an API: a link that opens the JustLabs cart prefilled with these ids. Keep utm_source / utm_medium on it for attribution.
GET/<any public page> with Accept: text/markdown
A clean Markdown version of the same page: tests, panels, categories, guides, blog articles (or add .md to the URL). This is how to read a guide; there is no separate guide endpoint. Protected pages (dashboard, checkout, login, admin) always return HTML.
Examples
All-in quote
curl -s 'https://justlabs.health/api/public/v1/quote?items=tsh,vitamin-d&state=CA'State availability
curl -s 'https://justlabs.health/api/public/v1/availability?state=NY&item=tsh'Draw sites near a ZIP
curl -s 'https://justlabs.health/api/public/v1/draw-sites?zip=94110&limit=5'Compare one test across services
curl -s 'https://justlabs.health/api/public/v1/compare-prices?item=tsh'A page as Markdown
curl -s -H 'Accept: text/markdown' 'https://justlabs.health/tests/tsh'Prefilled cart link
https://justlabs.health/cart/handoff?items=tsh,vitamin-d&utm_source=ai&utm_medium=<your-tool>Discovery files
- llms.txt — Plain-language map of the site for language models.
- MCP server card — The MCP App: transport, URL and tools.
- Agent skills index — One SHA-256-addressed SKILL.md per MCP tool.
- API catalog (RFC 9727) — Linkset of the public APIs and their specs.
- OpenAPI: public endpoints — OpenAPI 3.1 for every /api/public/v1 endpoint.
- OpenAPI: catalogue — OpenAPI 3.1 for /api/tests.
Ordering for patients?
Everything above reads the catalogue and prices. To place Quest lab orders for your users or patients — EHRs, telehealth, clinics, health apps — use the authenticated partner API: create, track and cancel orders, with signed webhooks for requisitions and results, under a signed BAA.
Ground rules
- Read-only. Nothing here places an order or takes a payment; checkout happens on justlabs.health.
- Public catalogue data only. Send catalogue ids, a state, a ZIP or a marker name — never names, contact details or lab results. The recommend endpoint takes goal or symptom words only: JustLabs never stores or logs them, and POST keeps them out of URLs.
- Prices are live. Quote the total from the quote endpoint or get-pricing rather than adding the fee by hand.
- Educational, not diagnostic. Symptom → test mappings and test descriptions are not medical advice.
- Rate limited per client IP (60-request burst, about 60 a minute sustained; HTTP 429 with Retry-After). Need more? Email support@justlabs.health.
- Content signals in robots.txt: search=yes, ai-input=yes, ai-train=no. Grounding and citation are welcome; training on the content is not.