Skip to main content
Glama

cdl-waypoint-mcp

An MCP server that gives AI assistants the data behind CDL Waypoint: state rules for the DOT medical card, state CDL fees, clinics for the DOT physical, public CDL training locations, and two calculators built on the federal rules.

It reads the site's public JSON API at https://cdldotguide.com/api/v1/ and nothing else. There is no key and no account. Files are cached in memory for six hours, so a normal session makes only a handful of requests.

CDL Waypoint is not affiliated with FMCSA, USDOT or any state agency.

Tools

Tool

What it answers

list_states

Every state and DC with its clinic and CDL school counts.

get_state_medical_card_rules(state)

How the state handles the medical examiner's certificate: how results reach the state, deadlines, self-certification, expiry, contacts. Each fact links its official page.

get_state_cdl_costs(state, school_price_usd?, hazmat?)

Published permit, license, test, endorsement and renewal fees with their official pages, published Class A school prices, and an estimate of a first Class A CDL.

find_dot_physical_clinics(state, city?, clinic_type?, limit?)

Occupational medicine and urgent care clinics, and clinic-network locations whose network says it offers DOT physicals.

find_cdl_schools(state, city?, training_class?, priced_only?, include_traveling?, limit?)

Public training locations from the FMCSA Training Provider Registry, with the classes each is registered for and published prices.

medical_card_expiration(exam_date, certificate_months?, today?)

Estimated expiry date of the medical card, days left and when to book the next exam.

hours_of_service_check(on_duty_start, current_time, ...)

Driving time left today under the 11-hour, 14-hour, 30-minute break and 60/70-hour rules, and when the 14-hour window closes.

state takes a two-letter code (TX, dc) or a name (Texas, New York). city matches the city names the site uses; when a city is not found, the answer lists the closest names.

Every answer ends with a line like this:

Source: CDL Waypoint (cdldotguide.com), data as of 2026-11-25; official source: https://dmv.vermont.gov/...

Answers about rules also carry a short not-legal-advice note.

The two calculators use the same arithmetic as the calculators on cdldotguide.com/tools. The medical card expiry adds the period to the exam date and clamps the day to the end of the month (an August 31 exam with a 6-month card gives February 28). The date printed on the certificate is always the one that counts.

Related MCP server: mcp-fmcsa

Resources

URI

Content

cdl-waypoint://openapi.json

The OpenAPI 3.1 description of the data API.

cdl-waypoint://data-dates.json

When the data was last rebuilt, the date of each upstream source, and record counts.

cdl-waypoint://terms.json

Attribution, licence and usage notes as the API states them.

Install

Node.js 20 or newer.

For now, from a local copy:

git clone <repository-url> cdl-waypoint-mcp
cd cdl-waypoint-mcp
npm ci
npm test

Run it straight from GitHub with npx -y github:open-us-data/cdl-waypoint-mcp.

Claude Desktop

Edit claude_desktop_config.json (Settings, Developer, Edit Config):

{
  "mcpServers": {
    "cdl-waypoint": {
      "command": "node",
      "args": ["/absolute/path/to/cdl-waypoint-mcp/bin/cdl-waypoint-mcp.js"]
    }
  }
}

After publishing, replace command and args with "command": "npx", "args": ["-y", "cdl-waypoint-mcp"].

Cursor

~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "cdl-waypoint": {
      "command": "node",
      "args": ["/absolute/path/to/cdl-waypoint-mcp/bin/cdl-waypoint-mcp.js"]
    }
  }
}

VS Code

.vscode/mcp.json in the workspace:

{
  "servers": {
    "cdl-waypoint": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/cdl-waypoint-mcp/bin/cdl-waypoint-mcp.js"]
    }
  }
}

HTTP

node bin/cdl-waypoint-mcp.js --http --port 3000

This serves Streamable HTTP at http://127.0.0.1:3000/mcp (stateless, POST only) and a health check at /healthz. It binds to localhost unless you pass --host.

Docker

docker build -t cdl-waypoint-mcp .
docker run -i --rm cdl-waypoint-mcp

Settings

Variable

Default

Meaning

CDL_WAYPOINT_CACHE_TTL_SECONDS

21600

How long a downloaded file is reused.

CDL_WAYPOINT_API_BASE

https://cdldotguide.com/api/v1/

Base URL of the data API (for testing against a copy).

