Free US health insurer and hospital negotiated rates (price transparency), with Medicare benchmarks.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
How a provider's negotiated rates compare with peers in the same state (optionally same specialty): the provider's rate, peer p25/median/p75, percentile rank and % of Medicare for each code and payer product. Use it for "how does my practice's contract compare" questions.
comma-separated billing codes
two-letter state
TIN, NPI or name of the provider/practice
payer filter or "all"
"office" (default, base rates without modifiers), "facility" or "any"
optional product/network filter
optional peer specialty (taxonomy text or code)
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http ratecommons https://www.ratecommons.org/mcp
How a provider's negotiated rates compare with peers in the same state (optionally same specialty): the provider's rate, peer p25/median/p75, percentile rank and % of Medicare for each code and payer product. Use it for "how does my practice's contract compare" questions.
| Argument | Type | Description |
|---|---|---|
| codes* | string | comma-separated billing codes |
| payer | string | payer filter or "all" |
| place | string | "office" (default, base rates without modifiers), "facility" or "any" |
| state* | string | two-letter state |
| network | string | optional product/network filter |
| provider* | string | TIN, NPI or name of the provider/practice |
| specialty | string | optional peer specialty (taxonomy text or code) |
{
"type": "object",
"required": [
"provider",
"codes",
"state"
],
"properties": {
"codes": {
"type": "string",
"description": "comma-separated billing codes"
},
"payer": {
"type": "string",
"default": "all",
"description": "payer filter or \"all\""
},
"place": {
"type": "string",
"default": "office",
"description": "\"office\" (default, base rates without modifiers), \"facility\" or \"any\""
},
"state": {
"type": "string",
"description": "two-letter state"
},
"network": {
"type": "string",
"default": "",
"description": "optional product/network filter"
},
"provider": {
"type": "string",
"description": "TIN, NPI or name of the provider/practice"
},
"specialty": {
"type": "string",
"default": "",
"description": "optional peer specialty (taxonomy text or code)"
}
}
}Which payers publish a billing code, its type, published text where licensable (CPT text is withheld), and national Medicare physician fee schedule amounts.
| Argument | Type | Description |
|---|---|---|
| code* | string | billing code |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "billing code"
}
}
}Side-by-side rates of several providers for several codes, per payer product (median of published amounts).
| Argument | Type | Description |
|---|---|---|
| codes* | string | comma-separated billing codes, e.g. "99213,99214,73721" |
| payer | string | payer filter or "all" |
| place | string | "office" (default, base rates without modifiers), "facility" or "any" |
| state* | string | two-letter state |
| network | string | optional product/network filter |
| providers* | string | comma-separated TINs, NPIs or provider names, e.g. "Baylor Scott,742664409" |
{
"type": "object",
"required": [
"codes",
"state",
"providers"
],
"properties": {
"codes": {
"type": "string",
"description": "comma-separated billing codes, e.g. \"99213,99214,73721\""
},
"payer": {
"type": "string",
"default": "all",
"description": "payer filter or \"all\""
},
"place": {
"type": "string",
"default": "office",
"description": "\"office\" (default, base rates without modifiers), \"facility\" or \"any\""
},
"state": {
"type": "string",
"description": "two-letter state"
},
"network": {
"type": "string",
"default": "",
"description": "optional product/network filter"
},
"providers": {
"type": "string",
"description": "comma-separated TINs, NPIs or provider names, e.g. \"Baylor Scott,742664409\""
}
}
}What data is loaded (payers, products, networks) and whether the app is ready.
No arguments.
{
"type": "object",
"required": [],
"properties": {}
}Find networks by product, plan or employer name (Aetna publishes plan/employer names; Cigna and UHC name files by product), e.g. "Choice POS II", "MCKESSON", "Options PPO", "OAP".
| Argument | Type | Description |
|---|---|---|
| payer | string | payer filter or "all" |
| query* | string | text to search |
{
"type": "object",
"required": [
"query"
],
"properties": {
"payer": {
"type": "string",
"default": "all",
"description": "payer filter or \"all\""
},
"query": {
"type": "string",
"description": "text to search"
}
}
}Distribution of hospital prices for a code across the hospitals of a state (or the US), from the hospitals' own price files: how many hospitals publish it, quantiles of the per-hospital plan amount, of cash prices and of gross charges, and per insurance carrier. Use it for "what do hospitals in X charge / get paid for Y", "is this hospital price high", or market comparisons of facility prices.
| Argument | Type | Description |
|---|---|---|
| city | string | optional hospital city |
| code* | string | billing code(s), comma list up to 10 (CPT/HCPCS, MS-DRG, APR-DRG, APC) |
| payer | string | "all" (default), a carrier (aetna, cigna, uhc, anthem, bcbs, humana, ...) or a comma list |
| state* | string | two-letter state or "US" |
| program | string | "commercial" (default), "medicare_advantage", "medicaid", ... or "all" |
| setting | string | "outpatient", "inpatient" or "any" (default) |
| code_type | string | optional CPT, HCPCS, MS-DRG, APR-DRG or APC |
| zip_prefix |
Hospital prices from the HOSPITALS' OWN price files (federal hospital price transparency rule, 45 CFR 180): every hospital must publish, for every item and service, its gross (chargemaster) charge, its discounted cash price, and the amount each insurance plan pays, by payer and plan, with (since 2026) the median and 10th/90th percentile allowed amounts from claims. ~3,200 hospital files, every code. Use this for facility / hospital prices: what a hospital charges or is paid for an MRI, CT, surgery, ER visit, lab test, inpatient stay (MS-DRG), a hospital's cash price, chargemaster, Medicare Advantage or Medicaid plan rates at a hospital, or "cheapest hospital for X". For clinicians' and groups' negotiated rates use lookup_rates (insurer files).
| Argument | Type | Description |
|---|---|---|
| city | string | optional hospital city, e.g. "St. Louis" |
| code* | string | billing code(s), comma list up to 10: CPT/HCPCS "70553", MS-DRG "470" (3 digits), APR-DRG, APC |
| sort | string | for group_by "hospital": "median" (default, cheapest first), "cash", "gross", "plans", "name" |
| limit | integer | max rows (default 200) |
| payer | string | "all" (default), a carrier ("aetna", "cigna", "uhc", "anthem", "bcbs", "humana", "kaiser", "centene", "molina", ...), a comma list, or any text matched against the payer/plan names the hospital published |
| state |
Triangulate one hospital's prices from both sides: the hospital's own price file vs the insurers' Transparency in Coverage files (institutional rates published for the hospital's EIN/NPI), per code and insurer. Use it to check a hospital price, to see whether the two disclosures agree, or when a user asks which number is right. Commercial plans only (the insurer files cover commercial plans).
| Argument | Type | Description |
|---|---|---|
| codes* | string | billing code(s), comma list up to 10 |
| payer | string | "all" (default) or a comma list of cigna, aetna, uhc, bcbs, anthem |
| state | string | optional two-letter state to disambiguate the hospital name |
| hospital* | string | hospital name words, CCN, EIN or type-2 NPI (the best match is used; see search_hospitals) |
{
"type": "object",
"required": [
"hospital",
"codes"
],
"properties": {
"codes": {
"type": "string",
"description": "billing code(s), comma list up to 10"
},
"payer": {
"type": "string",
"default": "all",
"description": "\"all\" (default) or a comma list of cigna, aetna, uhc, bcbs, anthem"
},
"state": {
"type": "string",
"default": "",
"description": "optional two-letter state to disambiguate the hospital name"
},
"hospital": {
"type": "string",
"description": "hospital name words, CCN, EIN or type-2 NPI (the best match is used; see search_hospitals)"
}
}
}The payer products (network families) loaded, with network and plan counts.
| Argument | Type | Description |
|---|---|---|
| payer | string | payer filter or "all" |
{
"type": "object",
"required": [],
"properties": {
"payer": {
"type": "string",
"default": "all",
"description": "payer filter or \"all\""
}
}
}Negotiated rates for one billing code in one US state, one row per payer product, provider group (TIN) and price. Insurer files only; for a hospital's own prices (facility fee, cash price, chargemaster, MA/Medicaid plan rates at a hospital) use hospital_prices.
| Argument | Type | Description |
|---|---|---|
| city | string | optional practice city (NPPES), e.g. "Austin" |
| code* | string | billing code, e.g. CPT/HCPCS "99213", "70553", MS-DRG "470"; a comma list works too |
| limit | integer | max rows (default 200) |
| payer | string | "cigna", "aetna", "uhc", a comma list, or "all" |
| state* | string | two-letter state where the provider practices, e.g. "TX" (Aetna: 3 networks nationwide) |
| network | string | optional filter on product/network/plan/employer name, e.g. "Choice Plus", "OAP", "UNITED AIRLINES" |
| provider | string | optional TIN (9 digits), NPI (10 digits) or provider name |
| specialty | string | optional NUCC taxonomy text or code, e.g. "Orthopaedic Surgery", "Family Medicine", "207X00000X" |
Distribution of negotiated rates for a code in a state: provider-group count, min/p10/p25/median/p75/p90/max, mean, Medicare amount and median % of Medicare. Each provider group counts once (its median published amount). Insurer files; for hospitals' facility prices use hospital_market.
| Argument | Type | Description |
|---|---|---|
| city | string | optional practice city |
| code* | string | billing code, e.g. "99213" |
| payer | string | "cigna", "aetna", "uhc", comma list, or "all" |
| place | string | "office" (default: base rates with no modifiers that apply in an office or anywhere), "facility" (facility places of service) or "any" (every published amount, incl. modifiers 52/55/56/26/TC) |
| state* | string | two-letter state, e.g. "NY" |
| network | string | optional product/network/plan filter |
| group_by | string | "payer" (default), "product", "setting" or "none" |
| modifier | string | "" (unmodified/global rate, default), "26" (professional reading) or "TC" (technical component); use this rather than run_sql for component-level distributions |
Medicare physician fee schedule amounts (CY2026, non-facility and facility) for comma-separated HCPCS/CPT codes: national ("US") or adjusted by the state's mean locality GPCI.
| Argument | Type | Description |
|---|---|---|
| codes* | string | comma-separated codes, e.g. "99213,99214" |
| state | string | two-letter state or "US" (national) |
{
"type": "object",
"required": [
"codes"
],
"properties": {
"codes": {
"type": "string",
"description": "comma-separated codes, e.g. \"99213,99214\""
},
"state": {
"type": "string",
"default": "US",
"description": "two-letter state or \"US\" (national)"
}
}
}How many clinicians (NPIs) and TINs in an area have published rates in each payer product/network, and their share of all NPPES clinicians there. Use for comparing network breadth.
| Argument | Type | Description |
|---|---|---|
| city | string | optional practice city |
| payer | string | payer filter or "all" |
| state* | string | two-letter state |
| group_by | string | "product" (default) or "network" |
| specialty | string | optional taxonomy text or code, e.g. "Cardiovascular Disease" |
| zip_prefix | string | optional ZIP prefix |
{
"type": "object",
"required": [
"state"
],
"properties": {
"city": {
"type": "string",
"default": "",
"description": "optional practice city"
},
"payer": {
"type": "string",
"default": "all",
"description": "payer filter or \"all\""
},
"state": {
"type": "string",
"description": "two-letter state"
},
"group_by": {
"type": "string",
"default": "product",
"description": "\"product\" (default) or \"network\""
},
"specialty": {
"type": "string",
"default": "",
"description": "optional taxonomy text or code, e.g. \"Cardiovascular Disease\""
},
"zip_prefix": {
"type": "string",
"default": "",
"description": "optional ZIP prefix"
}
}
}Which payer products a provider has published rates in (by NPI, TIN, or name + state).
| Argument | Type | Description |
|---|---|---|
| state | string | two-letter state (required when searching by name) |
| provider* | string | NPI (10 digits), TIN (9 digits) or name |
{
"type": "object",
"required": [
"provider"
],
"properties": {
"state": {
"type": "string",
"default": "",
"description": "two-letter state (required when searching by name)"
},
"provider": {
"type": "string",
"description": "NPI (10 digits), TIN (9 digits) or name"
}
}
}FASTEST way to get one provider's rates for many codes (one call; use it instead of looping lookup_rates). Rows collapse networks that pay the same amount; each row has payer, tin, code, modifiers (26 = professional reading, TC = technical, blank = global), negotiated_type, rate, medicare, pct_of_medicare, networks count. Also returns the provider's flat all-services arrangements (code_type CSTM-ALL) if the payer uses one.
| Argument | Type | Description |
|---|---|---|
| codes* | string | comma-separated billing codes (up to 50), e.g. "70450,70460,70551,71046" |
| payer | string | "cigna", "aetna", "uhc", comma list, or "all" (Aetna: 3 networks nationwide) |
| state* | string | two-letter state where the provider practices |
| network | string | optional product/network filter |
| provider* | string | NPI (10 digits), TIN (9 digits) or name; resolve names with search_providers first if unsure |
{
"type": "object",
"required": [
"provider",
"codes",
"state"
],
"properties": {
"codes": {
"type": "string",
"description": "comma-separated billing codes (up to 50), e.g. \"70450,70460,70551,71046\""
},
"payer": {
"type": "string",
"default": "all",
"description": "\"cigna\", \"aetna\", \"uhc\", comma list, or \"all\" (Aetna: 3 networks nationwide)"
},
"state": {
"type": "string",
"description": "two-letter state where the provider practices"
},
"network": {
"type": "string",
"default": "",
"description": "optional product/network filter"
},
"provider": {
"type": "string",
"description": "NPI (10 digits), TIN (9 digits) or name; resolve names with search_providers first if unsure"
}
}
}Rank provider groups (TINs) by negotiated rates across a basket of codes, in one state or NATIONALLY (state "US", every state). Each group's rate per code is its median published office/base rate; the basket is combined as a weighted average (dollars) and a weighted average % of national Medicare. Use it for questions like "highest-paid radiology groups in the nation" (codes = the specialty's common CPTs, weights = their relative volume if known). National runs cover Cigna and UHC by default (Aetna's national files are heavy).
| Argument | Type | Description |
|---|---|---|
| codes* | string | comma-separated billing codes (up to 20), e.g. "70450,70553,71250,72148,74177,77067" |
| limit | integer | how many top groups to return (default 25) |
| payer | string | "cigna,uhc" (default), "cigna", "uhc", "aetna" or "all" |
| place | string | "office" (default), "facility" or "any" |
| state | string | two-letter state, a comma list of states, or "US" for national (default). A national run that runs out of time lists states_not_done in the first (summary) row: call again with those and merge |
| weights | string | optional comma-separated weights in the same order as codes (e.g. annual volumes); default equal |
Run ANY read-only DuckDB SQL over the price data, for questions the other tools do not answer (custom rankings, weighted baskets, cross-payer or cross-state comparisons, histograms, joins with Medicare...). Write one SELECT (CTEs allowed). Data is pulled in with table functions that take quoted string arguments only: rc_rates('<payers>', '<states>', '<codes>' [, '<specialty>' [, '<place>' [, '<network>']]]) Provider-group-level negotiated rates, one row per state x payer x group x code x distinct price (all of the payer's products/networks together; a group paid the same in 40 products is one row). payers: 'cigna', 'uhc', 'aetna', a comma list or 'all'. states: 'MO', 'MO,KS' or 'US' (all 52). codes: comma list, up to 30. specialty: optional filter on the group's main NPPES classification (e.g. 'Radiology'); use it for national queries, it makes them much faster. place: 'any' (default, every published row), 'office' (base rates, no amount-changing modifiers, office or anywhere) or 'facility'. network: optional filter on product/network/plan/employer name (e.g. 'Choice Plus', 'OAP'). Columns: state, payer, pg (group id, unique within a payer), tin, provider (group name), specialty, npis_in_area, tin_wide, code, negotiated_type ('negotiated','fee schedule','derived', 'percentage','per diem'), rate (dollars; a percent when negotiated_type='percentage'), rate_raw (as published), billing_class ('professional'/'institutional'), setting, modifiers (e.g. '26','TC',''), pos (comma list of place-of-service codes, '' = any), expiration. A group practicing in several states appears once per state: for national per-TIN stats use DISTINCT payer, tin, code, rate (or aggregate per state first). Payers publish placeholder amounts ($0.01, $99,999.xx, $999,999.xx): exclude them with rate > 0.01 AND rate < 99999. rc_rates_by_product(...) same arguments and columns plus `product`, one row per product: up to 3 states. rc_medicare('<state>') Medicare physician fee schedule CY2026: hcpcs, modifier (NULL = global, '26', 'TC'), status, state, nonfacility_amount, facility_amount, conversion_factor, year. '<state>' = 'US' (national) or a state (mean locality GPCI). rc_codes('<payers>') code index: payer, billing_code_type, billing_code, name, published_rows. rc_products('<payers>') networks: payer, net, product, label, n_plans, plan_names, file_names. rc_groups('<payers>', '<states>') groups practicing in the states: payer, state, pg, tin, tin_type, tin_wide, business_names, n_npi, name, cities, specialty. rc_group_npis('<payers>', '<states>') payer, state, pg, npi (clinicians of each group located there). rc_nppes('<states>') NPPES (up to 6 states): state, npi, name, entity_type, credential, city, zip5, taxonomy_code, taxonomy, classification, specialization. rc_code_file('<payer>', '<code>') the raw per-code file (ps, ns, price fields), for debugging. rc_hospitals('<states>') hospitals with price files: fid, name, cms_name, ccns, ein, npis, address, city, state, zip5, kind, last_updated, url, rates. rc_hospital_rates('<states>', '<codes>') the hospitals' own payer/plan rates (up to 10 codes): fid, state, code, ct (code type), setting, bc (billing class), mods, payer, plan, carrier, program, meth, dmin/dmax (dollars), pct (% of charges), est (pct x gross charge), alg, med/p10/p90 (allowed amounts on claims), claims, n_items. Join rc_hospitals on fid. Exclude placeholders with dmin < 9999999. rc_hospital_charges('<states>', '<codes>') per hospital x code x setting: descr, gross, gross_min, gross_max, cash, cash_max. Example, highest-paid radiology groups nationally on a weighted basket (weights = relative volume): WITH r AS (SELECT DISTINCT payer, tin, provider, code, rate FROM rc_rates('cigna,uhc', 'US', '70450,71250,74177,72148', 'Radiology', 'office') WHERE negotiated_type IN ('negotiated','fee schedule','derived') AND rate > 0.01 AND rate < 99999), w(code, wt) AS (VALUES ('70450', 3), ('71250', 2), ('74177', 4), ('72148', 2)), m AS (SELECT hcpcs AS code, nonfacility_amount AS mcr FROM rc_medicare('US') WHERE modifier IS NULL), g AS (SELECT payer, tin, any_value(provider) provider, code, median(rate) rate FROM r GROUP BY ALL) SELECT payer, tin, provider, count(*) n_codes, sum(rate * wt) / sum(wt) AS weighted_rate, 100 * sum(rate * wt) / sum(mcr * wt) AS pct_of_medicare FROM g JOIN w USING (code) JOIN m USING (code) GROUP BY ALL HAVING count(*) >= 3 ORDER BY pct_of_medicare DESC LIMIT 25 Limits: the call has about 4 minutes in total and ~1 GB of memory; national rc_rates over many codes is the slow part (fewer codes and a specialty filter keep it fast). If time runs out before every state is loaded, `notes` says which states were skipped: run again for those states. Results return at most max_rows rows. A missing rate means "no published rate", never "out of network". Percentages are not dollars.
Find hospitals that publish a price file, with their identifiers: name, CMS Certification Number (CCN), EIN (tax ID, the TIN insurers use), type-2 NPIs, address, the file's date and URL. Use it to resolve a hospital before hospital_prices or hospital_vs_insurer, or to list a city's hospitals with price files.
| Argument | Type | Description |
|---|---|---|
| ccn | string | optional CMS Certification Number |
| ein | string | optional EIN (9 digits) |
| npi | string | optional type-2 NPI |
| city | string | optional city |
| name | string | optional hospital name words, e.g. "Mercy South" |
| limit | integer | max rows (default 50) |
| state | string | optional two-letter state |
| zip_prefix | string | optional ZIP prefix |
{
"type": "object",
"required": [],
"properties": {
"ccn": {
"type": "string",
"default": "",
"description": "optional CMS Certification Number"
},
"ein": {
"type": "string",
"default": "",
"description": "optional EIN (9 digits)"
},
"npi": {
"type": "string",
"default": "",
"description": "optional type-2 NPI"
},
"city": {
"type": "string",
"default": "",
"description": "optional city"
},
"name": {
"type": "string",
"default": "",
"description": "optional hospital name words, e.g. \"Mercy South\""
},
"limit": {
"type": "integer",
"default": 50,
"description": "max rows (default 50)"
},
"state": {
"type": "string",
"default": "",
"description": "optional two-letter state"
},
"zip_prefix": {
"type": "string",
"default": "",
"description": "optional ZIP prefix"
}
}
}Search clinicians/organizations in NPPES (by NPI, or name/specialty/city within a state) and show the TINs payers list them under. Use to resolve a provider name to NPI/TIN before other tools.
| Argument | Type | Description |
|---|---|---|
| npi | string | a 10-digit NPI |
| city | string | practice city |
| name | string | provider or organization name (substring) |
| limit | integer | max rows |
| state | string | two-letter state (required unless npi is given) |
| specialty | string | taxonomy text, e.g. "Dermatology" |
{
"type": "object",
"required": [],
"properties": {
"npi": {
"type": "string",
"default": "",
"description": "a 10-digit NPI"
},
"city": {
"type": "string",
"default": "",
"description": "practice city"
},
"name": {
"type": "string",
"default": "",
"description": "provider or organization name (substring)"
},
"limit": {
"type": "integer",
"default": 50,
"description": "max rows"
},
"state": {
"type": "string",
"default": "",
"description": "two-letter state (required unless npi is given)"
},
"specialty": {
"type": "string",
"default": "",
"description": "taxonomy text, e.g. \"Dermatology\""
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 6, 2026.
A very long tool description (over 4,000 characters) is hard to review and easy to hide instructions in.
Fix: Keep the description to what the tool does and when to use it; move reference material to resources or docs.
| string |
| optional ZIP prefix |
| billing_class | string | "facility" (default), "professional" or "any" |
{
"type": "object",
"required": [
"code",
"state"
],
"properties": {
"city": {
"type": "string",
"default": "",
"description": "optional hospital city"
},
"code": {
"type": "string",
"description": "billing code(s), comma list up to 10 (CPT/HCPCS, MS-DRG, APR-DRG, APC)"
},
"payer": {
"type": "string",
"default": "all",
"description": "\"all\" (default), a carrier (aetna, cigna, uhc, anthem, bcbs, humana, ...) or a comma list"
},
"state": {
"type": "string",
"description": "two-letter state or \"US\""
},
"program": {
"type": "string",
"default": "commercial",
"description": "\"commercial\" (default), \"medicare_advantage\", \"medicaid\", ... or \"all\""
},
"setting": {
"type": "string",
"default": "",
"description": "\"outpatient\", \"inpatient\" or \"any\" (default)"
},
"code_type": {
"type": "string",
"default": "",
"description": "optional CPT, HCPCS, MS-DRG, APR-DRG or APC"
},
"zip_prefix": {
"type": "string",
"default": "",
"description": "optional ZIP prefix"
},
"billing_class": {
"type": "string",
"default": "facility",
"description": "\"facility\" (default), \"professional\" or \"any\""
}
}
}| string |
| two-letter state, or "US" for every state; required unless hospital is given |
| program | string | "commercial", "medicare_advantage", "medicaid", "medicare", "tricare", "va", "workers_comp", a comma list, or "all" (default) |
| setting | string | "outpatient", "inpatient" or "any" (default) |
| group_by | string | "hospital" (default without a hospital: one row per hospital and code with the cash price, gross charge and min/median/max plan amount) or "row" (default with a hospital: every payer/plan row) |
| hospital | string | optional hospital name (words, e.g. "Barnes Jewish"), CMS Certification Number (6 chars), EIN or type-2 NPI. Find exact matches with search_hospitals |
| code_type | string | optional CPT, HCPCS, MS-DRG, APR-DRG or APC (3-digit codes match both DRG types otherwise) |
| zip_prefix | string | optional ZIP prefix, e.g. "631" |
| billing_class | string | "facility" (default: the hospital's own fee, without professional rows or 26/TC component rows), "professional" (the fees some hospital files list for their employed physicians, modifier 26) or "any" |
{
"type": "object",
"required": [
"code"
],
"properties": {
"city": {
"type": "string",
"default": "",
"description": "optional hospital city, e.g. \"St. Louis\""
},
"code": {
"type": "string",
"description": "billing code(s), comma list up to 10: CPT/HCPCS \"70553\", MS-DRG \"470\" (3 digits), APR-DRG, APC"
},
"sort": {
"type": "string",
"default": "",
"description": "for group_by \"hospital\": \"median\" (default, cheapest first), \"cash\", \"gross\", \"plans\", \"name\""
},
"limit": {
"type": "integer",
"default": 200,
"description": "max rows (default 200)"
},
"payer": {
"type": "string",
"default": "all",
"description": "\"all\" (default), a carrier (\"aetna\", \"cigna\", \"uhc\", \"anthem\", \"bcbs\", \"humana\", \"kaiser\", \"centene\", \"molina\", ...), a comma list, or any text matched against the payer/plan names the hospital published"
},
"state": {
"type": "string",
"default": "",
"description": "two-letter state, or \"US\" for every state; required unless hospital is given"
},
"program": {
"type": "string",
"default": "",
"description": "\"commercial\", \"medicare_advantage\", \"medicaid\", \"medicare\", \"tricare\", \"va\", \"workers_comp\", a comma list, or \"all\" (default)"
},
"setting": {
"type": "string",
"default": "",
"description": "\"outpatient\", \"inpatient\" or \"any\" (default)"
},
"group_by": {
"type": "string",
"default": "",
"description": "\"hospital\" (default without a hospital: one row per hospital and code with the cash price, gross charge and min/median/max plan amount) or \"row\" (default with a hospital: every payer/plan row)"
},
"hospital": {
"type": "string",
"default": "",
"description": "optional hospital name (words, e.g. \"Barnes Jewish\"), CMS Certification Number (6 chars), EIN or type-2 NPI. Find exact matches with search_hospitals"
},
"code_type": {
"type": "string",
"default": "",
"description": "optional CPT, HCPCS, MS-DRG, APR-DRG or APC (3-digit codes match both DRG types otherwise)"
},
"zip_prefix": {
"type": "string",
"default": "",
"description": "optional ZIP prefix, e.g. \"631\""
},
"billing_class": {
"type": "string",
"default": "facility",
"description": "\"facility\" (default: the hospital's own fee, without professional rows or 26/TC component rows), \"professional\" (the fees some hospital files list for their employed physicians, modifier 26) or \"any\""
}
}
}| zip_prefix | string | optional ZIP prefix, e.g. "787" or "78701" |
| billing_class | string | optional "professional" or "institutional" |
{
"type": "object",
"required": [
"code",
"state"
],
"properties": {
"city": {
"type": "string",
"default": "",
"description": "optional practice city (NPPES), e.g. \"Austin\""
},
"code": {
"type": "string",
"description": "billing code, e.g. CPT/HCPCS \"99213\", \"70553\", MS-DRG \"470\"; a comma list works too"
},
"limit": {
"type": "integer",
"default": 200,
"description": "max rows (default 200)"
},
"payer": {
"type": "string",
"default": "all",
"description": "\"cigna\", \"aetna\", \"uhc\", a comma list, or \"all\""
},
"state": {
"type": "string",
"description": "two-letter state where the provider practices, e.g. \"TX\" (Aetna: 3 networks nationwide)"
},
"network": {
"type": "string",
"default": "",
"description": "optional filter on product/network/plan/employer name, e.g. \"Choice Plus\", \"OAP\", \"UNITED AIRLINES\""
},
"provider": {
"type": "string",
"default": "",
"description": "optional TIN (9 digits), NPI (10 digits) or provider name"
},
"specialty": {
"type": "string",
"default": "",
"description": "optional NUCC taxonomy text or code, e.g. \"Orthopaedic Surgery\", \"Family Medicine\", \"207X00000X\""
},
"zip_prefix": {
"type": "string",
"default": "",
"description": "optional ZIP prefix, e.g. \"787\" or \"78701\""
},
"billing_class": {
"type": "string",
"default": "",
"description": "optional \"professional\" or \"institutional\""
}
}
}| specialty | string | optional taxonomy text or code (peer group) |
| zip_prefix | string | optional ZIP prefix |
| billing_class | string | "professional" (default), "institutional" or "" for both |
{
"type": "object",
"required": [
"code",
"state"
],
"properties": {
"city": {
"type": "string",
"default": "",
"description": "optional practice city"
},
"code": {
"type": "string",
"description": "billing code, e.g. \"99213\""
},
"payer": {
"type": "string",
"default": "all",
"description": "\"cigna\", \"aetna\", \"uhc\", comma list, or \"all\""
},
"place": {
"type": "string",
"default": "office",
"description": "\"office\" (default: base rates with no modifiers that apply in an office or anywhere), \"facility\" (facility places of service) or \"any\" (every published amount, incl. modifiers 52/55/56/26/TC)"
},
"state": {
"type": "string",
"description": "two-letter state, e.g. \"NY\""
},
"network": {
"type": "string",
"default": "",
"description": "optional product/network/plan filter"
},
"group_by": {
"type": "string",
"default": "payer",
"description": "\"payer\" (default), \"product\", \"setting\" or \"none\""
},
"modifier": {
"type": "string",
"default": "",
"description": "\"\" (unmodified/global rate, default), \"26\" (professional reading) or \"TC\" (technical component); use this rather than run_sql for component-level distributions"
},
"specialty": {
"type": "string",
"default": "",
"description": "optional taxonomy text or code (peer group)"
},
"zip_prefix": {
"type": "string",
"default": "",
"description": "optional ZIP prefix"
},
"billing_class": {
"type": "string",
"default": "professional",
"description": "\"professional\" (default), \"institutional\" or \"\" for both"
}
}
}| modifier |
| string |
| "" (global/unmodified, default), "26" (professional reading) or "TC" (technical) |
| min_codes | integer | minimum codes a group must have rates for (default: half of the codes) |
| specialty | string | optional filter on the group's main NPPES classification, e.g. "Radiology" |
{
"type": "object",
"required": [
"codes"
],
"properties": {
"codes": {
"type": "string",
"description": "comma-separated billing codes (up to 20), e.g. \"70450,70553,71250,72148,74177,77067\""
},
"limit": {
"type": "integer",
"default": 25,
"description": "how many top groups to return (default 25)"
},
"payer": {
"type": "string",
"default": "cigna,uhc",
"description": "\"cigna,uhc\" (default), \"cigna\", \"uhc\", \"aetna\" or \"all\""
},
"place": {
"type": "string",
"default": "office",
"description": "\"office\" (default), \"facility\" or \"any\""
},
"state": {
"type": "string",
"default": "US",
"description": "two-letter state, a comma list of states, or \"US\" for national (default). A national run that runs out of time lists states_not_done in the first (summary) row: call again with those and merge"
},
"weights": {
"type": "string",
"default": "",
"description": "optional comma-separated weights in the same order as codes (e.g. annual volumes); default equal"
},
"modifier": {
"type": "string",
"default": "",
"description": "\"\" (global/unmodified, default), \"26\" (professional reading) or \"TC\" (technical)"
},
"min_codes": {
"type": "integer",
"default": 0,
"description": "minimum codes a group must have rates for (default: half of the codes)"
},
"specialty": {
"type": "string",
"default": "",
"description": "optional filter on the group's main NPPES classification, e.g. \"Radiology\""
}
}
}| Argument | Type | Description |
|---|---|---|
| sql* | string | one SELECT statement using the rc_* table functions above (DuckDB SQL dialect) |
| max_rows | integer | rows to return (default 500, at most 5000) |
{
"type": "object",
"required": [
"sql"
],
"properties": {
"sql": {
"type": "string",
"description": "one SELECT statement using the rc_* table functions above (DuckDB SQL dialect)"
},
"max_rows": {
"type": "integer",
"default": 500,
"description": "rows to return (default 500, at most 5000)"
}
}
}