costkits-mcp
OfficialAccess live US healthcare cost data and calculations via MCP tools for procedures, providers, insurance, and bills.
Resolve free-text procedure names to canonical slugs (
resolve_procedure).List the procedure catalog with CPT codes (
list_procedures).Get procedure billing rules, cost drivers, and separate bills (
get_procedure_details).Estimate procedure cost range by state, optionally with plan details for out-of-pocket (
estimate_procedure_cost).Chain procedure, cost, providers, and liability in one call (
full_estimate).Calculate patient liability from allowed amount and plan snapshot (
calculate_liability).Find providers with observed hospital-transparency prices or city clusters (
find_providers).Get a provider's public profile by NPI (
get_provider).Retrieve insurance coverage rules (prior auth, cost-sharing, frequency, triggers) by carrier (
get_coverage).List supported insurance carriers (
list_carriers).Get a static sample estimate to verify connectivity (
demo_estimate).Detect anomalies in medical bill line items (duplicates, unbundling, etc.) (
analyze_bill).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@costkits-mcp Colonoscopy cost estimate in CT with $500 deductible and 20% coinsurance."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CostKits MCP Server
Give Claude, ChatGPT, Cursor, and other MCP clients access to live US healthcare cost data.
CostKits provides procedure cost estimates, patient out-of-pocket calculations, provider pricing, and insurance coverage rules using hospital-transparency and CMS data rather than model memory.
Ask healthcare cost questions in natural language. CostKits supplies the structured data and calculations.
A hosted Model Context Protocol server. No API key, no signup. It powers the CostKits app in ChatGPT and works with any MCP client that supports remote servers.
What can an agent do with CostKits?
Ask questions such as:
"What would a colonoscopy cost in Connecticut?"
"How much would I owe if I have $500 left on my deductible and 20% coinsurance?"
"Compare MRI prices from providers near Dallas."
"Does this procedure commonly require prior authorization?"
"Resolve 'knee scan' to the correct procedure and estimate the cost."
The MCP server selects the appropriate CostKits API tools and returns structured healthcare cost data the model can explain to the user.
User question
↓
MCP client
↓
CostKits MCP tool
↓
CostKits healthcare cost API
↓
Structured estimate, provider pricing, coverage rule, or bill-analysis resultRelated MCP server: Nonpayment Health MCP Server
Connect
Remote (recommended): add the server URL in any client that supports remote MCP servers (ChatGPT, Claude, Cursor, and others):
https://mcp.costkits.com/mcpClaude Desktop via npm: the package is a thin shim that forwards to the hosted server.
{
"mcpServers": {
"costkits": {
"command": "npx",
"args": ["-y", "@costkits/costkits-mcp"]
}
}
}Available tools
Tool | What it does |
| Match a plain-language procedure name to a supported procedure |
| The procedure catalog with CPT codes |
| Billing rules, cost drivers, and which separate bills to expect |
| Cost range in a state, with expected out-of-pocket if you give plan details |
| Procedure, cost, providers, and liability in one call |
| Deductible, coinsurance, and out-of-pocket math for a dollar amount |
| Providers with observed hospital-transparency prices (up to 10 per call) |
| Public profile for one provider by NPI |
| Prior auth, cost-sharing, and frequency rules by carrier |
| Supported insurance carriers |
| Sample estimate, for checking your connection |
For bill review, use the CostKits app. Bill analysis is not available through this server.
Privacy and data handling
These tools do not need patient names, member IDs, dates of birth, or medical-record identifiers, and you should not send them. Requests are logged without free text, only the tool, procedure, and state.
Local development
npm install
npm run start:http # hosted server on :8787, set COSTKITS_API_KEY for a server-side key
npm run smoke # stdio shim against a local hosted server
npm run smoke:http # hosted server contractEnv var | Used by | Purpose |
| stdio shim | Override the hosted URL (default |
| hosted server | Server-side key for the CostKits backend |
| hosted server | Backend base URL |
| hosted server | Per-IP limit (default 60) |
Links
costkits.com · Interactive demo
About CostKits
CostKits is a healthcare cost-transparency platform built by John Caruso, FSA, MAAA, a healthcare actuary with more than 20 years of experience in insurance pricing, medical billing systems, and healthcare cost analytics.
This MCP server gives AI assistants and agents access to CostKits cost data.
License
Available Tools
12 toolsanalyze_billAInspect
Detect anomalies in medical bill line items (Pro plan): duplicate charges, unbundling, quantity errors, screening-to-diagnostic reclassification. Returns a risk score, flags, and a consumer-language summary. Stateless — send only codes and amounts, never patient identity fields.
Inputs: line_items (required).
calculate_liabilityAInspect
Stateless insurance math: given an allowed amount and a plan snapshot (deductible, coinsurance, OOP max), returns exact patient responsibility, plan payment, and the breakdown, plus p25/p75 scenarios. Use when you already have a dollar amount (e.g. from an EOB or a prior estimate).
Inputs: oop_max (required), deductible (required), coinsurance (required), allowed_amount (required), +4 more.
demo_estimateAInspect
Static sample cost estimate (colonoscopy in Connecticut) from the CostKits API. Works with NO API key — use it to verify connectivity and see the response shape.
Inputs: no named parameters.
estimate_procedure_costAInspect
Estimate what a medical procedure costs in a US state: allowed-amount range (low/median/high), billing components, risk flags, and — if insurance details are given — the patient's expected out-of-pocket. Use resolve_procedure first if the user gave a free-text procedure name. Always present ranges, not single numbers, and cite the returned data_vintage.
Inputs: state (required), procedure (required), zip_code, plan_type, +3 more.
find_providersAInspect
Find healthcare providers for a procedure in a US state. Each provider has pricing_status: 'observed' (real negotiated rate from hospital transparency data — prefer these), 'estimated', or 'none'. Set cluster=true for city-level groups with lat/lng.
Inputs: state (required), procedure (required), limit, cluster.
full_estimateAInspect
One call chaining procedure ontology + cost + providers + patient liability. Cheapest way (one metered request) to get the complete picture. Use fields to request a subset; liability requires the plan_* inputs.
Inputs: state (required), procedure (required), fields, plan_oop_max, +4 more.
get_coverageAInspect
Insurance coverage rules for a procedure/carrier combination. aspect: 'summary' (status + plain English), 'prior-auth', 'cost-sharing' (deductible/coinsurance/ACA preventive), 'frequency' (how often covered, age rules), or 'triggers' (Pro plan: billing events that flip a $0 preventive claim to diagnostic — the highest-signal aspect).
Inputs: carrier (required), procedure (required), aspect, plan_type.
get_procedure_detailsAInspect
Structured knowledge about one procedure. aspect='facts' returns LLM-ready billing rules and cost drivers (best for grounding an answer); 'bundle' explains which separate bills to expect (facility, physician, anesthesia...); 'full' returns the complete ontology.
Inputs: slug (required), aspect.
get_providerAInspect
Public profile for a single provider by 10-digit NPI number: name, specialty, address, entity type.
Inputs: npi (required).
list_carriersAInspect
All insurance carrier keys supported by the coverage tools (aetna, cigna, bcbs, medicare, ...). Works on the Free plan — also a good API-key sanity check.
Inputs: no named parameters.
list_proceduresAInspect
The full CostKits catalog: 30 procedures with slugs, display names, categories, and CPT codes (paginated).
Inputs: limit, cursor.
resolve_procedureAInspect
Fuzzy-match a free-text procedure name ('knee mri', 'gallbladder removal') to a canonical slug with confidence scores. Call this BEFORE estimate tools whenever the user's wording might not be an exact slug.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool has a clearly distinct purpose: analyzing bills, calculating insurance liability, estimating costs, finding providers, obtaining coverage details, etc. There is minimal overlap, and composite tools like full_estimate are clearly defined as aggregations of other functionalities.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., analyze_bill, calculate_liability, list_procedures). Even demo_estimate and full_estimate fit the pattern, using descriptive verbs. No mixing of conventions.
With 12 tools, the server is well-scoped for medical cost estimation. The number is neither too few nor excessive; each tool serves a necessary function in the workflow, from procedure resolution to provider search and liability calculation.
The tool surface covers the full lifecycle of cost estimation: procedure lookup, fuzzy matching, cost estimation, provider discovery, insurance coverage, liability calculation, bill analysis, and a composite endpoint. No obvious gaps for the stated purpose.
Maintenance
Related MCP Connectors
Search US hospital prices, compare costs, and find insurance-negotiated rates.
Search source-labeled hospital prices, CPT codes, providers, and healthcare cost estimates.
CMS quality ratings, payer-negotiated prices, and clinician data for 41K+ US healthcare facilities.
US healthcare public data, one endpoint: prices, Medicare, MA benefits, Stars, Medicaid, providers.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides comprehensive access to CMS Medicare data including physician services, prescriber information, hospital quality metrics, drug spending, formulary coverage, and ASP pricing for healthcare analysis and decision-making.18MIT
- FlicenseNot gradedqualityDmaintenanceEnables querying and analyzing non-reimbursable medical treatment costs in South Korea using the Health Insurance Review & Assessment Service API. Supports searching treatment codes, comparing hospital prices, regional statistics analysis, and finding cost-effective healthcare options.-
- FlicenseNot gradedqualityDmaintenanceEnables natural language querying of healthcare claims data by exposing a SQLite database with read-only SQL tools, allowing users to ask questions in plain English and get answers backed by real database queries.1-
- AlicenseAqualityBmaintenanceReal US & Canada dental price data for AI assistants: average costs by procedure, state and city, insurance acceptance, and cheapest-state lookups — backed by open datasets (CC BY 4.0, permanent DOIs).448 npmMIT