open_payments_record

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_record for the schema, then POST the same URL with its arguments for the data.

Look up ONE CMS Open Payments record by its record_id (the id shown on a payment row), e.g. “record 1006315103, 2023 General”. Needs the program year and payment type the record sits in, since ids repeat across years. Returns the recipient, paying company, amount, date, nature, products and dispute status for that record. CMS publishes company-reported relationships; a payment does not imply wrongdoing.

Parameters

NameTypeRequiredDescription
record_idstringyesCMS record id, e.g. “1006315103”.
yearnumbernoProgram year the record is in (default latest published year).
payment_typestringnoDefault General.

Example call

Arguments

{
  "record_id": "1006315103",
  "year": 2023,
  "payment_type": "General"
}

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_record","arguments":{"record_id":"1006315103","year":2023,"payment_type":"General"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('open_payments_record', {
  "record_id": "1006315103",
  "year": 2023,
  "payment_type": "General"
});

Response shape

FieldTypeDescription
program_yearnumber
payment_typestring
total_matchesnumber
returnednumber
paymentsarray
datasetobject
interpretationstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "program_year": {
      "type": "number"
    },
    "payment_type": {
      "type": "string"
    },
    "total_matches": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "payments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "record_id": {
            "type": "string"
          },
          "program_year": {
            "type": "number"
          },
          "recipient": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "profile_id": {
                "type": "string"
              },
              "npi": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "specialty": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "company": {
            "type": "string"
          },
          "submitting_company": {
            "type": "string"
          },
          "amount_usd": {
            "type": "number"
          },
          "payment_date": {
            "type": "string"
          },
          "nature": {
            "type": "string"
          },
          "form": {
            "type": "string"
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "type": {
                  "type": "string"
                },
                "category": {
                  "type": "string"
                },
                "device_pdi": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            }
          },
          "disputed": {
            "type": "string"
          },
          "ownership_interest": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "dataset": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "dataset_id": {
          "type": "string"
        },
        "distribution_id": {
          "type": "string"
        },
        "modified": {
          "type": "string"
        },
        "source_url": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "interpretation": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

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 November 24, 2026