L'Atlas / MCP servers / MedPrice AI
MCP server

MedPrice AI

io.github.medprice-ai/mcp-medprice-ai

MCP server OK 24 tools

Get a review See pricing

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

Technical sheet

Author
medprice-ai (registry namespace)
Repository
github.com/medprice-ai/mcp-medprice-ai
Site
—
Version
0.0.1
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://mcp.medprice.ai/mcp Streamable HTTP
Tools
24
Categories
—
Last updated
19 Jun 2026
Published
19 Jun 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.medprice-ai/mcp-medprice-ai.svg?lang=en)](https://latlas.dev/en/mcp/io.github.medprice-ai/mcp-medprice-ai)
HTML
<a href="https://latlas.dev/en/mcp/io.github.medprice-ai/mcp-medprice-ai"><img src="https://latlas.dev/badge/statut/mcp/io.github.medprice-ai/mcp-medprice-ai.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.medprice-ai/mcp-medprice-ai.svg?lang=en)](https://latlas.dev/en/mcp/io.github.medprice-ai/mcp-medprice-ai)
HTML
<a href="https://latlas.dev/en/mcp/io.github.medprice-ai/mcp-medprice-ai"><img src="https://latlas.dev/badge/fiche/io.github.medprice-ai/mcp-medprice-ai.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://mcp.medprice.ai/mcp
Last result
OK 28 Nov 2026, 09:24
Response time
1,045 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
mcp-medprice-ai 0.0.1
Tools
24

History

DateResultResponseTools
28 Nov 2026, 09:24OK1,045 ms24

Exposed tools (24, from tools/list, 28 Nov 2026)

get_hospital_chargemaster_cost

Get hospital chargemaster cost

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).

ParameterTypeRequiredDescription
hospital_idstringyesOpaque hospital identifier from list_hospitals.
code_typestringyesCode system the chargemaster/billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC. Hospitals may also support additional proprietary code types not listed here.
codestringyes
methodologiesarray<enum: "case rate" | "fee schedule" | "other" | "percent of total billed charges" | "per diem">noPricing methodologies to price, one result per entry in request order. Omit or pass an empty array to get a single aggregate result across all methodologies.
revision_idstringnoOptional. A revision_id from list_hospitals' per-hospital revisions array, to price that specific past revision instead of the hospital's latest one. Omit to use the latest revision.

batch_get_hospital_chargemaster_cost

Batch get hospital chargemaster costs

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.

ParameterTypeRequiredDescription
hospital_idstringyesOpaque hospital identifier from list_hospitals.
codesarray<object>yesThe (code_type, code) pairs to price at this hospital - up to 100 entries. Results come back in this same order.
revision_idstringnoOptional. A revision_id from list_hospitals' per-hospital revisions array, to price that specific past revision instead of the hospital's latest one, applied to every code in this batch. Omit to use the latest revision.

list_hospitals

List supported hospitals

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'.

ParameterTypeRequiredDescription
page_sizeintegernoMaximum number of hospitals to return. Defaults to 500 (covering the entire current registry in one call), capped at 500.
page_tokenstringnoOpaque token from a previous list_hospitals response's next_page_token field. Omit for the first page. Do not pass any other value (e.g. an offset or cursor you construct yourself) here. Only valid with the same query it was issued for.
querystringnoOptional case-insensitive hospital-name search: matches substrings of hospital_name, ranked exact name, name prefix, word-start, then other substrings (ties by name). Blank is treated as unset, which keeps the default hospital_id ordering. total_count counts matches only.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state (those whose states contain it). total_count counts matches only. Anything that is not a state code is rejected as INVALID_ARGUMENT. page_token is only valid with the same state it was is…

list_hospital_code_costs

