Backwork MCP Server

Official Model Context Protocol (MCP) server for the Backwork API. It gives AI assistants controlled access to Medicare and payer medical policies, medical code intelligence, prior authorization checks, claim validation, compliance review, drug formulary evidence, and webhook operations.
Quick start
The fastest way in is the hosted server with Claude Code:
claude mcp add backwork --transport http https://backworkhealth.com/mcp
There are two ways to connect:
| Hosted remote | Local stdio |
|---|
| Endpoint | https://backworkhealth.com/mcp (Streamable HTTP) | npx -y @backwork/mcp |
| Auth | OAuth in the browser, no key to copy | BACKWORK_API_KEY=bwk_live_... |
| Use when | Your client supports remote MCP with OAuth | Your client only runs local commands, or you want the server on your machine |
The hosted endpoint only accepts OAuth. Do not send a Backwork API key as a bearer token to https://backworkhealth.com/mcp. The OAuth grant is read-only (backwork:mcp read), so the hosted server offers only read actions: no webhook management and no compliance acknowledgements. Use local stdio with a write-scoped live key for those.
Calls draw on your organization's request credits, like any other /api/v1 call. A bwk_test_ key works only on the sandbox (https://backworkhealth.com/api/sandbox/v1), which covers policy search, code lookup, prior-auth check and coverage evaluation; to use it, set BACKWORK_API_BASE to that URL.
Setup for each client is in Connect your client. Agent-oriented install notes are in llms-install.md.
How it works
flowchart LR
client[MCP client] -->|stdio or Streamable HTTP| server[Backwork MCP server]
server -->|API key or OAuth bearer| api[Backwork API /api/v1]
The server exposes eight workflow-level tools rather than one tool per endpoint. Each tool calls the Backwork API only through the operation catalog in src/api-operations.ts, returns readable text plus structuredContent, and cites the policy sources it used. Which tools and actions you see depends on how you connect (see Production availability).
Tools
Tool names use the backwork_ prefix for discoverability when this server is installed alongside other MCP servers. The default surface is intentionally workflow-level rather than a 1:1 API wrapper, so agents see fewer choices and common tasks require fewer tool calls.
| Primary tool | Purpose |
|---|
backwork_coverage_lookup | Look up procedure codes and combine code details, policy evidence, prior authorization, claim risk, jurisdiction comparison, and spending evidence. With payer, code details list only that payer's policies and say how many other payers' policies were left out |
backwork_policy_research | Search policies, fetch one policy, search extracted criteria, review policy changes, map MAC jurisdictions, or compare how MACs cover the same codes |
backwork_claim_validation | Validate claim coverage, documentation requirements, denial risk, and optional policy-specific criteria |
backwork_prior_auth_research | Check prior authorization from Backwork's policies (Medicare, or a named payer's), or start and poll a background job that searches public payer websites |
backwork_drug_formulary_research | Search commercial pharmacy-benefit evidence from CVS Caremark, Express Scripts, and UnitedHealthcare / Optum Rx |
backwork_compliance_review | Review compliance stats and list unreviewed policy changes; with an API key, also acknowledge changes |
backwork_webhook_management | List, create, update, delete, or test webhook endpoints. Backwork sends one event, compliance.acknowledged; policy-change webhooks are not sent. Needs a write-scoped API key |
backwork_system_health | Check Backwork API health and dependency status. API-key connections only |
Response format
Every tool accepts:
{
"response_format": "markdown"
}
Use "markdown" for readable output or "json" to make the text content mirror the returned structuredContent.
Example prompts
Is CPT 76942 covered in Texas, and does it require prior authorization?
Compare coverage for J0585 across JM and JH.
Validate denial risk for 99213 with diagnosis E11.9 for Medicare in Texas.
Search formulary evidence for Ozempic across commercial PBMs.
Connect your client
Claude Code
claude mcp add backwork --transport http https://backworkhealth.com/mcp