# medprice.ai > Democratizing access to medical markets — real hospital procedure pricing, surfaced through AI assistants via the Model Context Protocol (MCP). medprice.ai provides real hospital charge data for medical procedures, across a large and growing network of hospitals nationwide — see https://medprice.ai/hospitals for the live, current, full directory grouped by state. ## What it does - Returns min, max, average, and median costs for any procedure by billing code, for a specific hospital - Website pages at https://medprice.ai/codes/{codeType}/{code} (e.g. https://medprice.ai/codes/CPT/27447) compare pricing for one billing code across every hospital in the network that reports it - Data covers both inpatient and outpatient procedures - Tracks costs across multiple payment methodologies (case rate, fee schedule, per diem, percent of billed charges, etc.) - Accessible via two MCP tools: list_hospitals and get_hospital_chargemaster_cost ## How to connect ### Claude Code ``` claude mcp add --transport http mcp-medprice-ai https://mcp.medprice.ai/mcp ``` ### OpenAI Codex ``` codex mcp add medprice-ai --url https://mcp.medprice.ai/mcp ``` ### OpenAI app listing Open the official medprice.ai listing in ChatGPT's Plugin Directory: https://chatgpt.com/plugins/plugin_asdk_app_6a4d477c3fe0819182f242110de5ff14 Select Connect if available, complete sign-in or OAuth, then use the app in chat with @ mentions or by selecting + and then More. OpenAI has migrated app discovery to the Plugin Directory, and availability can depend on plan, workspace settings, role, and region. ### Claude Desktop (claude_desktop_config.json) ```json { "mcpServers": { "medprice-ai": { "url": "https://mcp.medprice.ai/mcp" } } } ``` ## Example queries - "What hospitals does medprice.ai cover?" - "What does Medical City Alliance charge for a knee replacement?" - "How much does an MRI brain with contrast cost at Trinity Medical Center?" - "Compare knee replacement costs across all hospitals in the network" - "What is the average cost of CPT 99213 at University of Iowa Health Care?" - "What does Meriter Hospital charge for a knee replacement under a fee schedule?" ## MCP tools ### list_hospitals Returns the supported hospitals with their hospital_id, EIN, name, locations, last_updated_on, and revision history (with per-revision has_payer_data). Call this first to discover a hospital's hospital_id. Parameters: - page_size: (optional) maximum number of hospitals to return. Defaults to 20, capped at 100. - page_token: (optional) opaque token from a previous list_hospitals response. Omit for the first page. ### get_hospital_chargemaster_cost Looks up cost stats for a billing code at a single hospital. Parameters: - hospital_id: (required) opaque hospital identifier from list_hospitals. - code_type: (required) code system the code belongs to, e.g. "APR-DRG", "CDM", "CPT", "HCPCS", "MS-DRG", "RC". Hospitals may support additional proprietary code types not listed here. - code: (required) the procedure code (e.g. "27447", "70553") - methodology: (optional) filter by pricing methodology. Valid values: - "case rate" — flat fee per case regardless of services used - "fee schedule" — fixed price per individual service - "per diem" — daily rate for inpatient stays - "percent of total billed charges" — payer pays a percentage of the hospital's billed amount - "other" — other methodologies - Omit to aggregate costs across all methodologies (recommended for general queries) ## Links - Website: https://medprice.ai - Full hospital directory (grouped by state): https://medprice.ai/hospitals - Cross-hospital pricing comparison by billing code: https://medprice.ai/codes/{codeType}/{code} - MCP server: https://mcp.medprice.ai/mcp