{
  "$schema": "https://static.modelcontextprotocol.io/schemas/v1/server-card.schema.json",
  "name": "com.ierhub/license-lookup",
  "title": "IERhub Texas electrician license lookup",
  "description": "Looks up Texas electrician licenses in the public TDLR file, says how each license renews, and lists TDLR electrician forms and the IERhub continuing education course.",
  "version": "1.0.0",
  "websiteUrl": "https://ierhub.com/tools/license-lookup",
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://ierhub.com/api/mcp",
      "supportedProtocolVersions": [
        "2025-03-26"
      ]
    }
  ],
  "endpoint": "https://ierhub.com/api/mcp",
  "transport": "streamable-http",
  "protocolVersion": "2025-03-26",
  "authentication": "none",
  "rateLimit": "100 calls a day for each key or address",
  "documentation": "https://ierhub.com/llms.txt",
  "openapi": "https://ierhub.com/openapi.json",
  "updated": "2026-10-30",
  "tools": [
    {
      "name": "lookup_license",
      "description": "Look up one Texas electrician license in the Texas Department of Licensing and Regulation (TDLR) file by license number, or by last name plus license type. Returns type, number, county, expiration date, the renewal state, and the fees for an expired license.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "description": "License number, letters, digits and hyphen, 20 characters at most."
          },
          "last_name": {
            "type": "string",
            "description": "Last name, 2 letters or more. Use with type."
          },
          "type": {
            "type": "string",
            "description": "License type name or page slug, for example journeyman-electrician."
          },
          "lang": {
            "type": "string",
            "enum": [
              "en",
              "es"
            ],
            "description": "Answer language, en or es. Default en."
          }
        }
      },
      "annotations": {
        "title": "Look up a license",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "get_renewal_path",
      "description": "Say how a Texas electrician license renews, for a license type and the months since it expired. Returns the window, the fee, the method (online, mail or reapply), and the forms to send.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "License type name or page slug."
          },
          "expired_months": {
            "type": "number",
            "description": "Months since expiration. 0 or less means not expired."
          },
          "expires": {
            "type": "string",
            "description": "Optional expiration date, YYYY-MM-DD, to add the three fee step dates."
          }
        },
        "required": [
          "type",
          "expired_months"
        ]
      },
      "annotations": {
        "title": "Get a renewal path",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "list_forms",
      "description": "List the Texas Department of Licensing and Regulation (TDLR) electrician forms: id, title, form number, when a person needs it, and the PDF address. Optional filter.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "need": {
            "type": "string",
            "description": "Optional word to filter by, for example expired or journeyman."
          }
        }
      },
      "annotations": {
        "title": "List TDLR forms",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "get_form",
      "description": "Get one TDLR electrician form by id: purpose, pages, mailing address, SHA-256 and the date of the last check.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "lang": {
            "type": "string",
            "enum": [
              "en",
              "es"
            ],
            "description": "Answer language, en or es. Default en."
          }
        },
        "required": [
          "id"
        ]
      },
      "annotations": {
        "title": "Get one form",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "check_form_changed",
      "description": "Say whether TDLR changed one form since the IERhub mirror was made: the unchanged-since date and any logged change rows.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      },
      "annotations": {
        "title": "Check a form for changes",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "get_license_stats",
      "description": "Counts of active licenses and licenses that expire within 3 months, by license type, from the daily Texas Department of Licensing and Regulation (TDLR) file pull.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Optional license type name or page slug."
          }
        }
      },
      "annotations": {
        "title": "Get license counts",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": true
      }
    },
    {
      "name": "get_course_offer",
      "description": "The IERhub TDLR approved continuing education courses: the 4-hour course for Texas electricians (name, hours, TDLR course number, prices, page), and under barberCosmetologyCourses the 2-hour and 4-hour courses for Texas barbers and cosmetologists.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "lang": {
            "type": "string",
            "enum": [
              "en",
              "es"
            ],
            "description": "Answer language, en or es. Default en."
          }
        }
      },
      "annotations": {
        "title": "Get the course offer",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "list_license_types",
      "description": "The ten Texas electrician license types that IERhub holds renewal fees for: page slug, name, renewal fee and the lookup page.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "title": "List license types",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "subscribe_alert",
      "description": "Start an email alert sign up for one license: 30 and 7 days before it expires, and at each fee step after. Writes a pending record and sends a confirm email. Ask the person first.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "description": "Optional Worker license type, when the number belongs to more than one type."
          },
          "lang": {
            "type": "string",
            "enum": [
              "en",
              "es"
            ],
            "description": "Answer language, en or es. Default en."
          },
          "confirmed": {
            "type": "boolean",
            "description": "true only after the person agreed to the sign up."
          }
        },
        "required": [
          "number",
          "email"
        ]
      },
      "annotations": {
        "title": "Subscribe to alerts",
        "readOnlyHint": false,
        "destructiveHint": false,
        "openWorldHint": true
      }
    }
  ]
}
