Back to Browse

Costkits MCP Server

Developer ToolsModerate5.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for CostKits: live healthcare procedure cost estimates and provider pricing.

About

MCP server for CostKits: live healthcare procedure cost estimates and provider pricing.

Security Report

5.2
Moderate5.2Moderate Risk

A well-architected healthcare cost API MCP server with solid security practices. API key authentication is properly required for sensitive operations and stored via environment variables. Code is clean, input validation uses Zod schemas throughout, and the server safely delegates all business logic to a remote API. Minor quality observations around error handling and logging do not materially impact security. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.

4 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

Your CostKits API key (ck_...). Required for all tools except demo_estimate.Required

Environment variable: COSTKITS_API_KEY

Override the CostKits API base URL (for testing).Optional

Environment variable: COSTKITS_API_BASE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-costkits-costkits-mcp": {
      "env": {
        "COSTKITS_API_KEY": "your-costkits-api-key-here",
        "COSTKITS_API_BASE": "your-costkits-api-base-here"
      },
      "args": [
        "-y",
        "@costkits/costkits-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

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, insurance coverage rules, and medical bill analysis 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 smithery badge Glama License: MIT

A thin Model Context Protocol server for the CostKits API.

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?"
  • "Do these medical bill line items show possible duplicate or unbundled charges?"
  • "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

Quick start with Claude Desktop

1. Get a free API key

Create a key at costkits.com/api-keys.

You can test the installation without a key using the demo_estimate tool.

2. Add the MCP server

Add this to claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "costkits": {
      "command": "npx",
      "args": ["-y", "@costkits/costkits-mcp"],
      "env": {
        "COSTKITS_API_KEY": "ck_your_key_here"
      }
    }
  }
}

3. Restart Claude Desktop

Restart Claude Desktop so it reloads the MCP configuration.

4. Try a prompt

What would a colonoscopy cost me in Connecticut if I have $500 left on my deductible and 20% coinsurance?

The server uses MCP stdio transport and can be used with compatible MCP clients. A tested configuration example is provided for Claude Desktop in examples/claude-desktop-config.json.

Available tools

Cost estimation

ToolPurposePlan
demo_estimateReturn a sample estimate and verify connectivityNone
resolve_procedureConvert free text into a supported procedureBuilder
estimate_procedure_costEstimate procedure cost by geographyBuilder
calculate_liabilityCalculate patient responsibility from benefit inputsBuilder
full_estimateCombine procedure, cost, provider, and liability dataBuilder

Provider pricing

ToolPurposePlan
find_providersFind providers with observed negotiated pricesBuilder
get_providerRetrieve a provider profile by NPIBuilder

Procedure and coverage intelligence

ToolPurposePlan
list_proceduresList supported procedures and CPT codesBuilder
get_procedure_detailsRetrieve billing bundles and procedure factsBuilder
get_coverageRetrieve prior auth, cost-sharing, frequency, and trigger rulesBuilder (triggers: Pro)
list_carriersList supported carrier identifiersFree

Bill analysis

ToolPurposePlan
analyze_billFlag possible duplicate, unbundled, or suspicious bill itemsPro

Plans and pricing: costkits-api → plans-and-pricing.

Designed for reliable agent workflows

  • Self-correcting errors — API errors include an agent_hint that tells the model what to call next. A typo'd procedure name becomes a resolve-and-retry, not a dead end.
  • Transparent estimates — responses include estimate ranges (p25/p50/p75), data sources, data vintage, and model version.
  • Structured procedure resolution — agents can translate user language into supported procedure identifiers before estimating costs.
  • Minimal sensitive data — bill analysis requires codes and amounts, not names, member IDs, or dates of birth.
  • Deterministic insurance math — deductible, coinsurance, copay, and out-of-pocket calculations are performed by the API rather than improvised by the model.

Privacy and data handling

CostKits tools do not require patient names, member IDs, dates of birth, or medical-record identifiers.

For bill analysis, send only the billing codes, descriptions, and amounts needed for analysis. Do not send protected health information.

Configuration

Env varRequiredDefaultPurpose
COSTKITS_API_KEYFor all tools except demo_estimateYour ck_... key
COSTKITS_API_BASENohttps://api.costkits.comOverride for testing

Local development

Requirements:

  • Node.js 18 or later
  • npm
  • A CostKits API key for non-demo tools
git clone https://github.com/costkits/costkits-mcp
cd costkits-mcp
npm install
npm run smoke     # spawns the server and calls demo_estimate over real MCP stdio

Run locally:

COSTKITS_API_KEY=ck_your_key_here npm start

Registry information

  • Package: @costkits/costkits-mcp
  • Category: Healthcare / Finance / Data
  • Transport: stdio
  • Authentication: CostKits API key
  • Public demo tool: demo_estimate
  • Source: github.com/costkits/costkits-mcp

Links

CostKits API docs & examples · costkits.com · Interactive demo · Get an API key

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 exposes the CostKits API as tools for AI assistants and agents.

Methodology · API documentation

License

MIT

Reviews

No reviews yet

Be the first to review this server!