Skip to content
MCP server

X3 Compliance

Regulation-citing tools for trucking, OSHA, 811 dig times, eCFR and Coast Guard records

Status and history

Answered our latest tool-list check 9 hours ago with 20 tools. It will be marked verified after 3 successful checks in 7 days.

Pricing
Free
Platforms
API, CLI
Runs
Locally or Remotely
Version
1.1.2
Listing updated
2 days ago

About X3 Compliance

X3 Compliance is a free MCP server for security. It can run locally on your machine or as a hosted remote server.

Each tool returns an answer tied to the rule it came from. hos_check scans a driver log for hours-of-service violations and the time left to drive, dq_file_check reviews a driver qualification file, and csa_explain breaks down CSA scores. On the workplace side, osha_is_recordable decides whether an injury goes on the 300 Log and whether it needs an 8 or 24-hour report, with companion tools for coverage, injury rates and hearing shifts. A safety data sheet checker, a pipeline MAOP calculator, a mariner rest-hours check and a federal holidays lookup round out the set.

Three tools reach outside the machine: cfr_lookup, cfr_search and cfr_changes read the official eCFR, and uscg_vessel_search and uscg_vessel_profile query Coast Guard PSIX records, including certificates with days left. The README says the only network calls go to ecfr.gov and cgmix.uscg.mil, and that all tools are read-only.

The tools wrap the author's separate open-source libraries. dig_clock_811 covers Michigan, Ohio and Texas. The site is explicit that this is decision support and not legal advice. It runs through npx (Node 22.6 or later), an .mcpb bundle or a hosted address.

Install

Run in a terminal

claude mcp add --transport http x3-compliance-mcp https://mcp.x3api.com/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.x3api.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "x3-compliance-mcp": {
      "url": "https://mcp.x3api.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "x3-compliance-mcp": {
      "type": "http",
      "url": "https://mcp.x3api.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "x3-compliance-mcp": {
      "serverUrl": "https://mcp.x3api.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "x3-compliance-mcp": {
      "type": "http",
      "url": "https://mcp.x3api.com/mcp"
    }
  }
}

Tools this server provides (20)

Read directly from the server.

hos_check
Find every hours-of-service violation in a commercial driver's duty-status log under 49 CFR Part 395 (11/10-hour driving, 14/15-hour window, 30-minute break, 60/70-hour cycle with 34-hour restart, split sleeper berth, adverse conditions, short-haul, 16-hour exception) and how much time the driver has left. Give status changes in time order with ISO 8601 times that include an offset.
osha_is_recordable
Decide under 29 CFR 1904.4-1904.11, 1904.29 and 1904.39 whether a case goes on the OSHA 300 Log, its column (death, days away, restricted, other) and type, whether it is a privacy case, and whether OSHA must be called within 8 or 24 hours. First-aid ids: otcMedicationAtOtcStrength, tetanusImmunization, cleaningWounds, woundCoverings, hotColdTherapy, nonRigidSupport, temporaryImmobilizationForTrans
osha_coverage
Check 29 CFR 1904.1, 1904.2 and 1904.41: whether a company must keep OSHA 300/300A/301 records (size and partially exempt NAICS industries) and whether an establishment must submit Form 300A, and Forms 300 and 301, to OSHA's Injury Tracking Application, with the due date and posting calendar.
osha_rates
Compute the total recordable case rate (TRIR), DART rate and days-away case rate per 200,000 hours, the way BLS does.
osha_hearing_shift
Compare a baseline and current audiogram at 2000, 3000 and 4000 Hz under 29 CFR 1904.10: Standard Threshold Shift of 10 dB average plus a 25 dB hearing level in the same ear. Optional age correction from 29 CFR 1910.95 Appendix F.
dig_clock_811
When may an excavator legally start digging after an 811 locate request, when must utilities mark, what is the latest start, and when does the ticket expire, under state one-call law with the statute cited. States: MI, OH, TX. Holidays default to U.S. federal holidays; pass the one-call center's posted list when you have it.
parse_811_ticket
Pull the ticket number, type, dates, excavator, address, work area, coordinates and member utilities out of the plain text of a one-call ticket.
cfr_lookup
Get the current (or dated) text of a Code of Federal Regulations citation such as "49 CFR 395.3(a)(2)" or "29 CFR 1910.147(c)(4)" from the official eCFR, paragraph by paragraph with a citation and link for each.
cfr_search
Full-text search of the Code of Federal Regulations. Narrow by title (29 OSHA, 49 DOT/FMCSA/PHMSA, 46 and 33 Coast Guard, 40 EPA) and part.
cfr_changes
List the substantive amendments to a CFR part (or section) since a date, newest first, from the official eCFR. Optionally compare one section between two dates paragraph by paragraph.
uscg_vessel_search
Search the U.S. Coast Guard Port State Information Exchange by vessel name (partial match), call sign, official number, flag or service. Returns each vessel's PSIX ID, name, service, flag and status.
uscg_vessel_profile
For a PSIX vessel ID: particulars, current certificates (Certificate of Inspection, documentation, load line, class) with days left, recent inspections and incident investigations, deficiencies found and whether they are open, and flags for anything expiring or overdue.
us_federal_holidays
The 11 U.S. federal holidays for a year, as observed (weekend holidays moved to Friday or Monday).
dq_file_check
Check a driver qualification file: application, pre-employment MVR and safety performance history within 30 days of hire, road test or equivalent, annual MVR and review, medical certificate, CDLIS medical status or National Registry note, Clearinghouse queries. Says what is missing, late, expiring or overdue, whether the driver is qualified to drive today, and retention dates. Dates are YYYY-MM-DD
dot_random_testing
FMCSA random testing under 49 CFR 382.305: the year's minimum tests from the average pool (50% drug, 10% alcohol for 2026), how many to select this period to stay on pace, and optionally an unbiased random selection from a list of driver IDs (use employee numbers, never names or SSNs), with a pool fingerprint.
mariner_rest_check
Check work periods against STCW hours of rest (10 in any 24 hours, 77 in any 7 days, no more than two rest periods with one of 6 hours, no more than 14 hours between rests) and optionally the 12-hour towing work limit in 46 U.S.C. 8104(h). Every sliding window is checked.
pipeline_design_and_maop
Steel gas pipeline arithmetic with citations: class location from building count (192.5), design pressure P = (2St/D) x F x E x T (192.105-192.115), test-pressure factor and MAOP as the lowest limit (192.619(a)), hoop stress as % SMYS, and potential impact radius (192.903).
osha_state_jurisdiction
For a state and employer type (private, state-local, federal), say whether federal OSHA or a State Plan (like MIOSHA or Cal/OSHA) has jurisdiction, with the plan's agency, website and 29 CFR 1952 citation.
sds_check
Parse the text of a GHS safety data sheet into signal word, hazard and precautionary statements, pictograms, ingredients (CAS numbers with check digits verified), exposure limits, flash point, PPE and revision date; check it against 29 CFR 1910.1200 Appendix D; and build a workplace label.
csa_explain
Compute FMCSA SMS measures for HOS Compliance, Vehicle Maintenance, Driver Fitness and HM Compliance from inspections (date, level, violations with basic, severity 1-10 and outOfService), show which inspections drive each measure and when they step down and drop off. Percentiles are not computed.

What it does

Hours-of-service checks
Finds violations in a driver log and the time left to drive.
OSHA recordability
Decides 300 Log entry, column, privacy case and 8 or 24-hour reporting.
811 dig timing
Gives the earliest legal dig time and ticket expiry for MI, OH and TX.
eCFR lookup and diffs
Quotes any CFR citation, searches the text and shows amendments since a date.
Coast Guard vessel records
Returns certificates, inspections and deficiencies for a vessel.
Pipeline and maritime calculators
Computes MAOP and class location, and mariner rest hours.

Good for

  • Audit a driver's log for hours-of-service violations
  • Decide if a workplace injury is OSHA recordable
  • Find when digging is legally allowed after an 811 call
  • Check whether a vessel's Certificate of Inspection is current
  • See what changed in a CFR part since a given date

Pricing

Free

Free

Prices change. Check x3allamerican.github.io before you buy.

X3 Compliance FAQ

Is it free?

Yes, the site calls it a free MCP server.

Does it send my questions anywhere?

Only the public government APIs behind the CFR and Coast Guard tools, at ecfr.gov and cgmix.uscg.mil.

Which states does the 811 tool cover?

Michigan, Ohio and Texas.

Is this legal advice?

No. The site describes it as decision support, not legal advice.

Is X3 Compliance free?

Yes. X3 Compliance is free to use.

How do I add X3 Compliance to Claude Code?

Run this command in your terminal: claude mcp add --transport http x3-compliance-mcp https://mcp.x3api.com/mcp

What are the best alternatives to X3 Compliance?

The closest alternatives to X3 Compliance are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.

Alternatives to X3 Compliance

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  3. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  4. Leash

    MCP server

    Review what your AI touched, approve risky actions and undo supported changes

    • 1 tool
    • Remote
    • Free
    • 1 GitHub star
    • Security
  5. SecureCloud

    MCP server

    SentinelOne and IT security catalog, prices, quotes and checkout links for Israel

    • 7 tools
    • Remote
    • Free
    • Security