Obtain production credentials for the Community Care Eligibility API at developer.va.gov; the API uses the Client Credentials Grant (CCG) OAuth flow — generate a signed JWT assertion using your RSA private key to exchange for a bearer token at the VA token endpoint.
Call GET /services/community-care/v0/eligibility/search?patient={veteranICN}&serviceType={serviceType} using the veteran's ICN and the relevant service type (e.g., primaryCare, mentalHealthCare, audiology, homepathHospitalCare).
Parse the eligibilityCode in the response: 'Y' indicates the veteran is eligible for community care for that service type; 'N' indicates ineligibility; the response also includes eligibilityDescription with the reason.
Common eligibility criteria checked by the API include MISSION Act drive-time standards, wait-time standards, and service unavailability at the nearest VA facility — the API resolves these rules against VA scheduling data.
If eligible, obtain the list of VA-approved community care providers from the VA Provider Locator (separate from the Facilities API) or direct the veteran to the VA Community Care website for referral.
Log eligibility checks with the veteran ICN, service type, result, and timestamp; eligibility can change as VA facility capacity changes.
Known gotchas
Community care eligibility is dynamic — a veteran who qualified last month may no longer qualify if their nearest VA facility resolved its wait-time issue. Do not cache eligibility results for more than a short period.
The API requires a valid veteran ICN, not a SSN or VA file number; if your system does not already hold ICNs, you must first call the VA Master Patient Index (MPI) service to resolve the ICN from other identifiers.
Eligibility determination for some specialty services may require additional clinical criteria not covered by this API; the API reflects access-standard eligibility, not medical necessity determinations.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp