get_payer_policy
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/get_payer_policy for the schema, then POST the same URL with its arguments for the data.
One payer policy by its stable policy_id (built from the publisher and its own policy number, so it survives a moved link): its current document link, the publisher page where a replacement can be found, every edition we hold with fingerprint and date, how it is labelled (policy, listing or committee proposal), who and where it applies as the publisher states it, and its indexed sections. Get policy_id from search_payer_policies.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
policy_id | string | no | Stable id from a search result, e.g. aetna:6192-C or uhc:P-1475 |
version | string | no | Optional edition key or label (default: the current edition) |
doc_key | string | no | Optional exact edition id from a search result (overrides policy_id and version) |
Example call
Arguments
{
"policy_id": "aetna:6192-C"
}
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":"get_payer_policy","arguments":{"policy_id":"aetna:6192-C"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_payer_policy', {
"policy_id": "aetna:6192-C"
});
Response shape
| Field | Type | Description |
|---|---|---|
policy_id | string | null | |
found | boolean | |
selected | object | |
versions | array | |
source | string | null |
Full JSON Schema
{
"type": "object",
"properties": {
"policy_id": {
"type": [
"string",
"null"
]
},
"found": {
"type": "boolean"
},
"selected": {
"type": "object",
"properties": {
"doc_key": {
"type": [
"string",
"null"
]
},
"version_key": {
"type": [
"string",
"null"
]
},
"version_label": {
"type": [
"string",
"null"
]
},
"plan_year": {
"type": "number"
},
"is_current": {
"type": "boolean"
},
"effective_date": {
"type": [
"string",
"null"
]
},
"fingerprint": {
"type": [
"string",
"null"
]
},
"last_checked": {
"type": [
"string",
"null"
]
},
"first_seen": {
"type": [
"string",
"null"
]
},
"doc_status": {
"type": [
"string",
"null"
]
},
"publisher": {
"type": [
"string",
"null"
]
},
"plan_family": {
"type": [
"string",
"null"
]
},
"program": {
"type": [
"string",
"null"
]
},
"market_segment": {
"type": [
"string",
"null"
]
},
"document_type": {
"type": [
"string",
"null"
]
},
"status_label": {
"type": [
"string",
"null"
]
},
"status_note": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"policy_number": {
"type": [
"string",
"null"
]
},
"applicability": {
"type": [
"string",
"null"
]
},
"states": {
"type": [
"string",
"null"
]
},
"effective_date_basis": {
"type": [
"string",
"null"
]
},
"document_url": {
"type": [
"string",
"null"
]
},
"publisher_finder_url": {
"type": [
"string",
"null"
]
},
"review_flag": {
"type": [
"string",
"null"
]
},
"products_named": {
"type": "array",
"items": {
"type": "object",
"properties": {
"brand": {
"type": [
"string",
"null"
]
},
"ingredient": {
"type": [
"string",
"null"
]
},
"names_in_source": {
"type": "array"
},
"primary": {
"type": "boolean"
},
"rxcui_brand": {
"type": [
"string",
"null"
]
},
"rxcui_ingredient": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"heading": {
"type": [
"string",
"null"
]
},
"drugs": {
"type": "array"
},
"ingredients": {
"type": "array"
},
"indications": {
"type": "array"
},
"passage": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": true
}
},
"fingerprint_history": {
"type": "array"
}
},
"additionalProperties": true
},
"versions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"doc_key": {
"type": [
"string",
"null"
]
},
"version_key": {
"type": [
"string",
"null"
]
},
"version_label": {
"type": [
"string",
"null"
]
},
"plan_year": {
"type": "number"
},
"is_current": {
"type": "boolean"
},
"effective_date": {
"type": [
"string",
"null"
]
},
"fingerprint": {
"type": [
"string",
"null"
]
},
"last_checked": {
"type": [
"string",
"null"
]
},
"first_seen": {
"type": [
"string",
"null"
]
},
"doc_status": {
"type": [
"string",
"null"
]
}
},
"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.