get_icd10pcs
Pack: medical-codes · 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/get_icd10pcs for the schema, then POST the same URL with its arguments for the data.
Look up one exact 7-character ICD-10-PCS code, plus the sibling codes for the same procedure on the same body part (keyless, offline: CMS FY${pcsMeta.fiscalYear}). E.g. “0SR9019” -> its title plus the other 0SR9* right-hip-replacement codes, which is how you find the uncemented or ceramic alternative to a code you already have.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes | A 7-character ICD-10-PCS code, e.g. “0SR9019”. |
siblings | number | no | Max sibling codes sharing the first 4 characters (same procedure on the same body part) to include (0-100, default 10). |
Example call
Arguments
{
"code": "0SR9019"
}
curl
curl -X POST https://gateway.pipeworx.io/medical-codes/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_icd10pcs","arguments":{"code":"0SR9019"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_icd10pcs', {
"code": "0SR9019"
});
More examples
{
"code": "0DTJ4ZZ",
"siblings": 5
}
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 medical-codes pack
{
"mcpServers": {
"medical-codes": {
"url": "https://gateway.pipeworx.io/medical-codes/mcp"
}
}
}
See Getting Started for client-specific install steps.