Labcorp MCP server for AI agents
Let Claude, ChatGPT or your own agent read Labcorp: 2 typed functions through one MCP server. No Labcorp API key needed.
- Site
- labcorp.com
- Functions
- 2
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Labcorp
An MCP server for Labcorp alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/labcorpEvery site
One MCP server for Labcorp and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 2
getTestReturns one OnDemand test in full: price, what it screens for, sample type (blood draw, at-home kit) and turnaround time.Arguments
Name Type Required skustringYes Returns
LabcorpTestDetailinterface LabcorpTestSummary { sku: string; // Magento's own product id, not a Labcorp test code name: string; urlKey: string; url: string; price: number; priceFormatted: string; // "$99.00" currency: string; // "USD" } interface LabcorpTestDetail extends LabcorpTestSummary { sampleType: string; // "Blood & Urine", "Nasal Swab" collectionMethod: string; // "In person at a Labcorp location" turnaroundTime: string; // "1-2 days from when your sample arrives at our lab" ageRange: string; // "18-100", "" if absent metaDescription: string; metaTitle: string; shortDescriptionHtml: string; descriptionHtml: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/labcorp/getTestCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.labcorp.getTest("164226");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.labcorp.getTest("164226"))curl -X POST https://api.bowmark.ai/v1/sites/labcorp/getTest \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"sku":"164226"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.labcorp.getTest("164226");searchSearches Labcorp's direct-to-consumer test catalog (Labcorp OnDemand) by keyword.Arguments
Name Type Required querystringYes Returns
LabcorpTestSummary[]interface LabcorpTestSummary { sku: string; // Magento's own product id, not a Labcorp test code name: string; urlKey: string; url: string; price: number; priceFormatted: string; // "$99.00" currency: string; // "USD" }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/labcorp/searchCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.labcorp.search("Lyme disease");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.labcorp.search("Lyme disease"))curl -X POST https://api.bowmark.ai/v1/sites/labcorp/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"Lyme disease"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.labcorp.search("Lyme disease");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/labcorp/<function> - OpenAPI
/v1/sites/labcorp/openapi.json