Skip to main content
Glama

Server Details

Hosted MCP server exposing US hospital procedure cost data to AI assistants

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
medprice-ai/mcp-medprice-ai
GitHub Stars
0
Server Listing
mcp-medprice-ai
ChatGPT
MedPrice AI
Claude
–

TDQS

A3.9/5.0

Scored across 24 tools

Disambiguation3/5

The tool set contains many deliberately coupled variants (all-terms vs provider/billing-class, single vs batch, provider-over-hospitals vs payer-over-hospitals vs payers-over-code), so an agent must read descriptions carefully. Names like get_code_payer_price_distribution vs get_code_payers_price_distribution and list_hospital_code_costs vs list_code_provider_hospitals are especially easy to misselect, though descriptions do supply guidance.

Naming Consistency4/5

Most tools follow snake_case verb_resource_action prefixes (get_/list_/batch_get_) and are readable. Minor deviations include the batch_get_ prefix and confusing singular/plural payer variants, but the overall convention is predictable.

Tool Count3/5

At 24 tools, the surface is heavy for an MCP server and includes several near-parallel variants that could be consolidated via parameters. The domain is genuinely multi-dimensional, so the count is defensible but borderline.

Completeness4/5

The read-only domain is well covered: code/hospital/payer/plan discovery, hospital costs, cross-hospital distributions, payer rates, batch lookups, and historical revisions. Minor gaps exist around direct single-hospital lookup and some metadata-by-id paths, but agents have workarounds.

Available Tools

24 tools
batch_get_hospital_chargemaster_costBatch get hospital chargemaster costsA
Read-only
Inspect

Looks up cost stats for several (code_type, code) pairs at one hospital (identified by hospital_id) in a single call - the batch counterpart to get_hospital_chargemaster_cost. Use this instead of calling get_hospital_chargemaster_cost once per code when pricing a fixed set of codes at one hospital (e.g. cross-linking a curated list of procedures on a hospital's page). Capped at 100 codes per call; a request over that is rejected with INVALID_ARGUMENT rather than silently truncated. Served from the hospital-prices serving snapshot, which pools exactly (exact medians), so figures can differ slightly from earlier results of this tool. Like those, each figure still combines facility and professional charges (and all settings) into one number; use batch_get_hospital_provider_code_costs for a per-billing-class breakdown instead.

Inputs: codes (required), hospital_id (required), revision_id. Returns: results

batch_get_hospital_provider_code_costsBatch get a hospital's provider chargesA
Read-only
Inspect

Batch counterpart to get_hospital_provider_code_costs: one hospital's provider charges for 1 to 100 codes in a single call, results in request order. A code the hospital doesn't charge is an entry with no costs, not an error. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: codes (required), hospital_id (required), filter, group_by, +1 more.

get_code_payer_price_distributionGet one payer's price distribution for a codeA
Read-only
Inspect

Distribution (min/p10/q1/median/q3/p90/max, std dev, histogram, nearest hospital per percentile) of one payer's rate for a (code_type, code) across hospitals, one figure per hospital; the payer-specific counterpart to get_code_provider_price_distribution. The filter must name every term the group_by grouping keeps, else INVALID_ARGUMENT. Pass plan_slug (from list_payer_plans) to distribute one plan's rates alone; MEDIAN is then only valid with PAYER_GROUP_BY_PER_COMBINATION. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), payer_slug (required), state, +6 more.

get_code_payers_price_distributionCompare payers' prices for a codeA
Read-only
Inspect

Distribution of a code's price across payers, one figure per payer (how the payers compare), the third view beside get_code_provider_price_distribution (over hospitals) and get_code_payer_price_distribution (over one payer's hospitals). The filter must name every term the group_by grouping keeps, else INVALID_ARGUMENT. Each payer is reduced to one figure over its hospitals (average weighted by rate lines; MEDIAN is the median of the hospitals' averages; MIN/MAX the lowest/highest hospital row). Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), state, filter, +6 more.

get_code_price_distributionGet price distribution for a billing codeA
Read-only
Inspect

Returns the distribution of every hospital's price for a code_type/code, computed server-side: min/p10/q1/median/q3/p90/max, standard deviation, a histogram, and the real hospital nearest each percentile. Use this instead of paging through list_hospital_code_costs when you want to know how prices spread across hospitals (e.g. "is $12k high for MS-DRG 788?" - pass reference_price to get the number of hospitals priced below it). All figures are in terms of the chosen statistic (default: each hospital's average price). Served from the hospital-prices serving snapshot, which pools exactly (exact medians), so figures can differ slightly from earlier results of this tool. Like those, each figure still combines facility and professional charges (and all settings) into one number; use get_code_provider_price_distribution for a per-billing-class breakdown instead. With statistic MIN/MAX the figure is now the hospital's lowest/highest charge itself, not widened by the filing's per-item minimum/maximum.

