search_icd10pcs

Pack: medical-codes · Endpoint: https://gateway.pipeworx.io/medical-codes/mcp

Search ICD-10-PCS inpatient procedure codes by keyword or code prefix (keyless, offline: CMS FY${pcsData.fiscalYear} order file, ${pcsData.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, or use one-click install buttons:

{
  "mcpServers": {
    "medical-codes": {
      "url": "https://gateway.pipeworx.io/medical-codes/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 7, 2026