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

Search ICD-10-PCS inpatient procedure codes by keyword or code prefix (keyless, offline: CMS FY${pcsMeta.fiscalYear} order file, ${pcsMeta.count} billable codes). Diagnoses are search_icd10; PCS is what a hospital bills the procedure itself under. E.g. “hip replacement” -> [{code:“0SR9019”, description:“Replacement of Right Hip Joint with Metal Synthetic Substitute, Cemented, Open Approach”}]; “0SR9” returns that whole family.

Parameters

NameTypeRequiredDescription
querystringyesProcedure keywords (all words must appear), or an ICD-10-PCS code prefix like “0SR9”.
limitnumbernoMax results (1-100, default 15).

Example call

Arguments

{
  "query": "hip replacement"
}

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":"search_icd10pcs","arguments":{"query":"hip replacement"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_icd10pcs', {
  "query": "hip replacement"
});

More examples

{
  "query": "0SR9",
  "limit": 10
}

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.

Regenerated from source · build October 22, 2026