MCP server for CostKits: live healthcare procedure cost estimates and provider pricing.
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.
Ask questions such as:
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
Create a key at costkits.com/api-keys.
You can test the installation without a key using the demo_estimate tool.
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"
}
}
}
}
Restart Claude Desktop so it reloads the MCP configuration.
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.
| Tool | Purpose | Plan |
|---|---|---|
demo_estimate | Return a sample estimate and verify connectivity | None |
resolve_procedure | Convert free text into a supported procedure | Builder |
estimate_procedure_cost | Estimate procedure cost by geography | Builder |
calculate_liability | Calculate patient responsibility from benefit inputs | Builder |
full_estimate | Combine procedure, cost, provider, and liability data | Builder |
| Tool | Purpose | Plan |
|---|---|---|
find_providers | Find providers with observed negotiated prices | Builder |
get_provider | Retrieve a provider profile by NPI | Builder |
| Tool | Purpose | Plan |
|---|---|---|
list_procedures | List supported procedures and CPT codes | Builder |
get_procedure_details | Retrieve billing bundles and procedure facts | Builder |
get_coverage | Retrieve prior auth, cost-sharing, frequency, and trigger rules | Builder (triggers: Pro) |
list_carriers | List supported carrier identifiers | Free |
| Tool | Purpose | Plan |
|---|---|---|
analyze_bill | Flag possible duplicate, unbundled, or suspicious bill items | Pro |
Plans and pricing: costkits-api → plans-and-pricing.
agent_hint that tells the model what to call next. A typo'd procedure name becomes a resolve-and-retry, not a dead end.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.
| Env var | Required | Default | Purpose |
|---|---|---|---|
COSTKITS_API_KEY | For all tools except demo_estimate | — | Your ck_... key |
COSTKITS_API_BASE | No | https://api.costkits.com | Override for testing |
Requirements:
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
@costkits/costkits-mcpdemo_estimateCostKits API docs & examples · costkits.com · Interactive demo · Get an API key
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
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @costkits/costkits-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-costkits-costkits-mcp": {
"command": "npx",
"args": [
"-y",
"@costkits/costkits-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@costkits/costkits-mcpnpmio.github.costkits/costkits-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.