Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · Health

How to Use CMS Open Payments research payment rankings in Muse Code

Rank reported research funding by sponsor, site, investigator, study, or product. Use the rankings to identify where funding is concentrated before examining individual payments.

Prompts to try with CMS Open Payments research payment rankings in Muse Code

Copy an example into Muse Code, or ask in your own words.

Use CMS Open Payments research payment rankings to identify MD Anderson's largest research sponsors and build a chart in this project from the returned results.

CMS Open Payments research payment rankingsMuse Code
Try asking
  • Use CMS Open Payments research payment rankings to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from CMS Open Payments research payment rankings and tell me what changed since last week.

  • Check CMS Open Payments research payment rankings and summarize what you find in three bullet points.

  • Pull the newest data from CMS Open Payments research payment rankings and give me the result as a table.

How to set up CMS Open Payments research payment rankings in Muse Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run CMS Open Payments research payment rankings

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "openpaymentsdata-cms-gov/research-payments/top",
        "input": {
          "group_by": "manufacturer"
        }
      }'

Then paste one of the prompts above: Muse Code finds CMS Open Payments research payment rankings on Spiral, shows the price and runs it.

CMS Open Payments research payment rankings providers and prices

Spiral runs CMS Open Payments research payment rankings through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
CMS Open Payments research payments · Top
openpaymentsdata-cms-gov/research-payments/top

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Group bymanufacturer, recipient, investigator, study, or product

What to total by: the paying manufacturer; the recipient (teaching hospital, institution or practitioner paid); the first principal investigator; the study (name and ClinicalTrials.gov ID, with its sponsor); or the first product (with its sponsor).

Limit1 to 10025

Most results to return.

Offset0 to 10000

Results to skip; pass next_offset from the previous page.

Max amount0 to 10000000000

Largest payment amount in USD, inclusive.

Min amount0 to 10000000000

Smallest payment amount in USD, inclusive.

Program year2013 to 2100

Program year, the calendar year the payments were made. Defaults to the latest year CMS has published (2025, published June 30, 2026). CMS keeps the latest seven years online, 2019 to 2025 now; each is its own dataset, so a call covers one year.

Every API field of CMS Open Payments research payments · Top is on its tool page: open its card above.

What can you do with CMS Open Payments research payment rankings in Muse Code?

Build a hospital research funding report with CMS disclosures as its evidence. A coding agent can turn returned payments, rankings, or annual totals into tables and charts in your project.

Prepare a teaching hospital funding brief

Build an MD Anderson brief using annual research totals, sponsor rankings, and individual payments that explain the largest funding relationships.

Compare teaching hospitals

Compare MD Anderson and Memorial Sloan Kettering using annual totals, ranked funding sources, and payment records. Keep the comparison limited to research disclosures reported to CMS.

Assess sponsor concentration

Identify the sponsors that dominate a hospital's reported research funding, inspect their underlying payments, and place the concentration alongside the hospital's annual totals.

Explain a hospital's annual funding change

Start with a teaching hospital's annual totals, then use rankings and individual records to investigate the reported funding behind a change. Account for publication delays when interpreting recent years.

Review a new CMS publication

Compare a saved hospital funding report with the next CMS publication. Check changes in annual totals, sponsor rankings, and individual payment records.

Build a national research funding overview

Use national annual totals to establish the trend, rankings to identify major funding concentrations, and individual payment records to illustrate the reported transactions.

Questions about CMS Open Payments research payment rankings in Muse Code

Can Muse Code use CMS Open Payments research payment rankings?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run CMS Open Payments research payment rankings like any built-in tool.

How much does CMS Open Payments research payment rankings cost in Muse Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

Do I need an Alexandria account to use CMS Open Payments research payment rankings in Muse Code?

No. Spiral runs CMS Open Payments research payment rankings on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up CMS Open Payments research payment rankings in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while CMS Open Payments research payment rankings runs?

CMS Open Payments research payment rankings runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

How current is CMS Open Payments research data?

CMS publishes the previous program year's full datasets by June 30 and refreshes them in January. Research funding therefore appears on a publication cycle rather than as payments happen.

How far back does the searchable data go?

CMS currently provides detailed searchable data for 2019 through 2025. Records for 2013 through 2018 are available through its archived datasets.

Does the public data include every recent research payment?

Eligible research payment records can remain unpublished for up to four years. An absent payment is not proof that no funding occurred.

What qualifies as a research payment?

CMS defines research payments as transfers connected with a formal research agreement or research protocol. Its general payments category covers transfers outside those arrangements.

Who supplies the payment information?

Reporting entities track their financial transactions annually and submit them to CMS. The records identify the reporting manufacturer or group purchasing organization and the recipient.

Get started

Start using CMS Open Payments research payment rankings in Muse Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse Code:

Set up Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options