contractor-license-mcp-server
This server enables real-time contractor license verification across 45 US states by querying official state licensing board portals.
Verify a single license (
clv_verify_license): Check a contractor's license validity, holder name, status, expiration date, and disciplinary history by providing a state code, license number, and optional trade type. Supports cache bypass for fresh data.Batch verify up to 25 licenses (
clv_batch_verify): Submit multiple license verification requests in one call, run in parallel, with partial failure handling so individual errors don't block the rest.List supported states (
clv_list_supported_states): Retrieve all supported US states along with their portal URLs, health status, and available trades (general, electrical, plumbing, HVAC, mechanical, residential, home inspection).Search contractors by name (
clv_search_by_name): Look up contractors by business or individual name within a state's licensing database, returning matching results with license numbers, status, and confidence scores (up to 50 results).
All tools are read-only and idempotent. Data is fetched live from official state portals and cached for 24 hours, with results available in either markdown or json format.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
contractor-license-mcp-server
Real-time contractor license verification across all 50 US states + DC, plus 8 major-city contractor licensing portals (Chicago, NYC, Philadelphia, Detroit, Atlanta, Dallas, Las Vegas, Nashville). An MCP server that lets Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible AI agent verify a contractor's license, status, expiration, and disciplinary history directly against licensing board portals.
Send {state, license_number, trade} — get back validity, licensee name, expiration date, status, and any disciplinary actions on file. Results are fetched live from official state portals (no stale nightly exports) and cached for 24 hours when active.
Why this server
All 50 US states + DC + 8 major cities covered via official licensing board portals, not third-party data aggregators
Live lookups — each verification hits the authoritative portal, so expirations and disciplinary actions are as fresh as the board's own data
Batch verification — up to 25 licenses per call, run in parallel
Disciplinary history — returned when the portal exposes it
Backed by TradesAPI, a hosted HTTP API you can also hit directly
Related MCP server: license-verify-mcp
Quick start
Hosted (recommended)
No install required. Add this to your Claude Desktop config:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"tradesapi": {
"type": "streamable-http",
"url": "https://www.tradesapi.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Replace YOUR_API_KEY with the key from your dashboard and restart Claude Desktop.
Local install (alternative)
If you prefer to run the MCP server locally via stdio:
{
"mcpServers": {
"tradesapi": {
"command": "npx",
"args": ["-y", "contractor-license-mcp-server"],
"env": {
"CLV_API_URL": "https://www.tradesapi.com",
"CLV_API_KEY": "your-api-key-here"
}
}
}
}Restart Claude Desktop after saving.
Getting an API key
Go to www.tradesapi.com and click Sign up free
Enter your email — you'll get a magic link
Click the link and land on your dashboard, where your API key is waiting
New accounts start with 50 free verification credits, no credit card required. You can purchase additional credit packs from the dashboard when you need more.
Direct install
npm install -g contractor-license-mcp-serverTools
verify_license
Verify a single contractor license against the official state (or city) licensing portal.
Parameter | Required | Description |
| yes | Two-letter state code ( |
| no | Optional city slug to target a municipal portal: |
| yes | The license number to verify |
| no |
|
| no | Bypass the 24h cache and re-fetch from the portal |
| no |
|
Example result:
## License Verification: VALID
| Field | Value |
|------------|--------------------------|
| Name | ANDERSON, ORIN RAE |
| License # | TACLA00000103C |
| State | TX |
| Trade | hvac |
| Status | Active |
| Expiration | 05/12/2026 |batch_verify
Verify up to 25 licenses in a single call. Each verification runs independently — partial failures do not block the batch. Per-item city is supported.
Parameter | Required | Description |
| yes | Array of |
| no |
|
search_by_name
Fuzzy-match contractors by business or individual name within a single state (or city) database. Costs 2 credits per call.
Parameter | Required | Description |
| yes | Two-letter state code |
| no | Optional city slug for municipal databases |
| yes | Business or individual name (case-insensitive, partial-match tolerant) |
| no | Trade filter |
| no | Max results (1–50, default 20) |
| no |
|
Not every state portal supports name search — call list_supported_states and check supports_name_search per jurisdiction first.
list_supported_states
List every supported jurisdiction with portal URLs, current health, available trades, and registered municipal scrapers nested under each state. Use this to discover what's reachable before constructing other tool calls.
Parameter | Required | Description |
| no |
|
Coverage
All 50 US states + DC at the state level, plus 8 major-city contractor licensing portals (Chicago, NYC, Philadelphia, Detroit, Atlanta, Dallas, Las Vegas, Nashville).
Run list_supported_states from your agent for the live, fetched-fresh-each-call list of supported jurisdictions, available trades per jurisdiction, current portal health, and which states support name search. The MCP package no longer bundles a static state table — what comes back from list_supported_states is always current with prod.
You can also see the live state grid at www.tradesapi.com.
Configuration
Variable | Required | Description |
| yes | API backend URL (use |
| yes | Your API key from the dashboard |
Credits
Each license verification consumes 1 credit, whether the result is fresh or cached. New accounts receive 50 free credits. Additional credit packs can be purchased from the dashboard at www.tradesapi.com.
Development
git clone https://github.com/jackunderwood/Contractor-License-Verification.git
cd Contractor-License-Verification/mcp-server
npm install
npm run build
npm testLicense
MIT
Available Tools
4 toolsclv_batch_verifyARead-onlyIdempotentInspect
Verify multiple contractor licenses in a single request (max 25). Returns results for each license, with partial failure handling — individual failures don't block others.
Inputs: licenses (required), response_format.
clv_list_supported_statesARead-onlyIdempotentInspect
List all US states currently supported for contractor license verification, including portal URLs, health status, and available trades.
Inputs: response_format.
clv_search_by_nameARead-onlyIdempotentInspect
Search for contractors by business or individual name in a state licensing database. Returns matching contractors with license numbers, status, and confidence scores.
Inputs: state (required), name (required), trade, limit, +1 more.
clv_verify_licenseARead-onlyIdempotentInspect
Verify a contractor's license by checking the state licensing board portal. Returns license validity, holder name, status, expiration, and any disciplinary actions.
Inputs: state (required), license_number (required), trade, force_refresh, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: batch verification, listing supported states, searching by name, and single license verification. There is no overlap in functionality, and an agent can easily differentiate between them based on their specific operations.
All tool names follow a consistent 'clv_' prefix and snake_case pattern (e.g., clv_batch_verify, clv_list_supported_states). This uniformity makes the tools predictable and easy to identify within the server's domain.
With 4 tools, the server is well-scoped for contractor license verification, covering key operations like verification, batch processing, state listing, and name searching. Each tool serves a necessary function without redundancy or bloat.
The tool set provides strong coverage for core verification workflows, including single and batch checks, state support info, and name searches. A minor gap might be the lack of tools for updating or managing license data, but for a verification-focused server, the surface is largely complete.
Maintenance
Related MCP Connectors
Search and verify 79k state-licensed US contractors, checked weekly against the licensing boards.
Verify a contractor, real estate or cosmetology license in 12 US states from the boards' own files.
Verify US contractor licenses across states: Clear, Review or Risk, with the reasons.
Real-time U.S. medical license verification across all 50 states + DC.
Related MCP Servers
- AlicenseAqualityDmaintenance50-state professional license verification for AI agents.35 npmMIT
- AlicenseAqualityDmaintenanceVerifies contractor license status mid-task, returning normalized JSON with active/expired/suspended/revoked status, bond details, and insurance for WA (reliable) and CA (beta) jurisdictions.280 npmMIT
- FlicenseNot gradedqualityCmaintenanceVerifies Texas plumbing contractor licenses in real time from official TSBPE data, supporting lookups by contractor name, license number, and county. It charges $0.05 USDC per paid query using the x402 protocol, with free discovery tools.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents and procurement systems to verify contractor licenses against official state boards, search contractors by trade and location, audit workers' comp, surety bonds and OSHA safety records, and check SAM.gov federal debarment status. It returns a deterministic ALLOW/WARN/BLOCK compliance decision plus registry health metrics for US trade contractors.MIT