search_payer_policies

Pack: payer-policies · 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_payer_policies for the schema, then POST the same URL with its arguments for the data.

Find published payer coverage policy documents for a drug, optionally for one indication, plan or state. Drug is a brand or ingredient name (Zepbound or tirzepatide): both reach the same documents, and the product name each source uses is kept. Returns each matching document with its plan, plan year, document type, link, the matching section (drug AND indication matched inside the same section), effective date, when it was last read and its fingerprint. Phase 1 indexes about 20 documents from Aetna commercial pharmacy bulletins, UnitedHealthcare commercial programs and policies, and Oregon Medicaid fee-for-service. Every answer states which requested plans were searched, which are not indexed, and which sources are stale: an empty result means no matching document in that stated scope, never “not covered”.

Parameters

NameTypeRequiredDescription
drugstringyesBrand or ingredient name, e.g. Zepbound, tirzepatide, Wegovy, semaglutide, Mounjaro, Ozempic
indicationstringnoOptional indication in plain words, e.g. obstructive sleep apnea, weight management, type 2 diabetes, cardiovascular risk reduction
plansarraynoOptional plans to search, e.g. [“Aetna”, “UnitedHealthcare”, “Oregon Medicaid”, “Cigna”]. A plan outside the index is listed under plans_not_indexed with zero results
itemsstringno
statestringnoOptional two-letter state code. Documents limited to named states are kept only when the state is among them
document_typestringnoOptional: formulary_listing, prior_authorization_policy, medical_policy or committee_proposal
plan_yearnumbernoOptional plan year, e.g. 2026 (Aetna bulletins are published per plan year)
current_onlybooleannoOnly the current edition of each policy (default false: earlier plan-year editions are returned and labelled)
limitnumbernoMaximum documents (default 10, max 50)

Example call

Arguments

{
  "drug": "tirzepatide",
  "indication": "obstructive sleep apnea",
  "plans": [
    "Aetna",
    "Cigna"
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/payer-policies/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_payer_policies","arguments":{"drug":"tirzepatide","indication":"obstructive sleep apnea","plans":["Aetna","Cigna"]}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_payer_policies', {
  "drug": "tirzepatide",
  "indication": "obstructive sleep apnea",
  "plans": [
    "Aetna",
    "Cigna"
  ]
});

Response shape

FieldTypeDescription
queryobject
scopeobject
countnumber
resultsarray
sourcestring | null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "object",
      "properties": {
        "drug": {
          "type": "object",
          "properties": {
            "input": {
              "type": [
                "string",
                "null"
              ]
            },
            "kind": {
              "type": [
                "string",
                "null"
              ]
            },
            "brand": {
              "type": [
                "string",
                "null"
              ]
            },
            "ingredient": {
              "type": [
                "string",
                "null"
              ]
            },
            "rxcui": {
              "type": [
                "string",
                "null"
              ]
            },
            "ingredient_rxcui": {
              "type": [
                "string",
                "null"
              ]
            },
            "method": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "additionalProperties": true
        },
        "indication": {
          "type": "object",
          "properties": {
            "text": {
              "type": [
                "string",
                "null"
              ]
            },
            "resolved_to": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "matched": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "additionalProperties": true
        },
        "plans_requested": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "state": {
          "type": [
            "string",
            "null"
          ]
        },
        "document_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "plan_year": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "scope": {
      "type": "object",
      "properties": {
        "documents_in_index": {
          "type": "number"
        },
        "plans_searched": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "publisher": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "plan_family": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "plan_slug": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "market_segment": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "documents": {
                "type": "number"
              }
            },
            "additionalProperties": true
          }
        },
        "plans_not_indexed": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "requested": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "indexed_nearby": {
                "type": "array"
              },
              "results": {
                "type": "number"
              }
            },
            "additionalProperties": true
          }
        },
        "stale_sources": {
          "type": "array"
        },
        "documents_flagged_missing": {
          "type": "array"
        },
        "documents_excluded_by_state": {
          "type": "number"
        },
        "documents_naming_the_drug_without_the_indication": {
          "type": "number"
        },
        "reading_an_empty_result": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "count": {
      "type": "number"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "policy_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "doc_key": {
            "type": [
              "string",
              "null"
            ]
          },
          "publisher": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_family": {
            "type": [
              "string",
              "null"
            ]
          },
          "market_segment": {
            "type": [
              "string",
              "null"
            ]
          },
          "program": {
            "type": [
              "string",
              "null"
            ]
          },
          "plan_year": {
            "type": "number"
          },
          "document_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "status_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "status_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "policy_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "object",
            "properties": {
              "label": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "is_current": {
                "type": "boolean"
              }
            },
            "additionalProperties": true
          },
          "effective_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "effective_date_basis": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_checked": {
            "type": [
              "string",
              "null"
            ]
          },
          "fingerprint": {
            "type": [
              "string",
              "null"
            ]
          },
          "applicability": {
            "type": [
              "string",
              "null"
            ]
          },
          "states": {
            "type": [
              "string",
              "null"
            ]
          },
          "state_limit": {
            "type": [
              "string",
              "null"
            ]
          },
          "document_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "publisher_finder_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "product_names_in_source": {
            "type": "array",
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "doc_status": {
            "type": [
              "string",
              "null"
            ]
          },
          "matching_sections": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": true
      }
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "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 payer-policies pack
{
  "mcpServers": {
    "payer-policies": {
      "url": "https://gateway.pipeworx.io/payer-policies/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 24, 2026