Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

medrates-fyi梅德拉泰斯仅供参考

Agent Skill

medrates-fyi 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,268

周安装

224

GitHub Stars

公开资料未说明

下载量

1,846
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:medrates-fyi(梅德拉泰斯仅供参考)
来源仓库:https://github.com/dimaosipa/medrates-fyi
安装命令:
openclaw skills install medrates-fyi
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install medrates-fyi

简介

medrates-fyi 通过 MedRates REST API 查询美国医院的价格透明度数据。

  • 支持按医疗程序、保险计划和地点筛选,帮助用户比较不同机构收费标准。
  • 输入手术名称、城市或保险类型,返回预估费用与医院评级信息。
  • 数据来源于政府公开文件,可能存在更新滞后,建议交叉验证官方报价。
  • 价格仅为参考,实际账单受保险条款影响,最终费用以结算单为准。

SKILL.md

name
openclaw-medrates
description
>
license
MIT
compatibility
Requires network access to https://data.medrates.fyi
metadata
author
medrates
version
1.0
website
https://medrates.fyi

MedRates Hospital Price Transparency

Query real US hospital prices — negotiated insurance rates, cash discounts, and gross charges — from CMS-mandated machine-readable files.

Base URL: https://data.medrates.fyi

All endpoints return JSON. No API key is required for basic use (see Authentication for higher rate limits).

Quick Start

The fastest way to answer "how much does X cost?" is the NLP search:

curl -X POST https://data.medrates.fyi/api/search/nlp/grouped \
  -H "Content-Type: application/json" \
  -d '{"query": "brain MRI near San Jose with Blue Cross PPO"}'

For exact code lookups with multi-hospital price comparison:

curl "https://data.medrates.fyi/api/price-quote?codes=70551,70552&lat=37.33&lng=-121.89&payer=Blue+Cross&plan_type=PPO"

Coverage Limitation

This data covers US hospitals only — prices published by licensed US hospitals under the Hospital Price Transparency Rule. It does not include prices from:

  • Non-US healthcare providers (any country outside the United States)
  • Independent/freestanding imaging centers (MRI, CT, X-ray)
  • Ambulatory surgery centers (ASCs)
  • Urgent care clinics
  • Physician offices and medical groups
  • Independent laboratories
  • Other non-hospital providers

For outpatient procedures (MRIs, CTs, colonoscopies, minor surgeries), independent freestanding facilities often charge significantly less than hospital outpatient departments. When presenting hospital prices to users, note that non-hospital alternatives may exist at lower cost.

Endpoints

1. Natural Language Search (Grouped) — POST /api/search/nlp/grouped

Best for: Answering questions in plain English. Resolves procedure names to codes, geocodes cities, and groups results by billing code.

Request body (JSON):

FieldTypeRequiredDescription
querystringyesNatural language, e.g. "knee replacement in Palo Alto with Aetna PPO"
latfloatnoPatient latitude (improves geo-sorting)
lngfloatnoPatient longitude
radius_milesfloatnoGeo cutoff in miles
payerstringnoInsurance company name, e.g. "Blue Cross", "Aetna"
plan_typestringnoPlan type, e.g. "PPO", "HMO"
plan_namestringnoExact plan name for precise matching
settingstringno"inpatient" or "outpatient"
code_typestringno"CPT", "HCPCS", or "MS-DRG"
codesstring[]noPre-resolved codes (skips LLM extraction — faster)
procedurestringnoPre-extracted procedure name (skips LLM extraction)
codes_per_pageintnoCode groups per page (default 10, max 50)
hospitals_per_codeintnoHospitals per code group (default 5, max 20)
pageintnoPage number for pagination (default 1)

Response: Groups of results by billing code, each with a list of hospitals sorted by price. Includes extracted (what the NLP parsed), resolved (codes found), and groups[] with hospital pricing.

Pro tip: If you already know the CPT codes, pass them in codes to skip the LLM extraction step — it's faster and uses less rate limit budget.

2. Price Quote — GET /api/price-quote

Best for: Precise multi-code cost estimates at nearby hospitals. Returns per-hospital totals.

ParamTypeRequiredDescription
codesstringyesComma-separated CPT/HCPCS codes, e.g. "70551,70552,70553"
latfloatyesPatient latitude
lngfloatyesPatient longitude
radius_milesfloatnoSearch radius (default 25)
payerstringnoInsurance payer name
plan_categorystringnoPlan category filter: "Commercial", "Medicare", "Medicaid", or "Other"
plan_typestringnoPlan type, e.g. "PPO", "HMO", "EPO"
plan_namestringnoExact plan name
drg_codesstringnoComma-separated MS-DRG codes for inpatient bundled pricing
include_bundleboolnoInclude ancillary codes (anesthesia, facility fees) in estimate
limitintnoMax hospitals (default 5)