Requests are sent with the User-Agent cdl-waypoint-mcp/<version> (+https://cdldotguide.com/developers/).

Tests

npm test            # offline, against recorded API files in test/fixtures
npm run test:live   # one smoke test against the live API (about 5 requests)

npm run record-fixtures downloads fresh copies of the recorded files. The tests take expected counts from those files, so they keep passing when the data changes.

Data, licence and attribution

The code in this repository is MIT licensed (see LICENSE).

The data is not part of that licence. It comes from the CDL Waypoint API, which says:

  • The government source data is not subject to copyright (see each source). No licence has been chosen yet for the compiled data set as a whole; reading and quoting with attribution is welcome.

  • Attribution: name CDL Waypoint and the original source of each record (the sources list in https://cdldotguide.com/api/v1/index.json, also in the cdl-waypoint://data-dates.json resource).

  • Listings come from public government data and can be out of date. Check any provider with the official registry before you pay or travel.

  • A clinic listing does not confirm DOT certification. Only an examiner on the FMCSA National Registry can do a DOT physical.

  • Do not use the data to send unsolicited bulk messages to listed providers.

Main upstream sources: the FMCSA Training Provider Registry, the CMS NPPES provider file, state motor vehicle agency pages, and the published prices of schools and clinics. Terms: https://cdldotguide.com/terms/. Sources: https://cdldotguide.com/sources/.

Nothing here is legal or medical advice. The federal regulations, your state licensing agency and your medical examiner have the final word.

Available Tools

7 tools
find_cdl_schoolsFind CDL schoolsA
Read-onlyIdempotent

Public CDL training locations from the FMCSA Training Provider Registry in a state or city, with the training each is registered for and the price where the school publishes one. Traveling trainers that come to the student are listed separately.

Inputs: state (required), city, limit, priced_only, +2 more.

find_dot_physical_clinicsFind clinics for a DOT physicalA
Read-onlyIdempotent

Occupational medicine and urgent care clinics, plus clinic-network locations whose network says it offers DOT physicals, in a state or city. A listing does not prove the clinic has a certified medical examiner: check the FMCSA National Registry.

Inputs: state (required), city, limit, clinic_type.

get_state_cdl_costsState CDL fees and first Class A costA
Read-onlyIdempotent

A state's published CDL fees (learner's permit, license, tests, endorsements, renewal) with their official pages, published Class A school prices, and an estimate of what a first Class A CDL costs, summed the same way as the site's cost estimator.

Inputs: state (required), hazmat, school_price_usd.

get_state_medical_card_rulesState DOT medical card rulesA
Read-onlyIdempotent

How a state handles the DOT medical examiner's certificate for CDL holders: how results reach the state, deadlines, self-certification, expiry and whom to contact. Each fact links its official page.

Inputs: state (required).

hours_of_service_checkHours of service checkB
Read-onlyIdempotent

Driving time left today for a property-carrying truck driver under the federal 11-hour, 14-hour, 30-minute break and 60/70-hour rules, and when the 14-hour window closes. Times are 24-hour HH:MM on the half hour.

Inputs: current_time (required), on_duty_start (required), cycle, hours_driven, +2 more.

list_statesList statesA
Read-onlyIdempotent

Every state and DC covered by CDL Waypoint, with the number of DOT physical clinics and public CDL training locations in each.

Inputs: no named parameters.

medical_card_expirationMedical card expirationA
Read-onlyIdempotent

Estimated expiry of a DOT medical examiner's certificate from the exam date and the period on the certificate, days left and when to book the next exam (30 days before). The date printed on the certificate is the one that counts.

Inputs: exam_date (required), today, certificate_months.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct resource or operation: state listings, state-level medical rules, state-level costs, school search, clinic search, and two stand-alone calculators. The only close pair is get_state_medical_card_rules versus medical_card_expiration, but one is state policy lookup and the other is an individual date calculation, clearly separated by their descriptions.

    Naming Consistency4/5

    The lookup tools follow a clear verb_noun pattern (list_states, get_state_*, find_*), which is predictable. The two calculator tools deviate with noun-phrase names (medical_card_expiration, hours_of_service_check), but they remain readable and their purpose is clear.

    Tool Count5/5

    Seven tools is well-scoped for a CDL information and planning assistant. Each tool covers a distinct need — state overview, rules, costs, schools, clinics, medical card expiry, and hours-of-service — with no obvious filler.

    Completeness4/5

    The core workflows are covered: browsing states, checking medical-card rules and costs, finding schools and clinics, and calculating medical-card expiry and driving time. A notable gap is the lack of a tool to search the FMCSA National Registry for certified medical examiners, despite the clinic tool explicitly warning that a clinic listing does not prove certification.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides keyless access to US FMCSA motor-carrier registry data, enabling lookup of DOT/MC numbers, names, operating authority, and safety information.
      58 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to track air waybills and ocean containers and compare freight quotes across carriers through typed, validated tools, with normalized milestone timelines, ETAs and check-digit validation.
      1
      MIT