List hospital costs for a billing code

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the chargemaster/billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC. Hospitals may also support additional proprietary code types not listed here.
codestringyes
methodologyenum: "case rate" | "fee schedule" | "other" | "percent of total billed charges" | "per diem"noPricing methodology. Omit to aggregate across all methodologies.
page_sizeintegernoMaximum number of results to return. Defaults to 500 (covering every matching hospital in one call at the current registry size), capped at 500.
page_tokenstringnoOpaque token from a previous list_hospital_code_costs response's next_page_token field. Omit for the first page. Only valid with the same code_type/code/methodology/min_sample_count/query/order_by it was issued for.
min_sample_countintegernoMinimum pricing sample size: only return hospitals whose price is backed by at least this many billing records (compared against the de-identified range's lower bound, so a '1 through 10' row counts as 1). 0 (default) disables the filter. Pass 1 to exclude hospitals with no real sample data at all…
querystringnoOptional case-insensitive hospital-name search, applied to the hospitals that report the code and ranked like list_hospitals' query (exact name, name prefix, word-start, other substrings). Blank is treated as unset. total_count and next_page_token describe the matches only.
order_byenum: "HOSPITAL_COST_ORDER_UNSPECIFIED" | "HOSPITAL_COST_ORDER_HOSPITAL_ID" | "HOSPITAL_COST_ORDER_RELEVANCE" | "HOSPITAL_COST_ORDER_SAMPLE_COUNT_DESC" | "HOSPITAL_COST_ORDER_SAMPLE_COUNT_ASC" | "HOSPITAL_COST_ORDER_AVG_ASC" | "HOSPITAL_COST_ORDER_AVG_DESC" | "HOSPITAL_COST_ORDER_MEDIAN_ASC" …noResult ordering. Unspecified (default) is HOSPITAL_COST_ORDER_RELEVANCE when query is set and HOSPITAL_COST_ORDER_HOSPITAL_ID otherwise. Ties break by hospital_id ascending. SAMPLE_COUNT_DESC/ASC order by the guaranteed pricing sample size (sample_count_sum_min); AVG/MEDIAN/MIN/MAX_ASC/DESC order b…

get_code_price_distribution

Get price distribution for a billing code

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
methodologyenum: "case rate" | "fee schedule" | "other" | "percent of total billed charges" | "per diem"noPricing methodology. Omit to aggregate across all methodologies.
min_sample_countintegernoMinimum pricing sample size: only include hospitals whose price is backed by at least this many billing records (same semantics as list_hospital_code_costs). 0 (default) disables the filter. Negative values are rejected.
bin_countintegernoNumber of histogram bars. Defaults to 16, capped at 200 (larger values are rejected).
reference_pricenumbernoOptional price to place on the distribution. When positive, hospitals_below_reference counts hospitals priced strictly below it. Negative values are rejected.
statisticenum: "PRICE_STATISTIC_AVERAGE" | "PRICE_STATISTIC_MEDIAN" | "PRICE_STATISTIC_MIN" | "PRICE_STATISTIC_MAX"noWhich per-hospital figure to distribute: each hospital's average (default), median, lowest filed price, or highest filed price.

get_hospital_provider_code_costs

Get a hospital's provider charges for a code

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.

ParameterTypeRequiredDescription
hospital_idstringyesOpaque hospital identifier from list_hospitals.
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
group_byenum: "GROUP_BY_PER_COMBINATION" | "GROUP_BY_BILLING_CLASS" | "GROUP_BY_METHODOLOGY" | "GROUP_BY_ALL" | "GROUP_BY_FACILITY_PLUS_PROFESSIONAL" | "GROUP_BY_BILLING_CLASS_METHODOLOGY" | "GROUP_BY_ALL_EXCEPT_PER_DIEM"noWhich rows exist: one per billing class + methodology + setting (GROUP_BY_PER_COMBINATION, the default), per billing class, per methodology, or GROUP_BY_ALL (one figure over everything, blending billing classes), GROUP_BY_ALL_EXCEPT_PER_DIEM (like ALL but without per diem rows, since a per diem is…
revision_idstringnoOptional. A revision_id from list_hospitals' per-hospital revisions array. Omit for the latest revision.

batch_get_hospital_provider_code_costs

Batch get a hospital's provider charges

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.

ParameterTypeRequiredDescription
hospital_idstringyesOpaque hospital identifier from list_hospitals.
codesarray<object>yes
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
group_byenum: "GROUP_BY_PER_COMBINATION" | "GROUP_BY_BILLING_CLASS" | "GROUP_BY_METHODOLOGY" | "GROUP_BY_ALL" | "GROUP_BY_FACILITY_PLUS_PROFESSIONAL" | "GROUP_BY_BILLING_CLASS_METHODOLOGY" | "GROUP_BY_ALL_EXCEPT_PER_DIEM"noWhich rows exist: one per billing class + methodology + setting (GROUP_BY_PER_COMBINATION, the default), per billing class, per methodology, or GROUP_BY_ALL (one figure over everything, blending billing classes), GROUP_BY_ALL_EXCEPT_PER_DIEM (like ALL but without per diem rows, since a per diem is…
revision_idstringnoOptional. A revision_id from list_hospitals. Omit for the latest revision.

list_hospital_provider_codes

List the codes a hospital charges

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.

ParameterTypeRequiredDescription
hospital_idstringyesOpaque hospital identifier from list_hospitals.
code_typestringnoCode system to list, e.g. CPT. Required unless query is set; with query it may be left empty to search across code types (CodeSummary.code_type tells the hits apart).
querystringnoOptional case-insensitive search over code prefix and descriptions.
sortenum: "CODE_SORT_UNSPECIFIED" | "CODE_SORT_HOSPITAL_COUNT_DESC" | "CODE_SORT_SAMPLE_COUNT_DESC" | "CODE_SORT_CODE_DESC" | "CODE_SORT_RELEVANCE" | "CODE_SORT_HOSPITAL_COUNT_ASC" | "CODE_SORT_SAMPLE_COUNT_ASC" | "CODE_SORT_MEDIAN_PRICE_DESC" …no
page_sizeintegerno
page_tokenstringnoOpaque next_page_token from a previous response; only valid with the same request fields.
revision_idstringnoOptional. A revision_id from list_hospitals. Omit for the latest revision.

list_code_provider_hospitals

List hospitals' provider charges for a code

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
group_byenum: "GROUP_BY_PER_COMBINATION" | "GROUP_BY_BILLING_CLASS" | "GROUP_BY_METHODOLOGY" | "GROUP_BY_ALL" | "GROUP_BY_FACILITY_PLUS_PROFESSIONAL" | "GROUP_BY_BILLING_CLASS_METHODOLOGY" | "GROUP_BY_ALL_EXCEPT_PER_DIEM"noWhich rows exist: one per billing class + methodology + setting (GROUP_BY_PER_COMBINATION, the default), per billing class, per methodology, or GROUP_BY_ALL (one figure over everything, blending billing classes), GROUP_BY_ALL_EXCEPT_PER_DIEM (like ALL but without per diem rows, since a per diem is…
order_byenum: "HOSPITAL_PROVIDER_CODE_COST_ORDER_UNSPECIFIED" | "HOSPITAL_PROVIDER_CODE_COST_ORDER_AVG_ASC" | "HOSPITAL_PROVIDER_CODE_COST_ORDER_AVG_DESC" | "HOSPITAL_PROVIDER_CODE_COST_ORDER_MEDIAN_ASC" | "HOSPITAL_PROVIDER_CODE_COST_ORDER_MEDIAN_DESC" | "HOSPITAL_PROVIDER_CODE_COST_ORDER_MIN_ASC" | "HOSPITAL_PROVIDER_CODE_COST_ORDER_MIN_DESC" | "HOSPITAL_PROVIDER_CODE_COST_ORDER_MAX_ASC" …noDefaults to relevance when query is set, hospital id otherwise.
page_sizeintegerno
page_tokenstringnoOpaque next_page_token from a previous response; only valid with the same request fields.
min_sample_countintegernoOnly rows backed by at least this many billing records (compared against the sample count's lower bound). Negative values are rejected.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…
querystringnoOptional case-insensitive hospital-name search.

get_code_provider_price_distribution

Get provider price distribution for a code

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
group_byenum: "GROUP_BY_PER_COMBINATION" | "GROUP_BY_BILLING_CLASS" | "GROUP_BY_METHODOLOGY" | "GROUP_BY_ALL" | "GROUP_BY_FACILITY_PLUS_PROFESSIONAL" | "GROUP_BY_BILLING_CLASS_METHODOLOGY" | "GROUP_BY_ALL_EXCEPT_PER_DIEM"noWhich rows exist: one per billing class + methodology + setting (GROUP_BY_PER_COMBINATION, the default), per billing class, per methodology, or GROUP_BY_ALL (one figure over everything, blending billing classes), GROUP_BY_ALL_EXCEPT_PER_DIEM (like ALL but without per diem rows, since a per diem is…
min_sample_countintegernoOnly hospitals backed by at least this many billing records. Negative values are rejected.
bin_countintegernoHistogram bars. Defaults to 16, max 200.
reference_pricenumbernoWhen positive, hospitals_below_reference counts hospitals priced strictly below it.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…
statisticenum: "PRICE_STATISTIC_AVERAGE" | "PRICE_STATISTIC_MEDIAN" | "PRICE_STATISTIC_MIN" | "PRICE_STATISTIC_MAX" | "PRICE_STATISTIC_PERCENT_OF_CHARGES_AVERAGE" | "PRICE_STATISTIC_PERCENT_OF_CHARGES_MEDIAN"noWhich per-hospital figure to distribute (default average). The PERCENT_OF_CHARGES_* values distribute the percentage of billed charges of rows filed under the percent-of-total-billed-charges methodology instead of dollars (every value in the response is then in whole percent; hospitals with no such…
include_class_breakdownbooleannoAlso return `facility` and `professional` (median and hospital count of each billing class's per-hospital figures, the same as one call per class, no histogram) so a facility-vs-professional comparison needs one call. Both classes are always returned whatever billing class the filter names; they fo…

get_code_provider_terms_summary

Summarize the price terms hospitals file a code under

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
group_byenum: "GROUP_BY_PER_COMBINATION" | "GROUP_BY_BILLING_CLASS" | "GROUP_BY_METHODOLOGY" | "GROUP_BY_ALL" | "GROUP_BY_FACILITY_PLUS_PROFESSIONAL" | "GROUP_BY_BILLING_CLASS_METHODOLOGY" | "GROUP_BY_ALL_EXCEPT_PER_DIEM"noWhich rows exist: one per billing class + methodology + setting (GROUP_BY_PER_COMBINATION, the default), per billing class, per methodology, or GROUP_BY_ALL (one figure over everything, blending billing classes), GROUP_BY_ALL_EXCEPT_PER_DIEM (like ALL but without per diem rows, since a per diem is…
min_sample_countintegernoOnly count hospitals whose figure has at least this many billing records (same rule as list_code_provider_hospitals). Negative values are rejected.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…

list_code_payers

List payers' negotiated rates for a code

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…

get_hospital_code_payer_rates

Get a hospital's payer plan rates for a code

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.

ParameterTypeRequiredDescription
hospital_idstringyesA hospital_id from list_hospitals.
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
revision_idstringnoOptional revision_id from list_hospitals; defaults to the hospital's latest revision.

list_code_payer_hospitals

List one payer's rates for a code across hospitals

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
payer_slugstringyesA payer_slug from list_code_payers, e.g. "aetna".
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
order_byenum: "HOSPITAL_PAYER_RATE_ORDER_UNSPECIFIED" | "AVG_ASC" | "AVG_DESC" | "MIN_ASC" | "MAX_DESC" | "HOSPITAL_NAME" | "MEDIAN_ASC" | "MEDIAN_DESC" …noDefaults to AVG_ASC (cheapest average first). STD_DEV_* orders by how widely the payer's rates vary at a hospital, COEFFICIENT_OF_VARIATION_* by that spread relative to the price level (comparable across hospitals); pair those with min_sample_count since thin filings have an artificially low spread…
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…
min_sample_countintegernoOnly hospitals whose figure has at least this many billing records (sample count lower bound). 0 keeps every hospital; negative is rejected.
page_sizeintegerno
page_tokenstringnoOpaque next_page_token from a previous response; only valid with the same request fields.

get_code_payer_price_distribution

Get one payer's price distribution for a code

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
payer_slugstringyesA payer_slug from list_payers or list_code_payers, e.g. "aetna".
group_byenum: "PAYER_GROUP_BY_PER_COMBINATION" | "PAYER_GROUP_BY_BILLING_CLASS" | "PAYER_GROUP_BY_METHODOLOGY" | "PAYER_GROUP_BY_ALL" | "PAYER_GROUP_BY_ALL_EXCEPT_PER_DIEM"noHow a hospital's rates are grouped (default PAYER_GROUP_BY_PER_COMBINATION: per billing class + methodology + setting). The filter must name every term the grouping keeps (PAYER_GROUP_BY_ALL with no filter, PAYER_GROUP_BY_BILLING_CLASS plus a billing_class, PAYER_GROUP_BY_METHODOLOGY plus a methodo…
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…
bin_countintegernoHistogram bars. Defaults to 16, max 200.
reference_pricenumbernoWhen positive, the response counts how many are priced strictly below it.
statisticenum: "PRICE_STATISTIC_UNSPECIFIED" | "PRICE_STATISTIC_AVERAGE" | "PRICE_STATISTIC_MEDIAN" | "PRICE_STATISTIC_MIN" | "PRICE_STATISTIC_MAX" | "PRICE_STATISTIC_PERCENT_OF_CHARGES_AVERAGE" | "PRICE_STATISTIC_PERCENT_OF_CHARGES_MEDIAN"noWhich figure to distribute (default average).
plan_slugstringnoOptional plan_slug from list_payer_plans: distribute that plan's rates alone (hospitals not filing the plan are left out). Empty means the payer as a whole.

get_code_payers_price_distribution

Compare payers' prices for a code

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.

ParameterTypeRequiredDescription
code_typestringyesCode system the billing code belongs to, e.g. APR-DRG, CDM, CPT, HCPCS, MS-DRG, RC.
codestringyes
group_byenum: "PAYER_GROUP_BY_PER_COMBINATION" | "PAYER_GROUP_BY_BILLING_CLASS" | "PAYER_GROUP_BY_METHODOLOGY" | "PAYER_GROUP_BY_ALL" | "PAYER_GROUP_BY_ALL_EXCEPT_PER_DIEM"noHow a hospital's rates are grouped (default PAYER_GROUP_BY_PER_COMBINATION: per billing class + methodology + setting). The filter must name every term the grouping keeps (PAYER_GROUP_BY_ALL with no filter, PAYER_GROUP_BY_BILLING_CLASS plus a billing_class, PAYER_GROUP_BY_METHODOLOGY plus a methodo…
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…
bin_countintegernoHistogram bars. Defaults to 16, max 200.
reference_pricenumbernoWhen positive, the response counts how many are priced strictly below it.
statisticenum: "PRICE_STATISTIC_UNSPECIFIED" | "PRICE_STATISTIC_AVERAGE" | "PRICE_STATISTIC_MEDIAN" | "PRICE_STATISTIC_MIN" | "PRICE_STATISTIC_MAX" | "PRICE_STATISTIC_PERCENT_OF_CHARGES_AVERAGE" | "PRICE_STATISTIC_PERCENT_OF_CHARGES_MEDIAN"noWhich figure to distribute (default average).
min_hospital_countintegernoLeave out payers filed by fewer hospitals than this (0 or 1: none). Negative is rejected.
include_class_breakdownbooleannoAlso return `facility` and `professional` (median price over payers and payer_count for each billing class, always both, for a facility-vs-professional comparison in one call). Only answered for a national request (no state, average statistic, min_hospital_count 0/1, a filter naming no methodology…

list_payers

List payers

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.

ParameterTypeRequiredDescription
min_hospital_countintegernoLeave out payers filed by fewer hospitals than this, to drop the long tail. 0 (default) returns all.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…

get_payer

Get a payer

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.

ParameterTypeRequiredDescription
payer_slugstringyesA payer_slug from list_payers or list_code_payers, e.g. "aetna".
group_byenum: "PAYER_GROUP_BY_PER_COMBINATION" | "PAYER_GROUP_BY_BILLING_CLASS" | "PAYER_GROUP_BY_METHODOLOGY" | "PAYER_GROUP_BY_ALL" | "PAYER_GROUP_BY_ALL_EXCEPT_PER_DIEM"noHow a hospital's rates are grouped (default PAYER_GROUP_BY_PER_COMBINATION: per billing class + methodology + setting). The filter must name every term the grouping keeps (PAYER_GROUP_BY_ALL with no filter, PAYER_GROUP_BY_BILLING_CLASS plus a billing_class, PAYER_GROUP_BY_METHODOLOGY plus a methodo…
filterobjectnoKeeps only some of the grouped rows (see group_by). Each field left out matches any value; set a field (even to its *_UNSPECIFIED value, which means 'not filed') to require it. Billing classes are never blended: a facility fee and a professional fee are separate bills.
top_code_countintegernoHow many top codes to return. Defaults to 10, capped at 100.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…

list_payer_plans

List a payer's plans

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.

ParameterTypeRequiredDescription
payer_slugstringyesA payer_slug from list_payers or list_code_payers, e.g. "aetna".
min_hospital_countintegernoLeave out plans filed by fewer hospitals than this.
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…
page_sizeintegernoDefaults/caps at 500.
page_tokenstringnoOpaque next_page_token from a previous response; only valid with the same request fields.

list_hospital_plans

List the plans a hospital files rates under

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.

ParameterTypeRequiredDescription
hospital_idstringyesA hospital_id from list_hospitals.
payer_slugstringnoOptional: only this payer's plans.
min_code_countintegernoLeave out plans with fewer codes than this.
page_sizeintegernoDefaults/caps at 500.
page_tokenstringnoOpaque next_page_token from a previous response; only valid with the same request fields.

list_hospital_payers

List the payers a hospital files rates for

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.

ParameterTypeRequiredDescription
hospital_idstringyesA hospital_id from list_hospitals.

list_payer_hospitals

List the hospitals that file a payer

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.

ParameterTypeRequiredDescription
payer_slugstringyesA payer_slug from list_payers or list_code_payers, e.g. "aetna".
statestringnoOptional two-letter USPS state code (e.g. "TX", case-insensitive): only hospitals with a location in that state are counted. A hospital in several states counts in each, so state figures can add up to more than national ones. Empty means every hospital; anything that is not a state code is rejected…
order_byenum: "PAYER_HOSPITAL_ORDER_UNSPECIFIED" | "PAYER_HOSPITAL_ORDER_RATE_ROWS_DESC" | "PAYER_HOSPITAL_ORDER_PLAN_COUNT_DESC" | "PAYER_HOSPITAL_ORDER_HOSPITAL_NAME"noDefaults to PAYER_HOSPITAL_ORDER_RATE_ROWS_DESC.
querystringnoOptional case-insensitive hospital-name search.
page_sizeintegernoDefaults/caps at 500.
page_tokenstringnoOpaque next_page_token from a previous response; only valid with the same request fields.

list_code_types

List billing code types

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.

No parameters.

list_codes

List billing codes for a code type

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.

ParameterTypeRequiredDescription
code_typestringnoCode system to list codes for, e.g. "CPT". From list_code_types. May be left empty when query is set, to search across code types (excluding hospital-specific CDM and LOCAL codes) - CodeSummary.code_type tells the hits apart in that case.
page_sizeintegernoMaximum number of results to return. Defaults to 500, capped at 500.
page_tokenstringnoOpaque token from a previous list_codes response. Omit for the first page. Only valid with the same query/code_type/sort it was issued for.
sortenum: "CODE_SORT_UNSPECIFIED" | "CODE_SORT_HOSPITAL_COUNT_DESC" | "CODE_SORT_SAMPLE_COUNT_DESC" | "CODE_SORT_CODE_DESC" | "CODE_SORT_RELEVANCE" | "CODE_SORT_HOSPITAL_COUNT_ASC" | "CODE_SORT_SAMPLE_COUNT_ASC" | "CODE_SORT_MEDIAN_PRICE_DESC" …noOrdering for the returned codes. CODE_SORT_UNSPECIFIED (default) sorts code-alphabetical. CODE_SORT_HOSPITAL_COUNT_DESC sorts most-hospitals-reporting first, for pre-sorted 'top codes' pages. CODE_SORT_SAMPLE_COUNT_DESC sorts by largest network-wide pricing sample size first (sample_count_max, alwa…
querystringnoCase-insensitive text search: matches the code as a prefix, and substrings of the raw and AI-generated descriptions. Descriptions are only searched for queries of 4+ characters; shorter queries match the code prefix only. When set, code_type may be left empty to search across code types.
min_class_hospital_countintegernoMinimum hospitals behind a billing class's median for the class orders (facility/professional median price: that class; facility share: both classes). A code below it sorts last but is still listed. Without it a code one hospital files can top the share lists. Ignored by other sorts and with hospit…
hospital_idstringnoOptional hospital scoping (a hospital_id from list_hospitals): restricts results to codes that hospital actually reports on its latest revision, and makes sample_count_min/max/exact that hospital's own sample size for the code rather than the network-wide total. Unset (default) is network-wide. pag…

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://mcp.medprice.ai/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http mcp-medprice-ai https://mcp.medprice.ai/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : mcp-medprice-ai ; URL : https://mcp.medprice.ai/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : mcp-medprice-ai ; Server URL : https://mcp.medprice.ai/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mcp-medprice-ai": {
      "url": "https://mcp.medprice.ai/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mcp-medprice-ai": {
      "type": "http",
      "url": "https://mcp.medprice.ai/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mcp-medprice-ai": {
      "url": "https://mcp.medprice.ai/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mcp-medprice-ai": {
      "httpUrl": "https://mcp.medprice.ai/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.mcp-medprice-ai]
url = "https://mcp.medprice.ai/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

MedPrice AI · L’Atlas · Tested on

Markdown
[MedPrice AI — L’Atlas](https://latlas.dev/en/mcp/io.github.medprice-ai/mcp-medprice-ai)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.