DocNexus MCP — Tool Reference

A read-only MCP connector that lets Claude query DocNexus Advanced Search on behalf of a logged-in platform user. 11 tools · read-only · capped at 10 rows/query · AWS Cognito auth · backend advanced-search.docnexus.ai.

All tools were verified live against production Advanced Search.

Sample queries supported today

Question Tool sequence Result Latency
Oncologists in California treating NSCLC lookup_valuesfind_hcps ranked provider list ~2.4s
Top KOLs in breast cancer lookup_valuesfind_kols KOLs tagged by expertise tier ~2.5s
Top prescribers of Keytruda by claim volume lookup_valueshcp_claim_volume leaderboard w/ claim counts ~2.9s
Same, ranked by unique patients hcp_claim_volume metric=patients leaderboard w/ patient counts ~2.6s
How big is the NSCLC market (claims + patients) lookup_valuesmarket_volume ×2 889,730 claims / 86,907 patients ~12s
Patient-volume trend for Ozempic lookup_valuespatient_volume_trend yearly time series ~2.4s
Orgs handling the most diabetes claims in CA lookup_valuesorg_claim_volume ranked org list ~2.9s
Executives at Cleveland Clinic lookup_valuesfind_executives named execs w/ contact ~1.2s
Referral network into family medicine find_referrals link to open in platform.docnexus.ai instant
Opportunity map for Ozempic in California lookup_valuesopportunity_map link to open the map in platform.docnexus.ai instant
Hospitals a given provider is affiliated with find_hcpshcp_affiliations affiliation history ~0.6s

Shared clinical filter set

Search tools accept these optional clinical filters (resolve codes/names via lookup_values first):

Plus limit / offset (hard-capped at 10 rows).

Tools

* = required.

lookup_values — resolver (call first)

Resolve free-text terms to canonical DocNexus values.

find_hcps — individual providers (Type-1 NPIs)

find_kols — key opinion leaders

Find KOLs for a condition / therapeutic area. Resolve the condition via lookup_values kind=condition first.

find_executives — leadership

Separate vocabulary — resolve via lookup_values executive_system / executive_title. No clinical filters.

hcp_claim_volume — top providers, ranked

org_claim_volume — top organizations, ranked

Orgs use 2-letter state codes (e.g. "CA"), not full names.

market_volume — total market size

patient_volume_trend — time series

find_referrals — referral network (platform redirect)

Referral-network analysis is an interactive view that lives in the DocNexus platform. This tool doesn't run the query here — calling it returns a link to open the analysis in platform.docnexus.ai. It exists so referral questions get a fast, branded pointer instead of a ~15s query, and to funnel that intent to the platform.

hcp_affiliations — a provider's org ties over time

opportunity_map — targeting / whitespace map (platform redirect)

Opens the DocNexus platform's interactive Opportunity Map pre-filtered to a market. Like find_referrals, this doesn't run in-chat — it returns a deep link to open the map in platform.docnexus.ai. Driven by codes + org name, not free text (no specialty/condition-name filter).

Response envelope

// search tools
{ "rows": [ /* ≤10 records */ ], "row_count": 10, "sql": "SELECT …", "pagination": { "limit": 10, "offset": 0 }, "hint": "…" }
// lookup_values
{ "values": ["c830", "c8300"] }
// errors (isError: true)
{ "error": "…", "details": {}, "hint": "…" }

sql is the exact query run (transparency). hint appears on empty results. 401 → re-auth, 429 → retry, timeout → narrow filters.

Notes & constraints