open_payments_compare_companies

Pack: cms-open-payments · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/open_payments_compare_companies for the schema, then POST the same URL with its arguments for the data.

Compare 2–5 company-name queries across CMS Open Payments program years using authoritative match counts and clearly labeled bounded samples. This does not compare complete spend unless every matching row fits in the sample.

Parameters

NameTypeRequiredDescription
companiesarrayyes
itemsstringno
from_yearnumberno
to_yearnumberno
payment_typestringno
sample_per_yearnumberno

Example call

Arguments

{
  "companies": [
    "Pfizer",
    "Merck"
  ],
  "from_year": 2023,
  "to_year": 2025
}

curl

curl -X POST https://gateway.pipeworx.io/cms-open-payments/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"open_payments_compare_companies","arguments":{"companies":["Pfizer","Merck"],"from_year":2023,"to_year":2025}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('open_payments_compare_companies', {
  "companies": [
    "Pfizer",
    "Merck"
  ],
  "from_year": 2023,
  "to_year": 2025
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the cms-open-payments pack
{
  "mcpServers": {
    "cms-open-payments": {
      "url": "https://gateway.pipeworx.io/cms-open-payments/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 27, 2026