Check Medicare eligibility and determine Part A/B coverage using CMS eligibility resources

domain: cms.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. For providers submitting HIPAA-covered transactions, use the X12 270/271 transaction via the Medicare contractor (MAC) clearinghouse to query Medicare Part A and Part B eligibility, specifying service type codes '30' (health benefit plan coverage) or line-specific codes
  2. Alternatively, use the Medicare Beneficiary Identifier (MBI) rather than the legacy HICN (Health Insurance Claim Number) in all eligibility inquiries; CMS retired HICN-based lookups for most transactions—the MBI is the required identifier
  3. Parse the 271 response EB segments for Medicare-specific benefit codes: Part A hospital coverage, Part B medical coverage, Medicare Secondary Payer (MSP) indicators, and any HMO or managed care enrollment that would affect fee-for-service billing
  4. Check for Medicare Secondary Payer (MSP) situations using the MSP auxiliary segment in the 271 or via CMS's HIPAA Eligibility Transaction System (HETS); an active MSP record means Medicare is not the primary payer and a COB workflow must be triggered
  5. Log the eligibility response with the MBI, response date, and Part A/B effective dates; re-verify eligibility on each date of service since beneficiary enrollment status can change

Known gotchas

Related routes

Retrieve a Medicare beneficiary's Part A, B, and D claims history using the CMS Blue Button 2.0 FHIR API
bluebutton.cms.gov · 6 steps · unrated
Submit a Medicaid/CHIP eligibility inquiry via the CMS FHIR Patient Access API and parse coverage resources
cms.gov · 6 steps · unrated
Query the CMS Blue Button 2.0 FHIR API to retrieve a Medicare beneficiary's ExplanationOfBenefit resources and extract claims history
bluebutton.cms.gov · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans