Skip to main content
Glama
contractor-license-mcp-server

contractor-license-mcp-server

by Noquarter6

contractor-license-mcp-server

跨 45 个美国州的实时承包商执照验证。 这是一个 MCP 服务器,允许 Claude Desktop、Cursor 以及任何支持 MCP 的 AI 代理直接针对州许可委员会门户网站验证承包商的执照、状态、有效期和纪律处分记录。

发送 {state, license_number, trade} — 即可获取有效性、持证人姓名、到期日期、状态以及存档的任何纪律处分。结果直接从官方州门户网站实时获取(非过期的每日导出数据),并在激活时缓存 24 小时。

为什么选择此服务器

  • 覆盖 45 个州,通过官方州许可委员会门户网站,而非第三方数据聚合器

  • 实时查询 — 每次验证都会访问权威门户网站,因此到期日期和纪律处分与委员会自身的数据一样新鲜

  • 批量验证 — 每次调用最多可验证 25 个执照,并行运行

  • 纪律处分记录 — 在门户网站公开时返回

  • 由 TradesAPI 提供支持,这是一个您也可以直接调用的托管 HTTP API

Related MCP server: license-verify-mcp

快速入门

Claude Desktop

将此内容添加到您的 Claude Desktop 配置中:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "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"
      }
    }
  }
}

保存后重启 Claude Desktop。

获取 API 密钥

  1. 前往 www.tradesapi.com 并点击 Sign up free

  2. 输入您的电子邮件 — 您将收到一个魔法链接

  3. 点击链接进入您的仪表板,您的 API 密钥就在那里

新账户初始包含 50 个免费验证额度,无需信用卡。当您需要更多额度时,可以从仪表板购买额外的额度包。

直接安装

npm install -g contractor-license-mcp-server

工具

clv_verify_license

针对州许可委员会门户网站验证单个承包商执照。

参数

必需

描述

state

是

两位州代码 (CA, TX, FL, ...)

license_number

是

要验证的执照号码

trade

否

general, electrical, plumbing, hvac, mechanical, residential, 或 home_inspection (默认为 general)

force_refresh

否

跳过 24 小时缓存并从门户网站重新获取

response_format

否

markdown (默认) 或 json

结果示例:

## License Verification: VALID

| Field      | Value                    |
|------------|--------------------------|
| Name       | ANDERSON, ORIN RAE       |
| License #  | TACLA00000103C           |
| State      | TX                       |
| Trade      | hvac                     |
| Status     | Active                   |
| Expiration | 05/12/2026               |

clv_batch_verify

在单次调用中验证最多 25 个执照。每次验证独立运行 — 部分失败不会阻塞整个批次。

参数

必需

描述

licenses

是

{ state, license_number, trade } 对象的数组 (1–25 项)

response_format

否

markdown (默认) 或 json

clv_list_supported_states

列出所有支持的州,包括门户网站 URL 和可用行业。使用此工具查看您可以查询哪些州和行业。

参数

必需

描述

response_format

否

markdown (默认) 或 json

支持的州

代码

州

行业

AK

阿拉斯加州

general, electrical, mechanical

AL

阿拉巴马州

general, electrical, plumbing, hvac, residential

AR

阿肯色州

general

AZ

亚利桑那州

general, electrical, plumbing, hvac

CA

加利福尼亚州

general, electrical, plumbing, hvac

CO

科罗拉多州

electrical, plumbing

CT

康涅狄格州

general, electrical, plumbing, hvac

DC

哥伦比亚特区

general

DE

特拉华州

electrical, plumbing, hvac

FL

佛罗里达州

general, electrical, plumbing, hvac

GA

佐治亚州

general

HI

夏威夷州

general

IA

爱荷华州

electrical

ID

爱达荷州

electrical, plumbing, hvac

IL

伊利诺伊州

general, electrical, plumbing, hvac

IN

印第安纳州

plumbing

KY

肯塔基州

general, electrical, hvac, plumbing

LA

路易斯安那州

general

MA

马萨诸塞州

general, mechanical

MD

马里兰州

general, hvac, electrical, plumbing

ME

缅因州

electrical, plumbing

MI

密歇根州

electrical, plumbing, hvac

MN

明尼苏达州

general, electrical, plumbing

MS

密西西比州

general

NC

北卡罗来纳州

general

ND

北达科他州

general, electrical

NE

内布拉斯加州

general, electrical

NH

新罕布什尔州

electrical, plumbing

NJ

新泽西州

general, electrical, hvac, plumbing

NM

新墨西哥州

general, electrical, plumbing, hvac

NV

内华达州

general, electrical, plumbing, hvac

NY

纽约州

home_inspection

OH

俄亥俄州

general, electrical, plumbing, hvac

OK

俄克拉荷马州

electrical, plumbing, hvac

OR

俄勒冈州

general

PA

宾夕法尼亚州

general, electrical, hvac, plumbing

RI

罗德岛州

general

SC

南卡罗来纳州

general, electrical, plumbing, hvac

TN

田纳西州

general, electrical, plumbing

TX

得克萨斯州

hvac, electrical, plumbing

UT

犹他州

general, electrical, plumbing, hvac

VA

弗吉尼亚州

general, electrical, plumbing, hvac

VT

佛蒙特州

electrical, plumbing

WA

华盛顿州

general

WV

西弗吉尼亚州

general, electrical, hvac, plumbing

覆盖范围持续扩大。从您的代理运行 clv_list_supported_states 以获取当前列表,或在 www.tradesapi.com 查看实时状态网格。

配置

变量

必需

描述

CLV_API_URL

是

API 后端 URL (使用 https://www.tradesapi.com)

CLV_API_KEY

是

您从仪表板获取的 API 密钥

额度

每次执照验证消耗 1 个额度,无论结果是实时的还是缓存的。新账户获得 50 个免费额度。额外的额度包可以从 www.tradesapi.com 的仪表板购买。

开发

git clone https://github.com/Noquarter6/contractor-license-mcp-server.git
cd contractor-license-mcp-server
npm install
npm run build
npm test

许可证

MIT

Available Tools

4 tools
clv_batch_verifyA
Read-onlyIdempotent
Inspect

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_statesA
Read-onlyIdempotent
Inspect

List all US states currently supported for contractor license verification, including portal URLs, health status, and available trades.

Inputs: response_format.

clv_search_by_nameA
Read-onlyIdempotent
Inspect

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_licenseA
Read-onlyIdempotent
Inspect

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

    A4.3/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Verifies 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.
      2
      70 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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