hospital_prices
US hospital cash and negotiated prices for medical procedures: search hospitals by procedure, price statistics, check a price quote, and the list of procedure codes. Set intent, then pass that intent's arguments. Each call costs the price of its intent in USDC (x402), only when it succeeds.
search ($0.03): Find posted hospital self-pay (cash) prices for a service near a location, cheapest first. Arguments: code, service, zip, lat, lng, city, state, radius_miles, sort, limit, cursor, format.
stats ($0.02): Statistics of posted hospital cash prices for one service in a state or nationwide. Arguments: code, service, state, national.
check ($0.05): Compare a hospital price quote with posted cash prices nearby, with a neutral label and plain next steps. Arguments: code, service, quoted_price, zip, lat, lng, city, state. Required: quoted_price.
codes ($0.01): The dictionary of 28 hospital services with billing codes, plain names and everyday words. Arguments: q, category, format.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"intent": "<intent>"
},
"name": "hospital_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Plain words to look up, for example brain mri without contrast. Returns the best code and close alternatives. | |
| lat | No | Latitude in decimal degrees. Used together with lng. | |
| lng | No | Longitude in decimal degrees. Used together with lat. | |
| zip | No | 5-digit US ZIP code. A location is given as zip, or lat with lng, or city with state. | |
| city | No | City name. Used together with state. | |
| code | No | CPT or HCPCS billing code of one of the 28 supported services, for example 70551 (brain MRI, no contrast). Give code or service, not both. GET /v1/hospital-prices/codes lists them. | |
| sort | No | price = lowest cash price first. distance = nearest first. | |
| limit | No | Results per page (default 10, maximum 25). | |
| state | No | 2-letter US state code. Used together with city. | |
| cursor | No | Opaque value from next_cursor of the previous response, to fetch the next page with the same other parameters. | |
| format | No | concise = key fields. detailed = every field. | |
| intent | Yes | Which lookup to run. Each intent has its own price, listed in the tool description. | |
| service | No | The service in plain words, for example brain MRI without contrast. The free dictionary resolves it to a code, and the response shows the resolved code and close alternatives. | |
| category | No | Only services in this category. | |
| national | No | true for nationwide statistics. Give state or national=true, not both. | |
| quoted_price | No | The price quoted for the service, in US dollars. | |
| radius_miles | No | Search radius in miles (default 50, maximum 150). A larger value is lowered to the maximum. |