Obtain NIPR gateway credentials and the Transaction Layout Document by contacting NIPR directly; the gateway accepts structured XML requests for producer lookups
Construct an XML inquiry containing the producer's National Producer Number (NPN) or name/SSN combination; the NPN is the preferred unique identifier across all jurisdictions
Submit the request to the NIPR gateway endpoint and parse the XML response for license records, including jurisdiction, line of authority, license status (active/inactive/expired), and expiration date
Check each returned license record against the jurisdictions and lines of authority required for your use case—e.g., property and casualty in the state where the risk is located
Log the verification result with a timestamp and store the NPN, license number, and expiration date; schedule a re-verification job before the earliest expiration date
Known gotchas
NIPR's public web lookup is for manual spot-checks only; automated bulk verification requires a contracted PDB (Producer Database) data agreement—do not scrape the web interface
A producer may hold a resident license in one state and non-resident licenses in others; ensure you check all jurisdictions relevant to where business will be written, not just the producer's home state
License status in the PDB reflects the most recent data submitted by state departments of insurance; there can be a lag of hours to days after a license action before it appears—treat the result as a point-in-time snapshot
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