Inputs: code (required), code_type (required), bin_count, statistic, +3 more. Returns: A statistic ACROSS hospitals of one per-hospital value (the request's statistic…

get_code_provider_price_distributionGet provider price distribution for a codeA
Read-only
Inspect

Distribution (min/p10/q1/median/q3/p90/max, std dev, histogram, nearest hospital per percentile) of one figure per hospital for a code, never blending billing classes. The filter must name every term the group_by grouping keeps (all three of billing_class, methodology and setting for the default; the billing class or the methodology for those groupings; nothing for GROUP_BY_ALL), else INVALID_ARGUMENT; use *_UNSPECIFIED for 'not filed'. Counterpart to get_code_price_distribution. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), state, filter, +6 more.

get_code_provider_terms_summarySummarize the price terms hospitals file a code underA
Read-only
Inspect

Which billing classes, methodologies and settings hospitals file a (code_type, code) under, and how many hospitals each group has, so a caller can offer the choices before calling list_code_provider_hospitals or get_code_provider_price_distribution. group_by sets what each entry is a group of (default: one set of terms). A hospital filing several groups is counted in each, so don't sum the entries' hospital_count; use the top-level hospital_count for distinct hospitals. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), state, group_by, +1 more.

get_hospital_chargemaster_costGet hospital chargemaster costA
Read-only
Inspect

Looks up one hospital's cost stats (min/max/avg/median/std_dev and sample counts) for a code_type/code: a single all-terms figure, or one entry per requested methodology. Served from the hospital-prices serving snapshot, which pools exactly (exact medians), so figures can differ slightly from earlier results of this tool. Like those, each figure still combines facility and professional charges (and all settings) into one number; use get_hospital_provider_code_costs for a per-billing-class breakdown instead. Fails with UNAVAILABLE until the server has opened a snapshot. Fields without a counterpart in the snapshot data are left empty (description.methodology_note).

Inputs: code (required), code_type (required), hospital_id (required), revision_id, +1 more. Returns: found, results, hospital, hospital_id

get_hospital_code_payer_ratesGet a hospital's payer plan rates for a codeA
Read-only
Inspect

Every plan rate (per payer and plan, with price terms) one hospital files for a (code_type, code), cheapest average first. Pass revision_id (from list_hospitals) to answer for a past filing. NOT_FOUND when the hospital has no payer rates at all; an empty rates list when it has some but none for this code. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), hospital_id (required), filter, +1 more.

get_hospital_provider_code_costsGet a hospital's provider charges for a codeA
Read-only
Inspect

Returns one hospital's own charges for a (code_type, code), one entry per row of the group_by grouping (default: per billing class, methodology and setting; never blended unless GROUP_BY_ALL), plus an all_terms figure over all of them regardless of grouping. Unlike get_hospital_chargemaster_cost, billing classes are not mixed into one figure. Pass revision_id to answer for a past filing. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), hospital_id (required), filter, +2 more.

get_payerGet a payerA
Read-only
Inspect

One payer's header: display name and counts, plus its top codes (grouped like the provider RPCs; the filter may name only terms the grouping keeps) and the states it appears in. state narrows only the payer's counts: top_codes stay network-wide. NOT_FOUND when no hospital in the state files the payer. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: payer_slug (required), state, filter, group_by, +1 more.

list_code_payer_hospitalsList one payer's rates for a code across hospitalsA
Read-only
Inspect

One payer's rate for a (code_type, code) at each hospital, one row per hospital and billing class/methodology/setting, paginated, rolled up across the payer's plans there. Good for 'which hospital is cheapest for Aetna members'. Defaults/caps page_size at 500; includes total_count. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), payer_slug (required), state, +5 more.

list_code_payersList payers' negotiated rates for a codeA
Read-only
Inspect

Every insurer (payer) with a negotiated rate for a (code_type, code), one summary per payer and billing class/methodology/setting, across hospitals, most hospitals first: hospital_count, count_rate, min/avg/median-of-hospital-averages/max rate and the price terms. Billing classes, methodologies and settings are never blended. Use the returned payer_slug (e.g. "aetna") with list_code_payer_hospitals. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), state, filter.

list_code_provider_hospitalsList hospitals' provider charges for a codeA
Read-only
Inspect

Each hospital's charges for a (code_type, code), one row per hospital and group of the group_by grouping (default: per billing class, methodology and setting; GROUP_BY_ALL gives one row per hospital), paginated. The billing-class-aware counterpart to list_hospital_code_costs, good for 'which hospital is cheapest for X'. Defaults/caps page_size at 500; includes total_count and hospital_count. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: code (required), code_type (required), query, state, +6 more.

list_codesList billing codes for a code typeA
Read-only
Inspect

Returns every distinct code catalogued under a given code_type, paginated, with each code's raw chargemaster description and the number of hospitals reporting it. Use this to discover which codes exist under a code system (e.g. all CPT codes) before looking up prices with get_hospital_chargemaster_cost or list_hospital_code_costs. Pass query to text-search codes/descriptions instead of listing a whole code_type. Pass hospital_id to restrict results to codes that one hospital actually reports.

Inputs: sort, query, code_type, page_size, +3 more. Returns: codes, total_count, next_page_token

list_code_typesList billing code typesA
Read-only
Inspect

Returns every distinct code_type (e.g. CPT, MS-DRG) with catalogued cost data, along with each type's distinct code count and total hospital reports. Unpaginated. Use this to discover which code systems have data before drilling into list_codes.

Inputs: no named parameters. Returns: code_types

list_hospital_code_costsList hospital costs for a billing codeA
Read-only
Inspect

Returns cost stats for every hospital with a matching chargemaster entry for a code_type/code. Use this instead of calling get_hospital_chargemaster_cost once per hospital when comparing prices for the same procedure across hospitals (e.g. "which hospital has the cheapest MS-DRG 652?"). Defaults to returning every matching hospital (currently at most a few hundred) in one call. If the response's next_page_token is non-empty, the result set was truncated: call this tool again passing that exact value as page_token to get the next page, and keep doing so until next_page_token is empty - do not stop after one page and conclude a hospital has no data for this code. The response's total_count field (total across all pages) can be compared against how many results you've accumulated so far as a completeness check. Served from the hospital-prices serving snapshot, which pools exactly (exact medians), so figures can differ slightly from earlier results of this tool. Like those, each figure still combines facility and professional charges (and all settings) into one number; use list_code_provider_hospitals for a per-billing-class breakdown instead. page_tokens from before this change are not valid.

Inputs: code (required), code_type (required), query, order_by, +4 more. Returns: results, total_count, next_page_token

list_hospital_payersList the payers a hospital files rates forA
Read-only
Inspect

A hospital's payers rolled up from its plans, most plans first: display_name, plan_count, payer_rate_rows and filed_rate_count. Unpaginated. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: hospital_id (required).

list_hospital_plansList the plans a hospital files rates underA
Read-only
Inspect

The payers and plans one hospital files negotiated rates under, across all its codes, most codes first, paginated, with code_count, payer_rate_rows and filed_rate_count. Includes total_count. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: hospital_id (required), page_size, page_token, payer_slug, +1 more.

list_hospital_provider_codesList the codes a hospital chargesA
Read-only
Inspect

Lists the codes one hospital reports on its latest (or a given) revision, as list_codes does, each with that hospital's own all-terms sample counts. Paginated; supports query, sort and code_type like list_codes. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: hospital_id (required), sort, query, code_type, +3 more.

list_hospitalsList supported hospitalsA
Read-only
Inspect

Returns the hospitals supported by the medprice.ai API, with their hospital_id (opaque handle), EIN, name, structured_locations (addresses with geocoded coordinates where available), last_updated_on, and revision history (with per-revision has_payer_data, revision_id, and added_at - when medprice itself ingested that revision, as opposed to revision_date's source-file-reported update date). Defaults to returning the entire registry (currently a few hundred hospitals) in one call. If the response's next_page_token is non-empty, the result set was truncated: call this tool again passing that exact value as page_token to get the next page, and keep doing so until next_page_token is empty - do not stop after one page and conclude the list is complete. The response's total_count field (total across all pages) can be compared against how many hospitals you've accumulated so far as a completeness check, e.g. before answering questions like 'does medprice.ai cover any hospitals in Iowa'.

Inputs: query, state, page_size, page_token. Returns: hospitals, total_count, next_page_token

list_payer_hospitalsList the hospitals that file a payerA
Read-only
Inspect

The hospitals that file a payer across all codes, optionally in one state, paginated: plan_count, payer_rate_rows and filed_rate_count per hospital. Includes total_count. For one payer's rates for a specific code use list_code_payer_hospitals. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: payer_slug (required), query, state, order_by, +2 more.

list_payer_plansList a payer's plansA
Read-only
Inspect

The plans a payer is filed under, most hospitals first, paginated: plan_slug, plan name, hospital_count, code_count, payer_rate_rows and filed_rate_count. Use plan_slug with get_code_payer_price_distribution. Includes total_count. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: payer_slug (required), state, page_size, page_token, +1 more.

list_payersList payersA
Read-only
Inspect

Every insurer (payer) in the snapshot, independent of any code, most hospitals first, with display_name, hospital_count, code_count and payer_rate_rows. About 70, so unpaginated. Use the payer_slug with get_payer, list_payer_plans, list_payer_hospitals and the code-level payer tools. Backed by the hospital-prices serving snapshot; fails with UNAVAILABLE until the server has opened one.

Inputs: state, min_hospital_count.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      A read-only MCP server that lets AI assistants explore cleaned fictional hospital tables by listing and describing tables, running bounded SQLite SELECT queries, and reviewing the data-quality log and caveats. It can be used as a hosted remote connector or run locally.
      5
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A multi-purpose MCP server for AI-powered healthcare assistance that processes clinical data through configurable LLM providers. Maintains webhook endpoints for patient data processing with PostgreSQL logging and OpenAPI documentation.
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.