Skip to main content
Glama
costkits-mcp

costkits-mcp

Official
by costkits

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.

npm MCP MCP Registry Glama License: MIT

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 result

Related 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/mcp

Claude 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

resolve_procedure

Match a plain-language procedure name to a supported procedure

list_procedures

The procedure catalog with CPT codes

get_procedure_details

Billing rules, cost drivers, and which separate bills to expect

estimate_procedure_cost

Cost range in a state, with expected out-of-pocket if you give plan details

full_estimate

Procedure, cost, providers, and liability in one call

calculate_liability

Deductible, coinsurance, and out-of-pocket math for a dollar amount

find_providers

Providers with observed hospital-transparency prices (up to 10 per call)

get_provider

Public profile for one provider by NPI

get_coverage

Prior auth, cost-sharing, and frequency rules by carrier

list_carriers

Supported insurance carriers

demo_estimate

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 contract

Env var

Used by

Purpose

COSTKITS_MCP_URL

stdio shim

Override the hosted URL (default https://mcp.costkits.com/mcp)

COSTKITS_API_KEY

hosted server

Server-side key for the CostKits backend

COSTKITS_API_BASE

hosted server

Backend base URL

RATE_LIMIT_PER_MIN

hosted server

Per-IP limit (default 60)

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.

Methodology

License

MIT

Available Tools

12 tools
analyze_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

    A4.3/5.0

    Scored across 12 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables 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
      -
    • A
      license
      A
      quality
      B
      maintenance
      Real 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).
      4
      48 npm
      MIT