mcpField
M
mcp-contractor-license-lookup

mcp-contractor-license-lookup

Local
github.com/mambalabsdevLegal & Government0Updated 1w ago

About mcp-contractor-license-lookup

An MCP server for querying contractor license records from public state boards in five states. It supports trade-based lists and checks by license number or business name, with runs handled through Apify.

Key features

  1. 01List licensed contractors by trade and location
  2. 02Check licenses by number or business name
  3. 03Return status, expiry, classifications, and contacts
  4. 04Support CA, TX, WA, OR, and LA

Use cases

  1. 01Build a roofing contractor list for a county
  2. 02Verify a contractor's license status
  3. 03Find HVAC contractors and contact details

MCP support

Exposes the `lookup_contractor_licenses` tool to MCP clients. It starts the Apify actor, waits for the run, and returns dataset rows.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"com-mambabuilt-mcp-contractor-license-lookup": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-contractor-license-lookup"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
Run commandnpx -y @mambalabsdev/mcp-contractor-license-lookup
Environment variables to set
APIFY_TOKENSecretApify API token from https://console.apify.com/account/integrations

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@mambalabsdev/mcp-contractor-license-lookup1.0.0

Tools

1

Saved tool list · updated 4d ago

ParameterTypeRequiredDescription
modeenumNolist (default): states and trades in, licensed contractors out. lookup: license numbers or business names in, their licenses out.list | lookup
citiesarrayNoList mode. Keep contractors in these cities; each city is searched separately.
countystringNoList mode. Keep contractors in this county (CA, TX, and OR record county).
statesarrayNoState codes: CA, TX, WA, OR, LA. In lookup mode, used for lines that name no state.
tradesarrayNoList mode. Trade words such as plumbing, electrical, hvac, roofing, general, solar, landscaping, painting, concrete, or pool.
lookupsarrayNoLookup mode. One per line: a state code, a pipe, then a license number or business name, for example WA | 04CONCL862CR or LA | Acadian Builders.
proxy_modeenumNoauto uses the Apify proxy and moves a refused request to residential addresses; residential uses residential only. A reliability choice; proxy use adds nothing to the price. Default auto.auto | residential
active_onlyenumNoKeep only active, unexpired licenses. Default true.true | false
max_resultsstringNoLicense rows per search, up to 5000. Each license row is billed. Default 100 in list mode, 10 in lookup mode.
business_namestringNoList mode: keep only names that contain this text. Lookup mode: one more business name to look up.
include_ownersenumNoWashington: read the current principals of each license. Default true.true | false
license_numberstringNoLookup mode. One more license number, searched in states.
max_charge_usdstringNoOptional. The run stops before any row that would take its charges over this amount.

Details

From the project README

Contractor License Lookup MCP Server

Smithery Glama score MCP Registry npm version npm downloads license mcpservers.org

An MCP server for the Mamba Labs Contractor License Lookup actor on Apify. Give it a state and a trade to list licensed contractors, or a license number or business name to verify one. Each run reads the state licensing board's own public register.

What's Inside

What it does

Two modes:

  • list: give states and trades (for example CA and roofing), optionally cities or a county. You get one row per licensed contractor with license number, status, expiration date, classifications, owners or qualifying parties, address, and phone.
  • lookup: give lookups, one per line, for example WA | 04CONCL862CR or LA | Acadian Builders. You get the matching license with its status.

States covered: California (CSLB Data Portal lists), Texas (TDLR open data), Washington (Labor and Industries open data), Oregon (CCB open data), and Louisiana (LSLBC public search). California name and number lookups work only inside a trade list, because the CSLB license check page uses a reCAPTCHA. Each search ends with one free summary row. All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-contractor-license-lookup": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-contractor-license-lookup"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The lookup_contractor_licenses tool appears.

Prerequisites

Example prompts

  • "List the licensed roofing contractors in San Diego County, California."
  • "Is Washington contractor license 04CONCL862CR active, and who are the principals?"
  • "Find licensed HVAC contractors in Austin, Texas, with their phone numbers."

Tool

lookup_contractor_licenses. One tool. Example arguments:

{
  "mode": "list",
  "states": ["CA"],
  "trades": ["roofing"],
  "county": "San Diego",
  "max_results": "100"
}

Inputs

Every buyer facing input of the actor, unchanged. Omitted inputs take the actor's own defaults. Numbers and booleans are sent as strings.

InputTypeDescription
modestringlist (default) or lookup
statesarrayCA, TX, WA, OR, LA
tradesarrayList mode. Trade words
citiesarrayList mode. Cities, searched separately
countystringList mode. County (CA, TX, OR)
business_namestringList mode: name filter. Lookup mode: one more name
lookupsarrayLookup mode. Lines such as WA | 04CONCL862CR
license_numberstringLookup mode. One more license number
active_onlystringtrue or false. Default true
include_ownersstringWashington principals. Default true
max_resultsstringRows per search, up to 5000
max_charge_usdstringOptional cost cap for the run
proxy_modestringauto or residential. Default auto

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
license-row, per license returned$0.004$0.0038$0.0036$0.0034
apify-actor-start, per run start$0.0005$0.0005$0.0005$0.0005

Search summary rows, and skipped, blocked, and no result rows, are free.

Your keys

The actor needs no key. It reads the state boards' public registers and holds no key of any kind. Proxy traffic adds nothing to your price: Mamba Labs pays the platform costs of the run. proxy_mode is a reliability setting.

Full actor documentation

apify.com/mambalabs/contractor-license-lookup

License

MIT. See LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.