Hosted MCP server exposing US hospital procedure cost data to AI assistants
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A hosted MCP server exposing US hospital chargemaster cost data to AI assistants.
https://mcp.medprice.ai/mcpapi.medprice.ai:443To share with everyone in a project, add --scope project (writes to .mcp.json). To make it available across all your projects, use --scope user.
The server exposes five tools:
list_hospitals β returns the supported hospitals with their hospital_id, EIN, name, structured_locations (addresses with geocoded coordinates where available), last_updated_on, and revision history (each revision's date, revision_id, and whether it has payer-specific rate data).get_hospital_chargemaster_cost β looks up cost stats for a billing code at a single hospital.list_hospital_code_costs β looks up cost stats for a billing code across every hospital that has a matching chargemaster entry, paginated. Use this instead of calling get_hospital_chargemaster_cost once per hospital when comparing prices for the same procedure across hospitals.list_code_types β lists every distinct billing code type (e.g. CPT, MS-DRG) with catalogued cost data, along with each type's distinct code count and total hospital reports.list_codes β lists every distinct code under a given code type, paginated, with a raw chargemaster description and reporting-hospital count per code. Use this to discover which codes exist under a code system before pricing them.The typical flow is to call list_hospitals first to discover available hospitals and their IDs, then call get_hospital_chargemaster_cost with the desired hospital_id β or call list_hospital_code_costs directly when the question is about a code across hospitals rather than one specific hospital. Once installed, you can just ask your assistant something like:
What's the fee schedule cost of MS-DRG 652 at Medical City Alliance?
The assistant will call list_hospitals to find the hospital's ID, then call get_hospital_chargemaster_cost with:
and returns:
list_hospitalspage_size (optional) β maximum number of hospitals to return. Defaults to 500 (the entire current registry in one call), capped at 500.page_token (optional) β opaque token from a previous response's next_page_token, for pagination. If next_page_token is non-empty, keep calling with it until it's empty rather than assuming one page is the full list.Each hospital's revisions array now includes a revision_id per revision (in addition to revision_date and has_payer_data) β pass it as get_hospital_chargemaster_cost's revision_id to price that specific past revision instead of the hospital's latest one.
get_hospital_chargemaster_costhospital_id (required) β opaque hospital identifier from list_hospitals.code_type (required) β code system, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC. Hospitals may also support additional proprietary code types.code (required) β the billing/chargemaster code.methodology (optional) β one of case rate, fee schedule, other, percent of total billed charges, per diem. Omit to aggregate across all methodologies.revision_id (optional) β a revision_id from list_hospitals, to price that specific past revision instead of the hospital's latest one.list_hospital_code_costsLike get_hospital_chargemaster_cost, but returns one result per hospital that has a matching chargemaster entry for the code, instead of requiring a hospital_id up front β useful for "which hospital is cheapest for X" questions without a list_hospitals + N Γ get_hospital_chargemaster_cost round trip.
code_type (required) β same as above.code (required) β same as above.methodology (optional) β same as above.page_size (optional) β maximum number of results to return. Defaults to 500 (every matching hospital in one call at the current registry size), capped at 500.page_token (optional) β opaque token from a previous response's next_page_token, for pagination. If next_page_token is non-empty, keep calling with it until it's empty rather than assuming one page is the full list.Returns results (each shaped like a get_hospital_chargemaster_cost response, plus a hospital_id to link back to list_hospitals/get_hospital_chargemaster_cost) and next_page_token. Only hospitals with a matching entry (their latest revision) are included β there are no found: false entries.
list_code_typesNo arguments. Returns code_types, one entry per distinct code type present in the catalog (most code-rich first), each with code_type, code_count (distinct codes catalogued under that type), and total_hospital_reports (sum of hospital_count across every code under that type β not a distinct-hospital count). Unpaginated.
Use this to discover which code systems have data before drilling into list_codes.
list_codescode_type (required) β code system to list codes for, e.g. CPT. From list_code_types.page_size (optional) β maximum number of results to return. Defaults to 500, capped at 500.page_token (optional) β opaque token from a previous response's next_page_token, for pagination. If next_page_token is non-empty, keep calling with it until it's empty rather than assuming one page is the full list.Returns codes (each with code, raw_description β raw chargemaster text, not necessarily a human-readable procedure name β and hospital_count, distinct hospitals reporting that code on their latest revision), next_page_token, and total_count (total matching codes across all pages). Use this to discover which codes exist under a code system before pricing them with get_hospital_chargemaster_cost or list_hospital_code_costs.
All MCP requests go to POST /mcp. PORT defaults to 3000.
TRANSPORT=http and PORT=3000 are set by default in the image. Override PORT if needed:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/medprice-ai)<a href="https://allmcps.com/mcp/medprice-ai"><img src="https://allmcps.com/api/badge/medprice-ai?style=directory" alt="MedPrice AI on AllMCPs" /></a>