open_payments_company_history
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_company_history for the schema, then POST the same URL with its arguments for the data.
Build a cross-year CMS Open Payments history for a company-name substring. Annual counts are authoritative for that query; dollar figures cover only the returned bounded sample and company aliases may split or combine legal entities.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
company | string | yes | |
from_year | number | no | |
to_year | number | no | |
payment_type | string | no | |
sample_per_year | number | no |
Example call
Arguments
{
"company": "Pfizer",
"from_year": 2021,
"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_company_history","arguments":{"company":"Pfizer","from_year":2021,"to_year":2025}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('open_payments_company_history', {
"company": "Pfizer",
"from_year": 2021,
"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.