costkits-mcp
OfficialThis server provides tools to access live US healthcare cost data, provider pricing, insurance coverage rules, and medical bill analysis, grounded in real hospital transparency and CMS data.
Demo & Connectivity Check — Run
demo_estimate(no API key needed) to verify connectivity using a static sample estimate.Procedure Resolution — Use
resolve_procedureto fuzzy-match free-text procedure names (e.g., "knee mri") to canonical slugs with confidence scores.Procedure Cost Estimation — Use
estimate_procedure_costto get allowed-amount ranges (low/median/high), billing components, risk flags, and optional patient out-of-pocket based on deductible, coinsurance, and OOP max.Insurance Liability Calculation — Use
calculate_liabilityfor exact insurance math given an allowed amount and plan details, returning patient responsibility and plan payment breakdown.Full Bundled Estimate — Use
full_estimateto get procedure ontology + cost + providers + patient liability in a single API call.Provider Search — Use
find_providersto locate providers for a procedure in a state, with real negotiated prices (observed) or estimates, and optional city-level clustering.Provider Lookup — Use
get_providerto retrieve a provider's public profile by 10-digit NPI number.Procedure Catalog — Use
list_proceduresto browse 30 procedures with slugs, display names, categories, and CPT codes.Procedure Details — Use
get_procedure_detailsfor structured knowledge about a procedure: billing rules (facts), expected separate bills (bundle), or full ontology.Insurance Coverage Rules — Use
get_coverageto retrieve coverage rules for a procedure/carrier combination by aspect: summary, prior-auth, cost-sharing, frequency, or billing triggers.Carrier Listing — Use
list_carriersto see all supported insurance carrier keys (aetna, cigna, bcbs, medicare, etc.).Medical Bill Analysis (Pro) — Use
analyze_billto detect anomalies in bill line items (duplicate charges, unbundling, quantity errors), returning a risk score, flags, and a consumer-language summary — stateless, no patient identity required.
Click on "Install 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-mcpColonoscopy 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, 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.
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 resultRelated MCP server: Medicare MCP Server
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
Tool | Purpose | Plan |
| Return a sample estimate and verify connectivity | None |
| Convert free text into a supported procedure | Builder |
| Estimate procedure cost by geography | Builder |
| Calculate patient responsibility from benefit inputs | Builder |
| Combine procedure, cost, provider, and liability data | Builder |
Provider pricing
Tool | Purpose | Plan |
| Find providers with observed negotiated prices | Builder |
| Retrieve a provider profile by NPI | Builder |
Procedure and coverage intelligence
Tool | Purpose | Plan |
| List supported procedures and CPT codes | Builder |
| Retrieve billing bundles and procedure facts | Builder |
| Retrieve prior auth, cost-sharing, frequency, and trigger rules | Builder (triggers: Pro) |
| List supported carrier identifiers | Free |
Bill analysis
Tool | Purpose | Plan |
| Flag possible duplicate, unbundled, or suspicious bill items | Pro |
Plans and pricing: costkits-api → plans-and-pricing.
Designed for reliable agent workflows
Self-correcting errors — API errors include an
agent_hintthat 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 var | Required | Default | Purpose |
| For all tools except | — | Your |
| No |
| Override 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 stdioRun locally:
COSTKITS_API_KEY=ck_your_key_here npm startRegistry information
Package:
@costkits/costkits-mcpCategory: Healthcare / Finance / Data
Transport: stdio
Authentication: CostKits API key
Public demo tool:
demo_estimateSource: 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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/costkits/costkits-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server