PrimaryCheck

MCP server

PrimaryCheck speaks the Model Context Protocol: point an assistant at https://api.primarycheck.com/mcp with your API key and it can check coverage, run primary-source verifications, screen exclusions, search the national license index, read your roster and alerts, and add notes. Every tool is a named wrapper over one REST call, executed with your credential, so key scopes (a read-only key can read and search but not verify), rate limits, metering, the request log and the audit trail are exactly what the REST call would produce. A pc_test_ key gets sandbox answers.

Connect

# Claude Code
claude mcp add --transport http primarycheck https://api.primarycheck.com/mcp --header "Authorization: Bearer pc_live_…"

# Cursor (.cursor/mcp.json) / VS Code (.vscode/mcp.json) / any Streamable-HTTP client
{ "mcpServers": { "primarycheck": { "url": "https://api.primarycheck.com/mcp",
                                    "headers": { "Authorization": "Bearer pc_live_…" } } } }

The transport is Streamable HTTP, stateless: one JSON-RPC 2.0 request (or a batch) per POST /mcp, JSON answers, notifications acknowledged with 202. There are no sessions and no server-initiated stream, so a plain HTTPS client with a static header is enough.

Tools

ToolWhat it doesMetered
coverageWhich state / profession pairs are verifiable, how, and what is degraded — ask this first.no
verify_credentialsA live primary-source verification of one person: licenses, NPI, exclusion screen, certifications, education, employment. Waits up to 25 s.per claim
screen_exclusionsOIG LEIE, SAM, OFAC and every published state Medicaid list for one person (name + DOB; NPI makes it exact).yes
get_verification · list_verificationsRead one verification or list with the same filters as the API.no
lookup_npi · search_npiNPPES record for an NPI; NPIs by name.no
search_licenses · search_practitionersThe national license index across every indexed board; practitioners merge on NPI or name + DOB, never on name alone.no
get_profileEverything known about one NPI: NPPES, every indexed license, CMS enrollment, exclusion screen, freshness.npi + screen
list_subjects · get_subject · list_alertsYour roster and the monitoring alert queue.no
create_monitorRe-check a credential on a cadence with expiry alerts.per plan
add_noteAttach the reviewer's note to a subject, alert, match or verification.no

Results and errors

→ { "jsonrpc": "2.0", "id": 7, "method": "tools/call",
      "params": { "name": "verify_credentials", "arguments": { "person": { "firstName": "Amy", "lastName": "Kowalski", "dob": "1976-02-14" },
                  "claims": [ { "type": "license", "state": "PA", "profession": "rn", "number": "RN353077L" }, { "type": "exclusion_screen" } ],
                  "purpose": "employment", "consent": { "consentId": "cons_…" } } } }
← { "jsonrpc": "2.0", "id": 7, "result": { "isError": false,
      "structuredContent": { "id": "ver_…", "status": "complete", "claims": [ { "type": "license", "verdict": "verified", … }, … ] },
      "content": [ { "type": "text", "text": "{ …the same JSON… }" } ] } }

A REST error — unknown profession, missing consent, a read-only key calling verify_credentials — comes back as a tool result with isError: true and the API's error body (httpStatus, error.code, error.message), so the assistant can read it and correct the call. Only malformed requests (bad JSON, unknown method or tool, missing argument) are JSON-RPC protocol errors. The server's instructions tell the assistant to report a claim as verified only when the result says verdict: verified.