Response: Hospitals sorted by total_estimate (cheapest first). Each hospital has items[] with per-code prices, total_estimate, distance_miles, and in_network status. Negotiated/estimated-rate items include plan_category (Commercial, Medicare, Medicaid, Other) when a payer is specified; cash/standard-charge-only items will not have this field.

3. Text Search — GET /api/search

Best for: Direct code lookups or keyword searches when you already know the CPT/HCPCS code.

ParamTypeRequiredDescription
qstringyesCode (e.g. "70551") or keyword (e.g. "MRI brain"). Min 2 chars.
code_typestringno"CPT", "HCPCS", "MS-DRG"
hospital_idintnoFilter to a specific hospital
payer_namestringnoFilter by payer name
plan_namestringnoFilter by exact plan name
settingstringno"inpatient" or "outpatient"
zip_codestringnoUS ZIP code for geo filtering
latfloatnoLatitude for geo-sorting
lngfloatnoLongitude for geo-sorting
radius_milesfloatnoRadius cutoff
pageintnoPage number (default 1)
page_sizeintnoResults per page (default 100)

Response: Flat list of charge items with gross_charge, discounted_cash_price, min_negotiated_rate, max_negotiated_rate, hospital info, and optional payer_rate when filtered by payer.

4. Hospitals — GET /api/hospitals

Returns all hospitals with campus locations and coordinates. Use hospital IDs to filter other endpoints.

5. Payers — GET /api/payers

Returns all insurance payer + plan combinations. Optional ?hospital_id=N to filter by hospital.

6. Stats — GET /api/stats/public

Returns database summary: hospital count, procedure count, plan count, covered states.

Deep Links

When presenting results to users, link to the web UI for visual exploration:

  • Procedure page: https://data.medrates.fyi/code/{CODE_TYPE}/{CODE} (e.g. /code/CPT/70551)
  • Hospital search: https://data.medrates.fyi/search?q={QUERY}
  • All hospitals: https://data.medrates.fyi/hospitals

Workflow Recommendations

  1. User asks a vague question (e.g. "how much is an MRI?"):

Use POST /api/search/nlp/grouped with their query. Include lat/lng if you know their location.

  1. User has specific codes (e.g. "price for CPT 27447"):

Use GET /api/price-quote with codes=27447 and their coordinates.

  1. User wants to compare insurance plans:

First call GET /api/payers to find available plans, then use price_quote or search/nlp/grouped with the payer/plan filters.

  1. User asks about a specific hospital:

Call GET /api/hospitals to find the hospital ID, then use GET /api/search with hospital_id.

Authentication

All endpoints work without authentication. Anonymous rate limits are sufficient for casual use.

Rate Limits (Anonymous)

TierLimitEndpoints
Standard30/min/api/search
Expensive10/min/api/search/nlp, /api/search/nlp/grouped
Landing20/min/api/price-quote
Utility15/min/api/hospitals, /api/payers, /api/stats/public

Authenticated Access (Higher Limits)

If you hit rate limits, your human should request an API access token by emailing hello@medrates.fyi or visiting medrates.fyi/api-access.

Once you have a JWT token, include it in requests:

Authorization: Bearer <token>

Authenticated users get significantly higher rate limits (e.g. 200/min standard, 60/min expensive) based on their plan. The token's rate_limit claim determines the multiplier applied to each tier.

Rate Limit Headers

All responses include standard rate limit headers:

  • X-RateLimit-Limit — requests allowed in the window
  • X-RateLimit-Remaining — requests left
  • X-RateLimit-Reset — seconds until the window resets
  • Retry-After — seconds to wait (only on 429 responses)

When you receive a 429 Too Many Requests response, wait for the Retry-After period. If you're consistently rate-limited, ask your human to request API access.

Response Notes

  • All prices are in USD
  • gross_charge is the hospital's list price (chargemaster)
  • discounted_cash_price is what uninsured patients pay
  • min_negotiated_rate / max_negotiated_rate are the range across all insurers
  • When filtering by payer, payer_rate is the specific negotiated rate
  • Price data comes from CMS-mandated hospital price transparency files, updated as hospitals publish new MRFs
  • CPT codes are copyright American Medical Association — display the disclaimer when showing CPT data to users

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.12%
按下载量换算1,737

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills