Server data from the Official MCP Registry
Complete 49 CFR 172.101 hazmat table lookup with special-provision decoding, cited to eCFR.
Complete 49 CFR 172.101 hazmat table lookup with special-provision decoding, cited to eCFR.
This is a well-engineered compliance reference tool for hazardous materials regulations (49 CFR 172.101). The server has no authentication requirements (appropriate for a public reference tool), clean code architecture, proper TypeScript typing, and comprehensive data validation. Network access is limited to one-time data ingestion from the eCFR API during build, with no runtime external calls. Minor findings relate to broad exception handling and logging practices rather than security vulnerabilities. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
3 files analyzed · 7 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-andretaki-hazmat-cfr-mcp": {
"args": [
"-y",
"hazmat-cfr-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
The complete 49 CFR 172.101 Hazardous Materials Table, as an MCP tool for AI agents — every field cited to a pinned eCFR revision.
Give Claude, Cursor, Codex, and other MCP clients a DOT hazmat lookup, classification, and validation tool backed by the entire Hazardous Materials Table — not a sample.
Ask an agent:
Can I ship 60 L of acetone on a cargo-only aircraft? What are its label, packing, and special-provision requirements?
It returns the proper shipping name, hazard class, packing group, label codes, packaging references, aircraft limits, vessel stowage, decoded special provisions, and CFR citations — in structured JSON.
Use it two ways:
hazmat-cfr-mcp — MCP stdio server for agentshazmat-cfr — local CLI for humans, tests, and scriptsNo API keys. No customer data. No carrier contracts. No NMFC. Public CFR only.
+ A D G I W), Column 10A vessel stowage categories, and Columns 8A–8C packaging references resolved to part-173 sections.npx -y hazmat-cfr-mcp --help
npx -y hazmat-cfr lookup UN1088 # not in any "sample" — the whole table is here
npx -y hazmat-cfr decode-sp IB2 T8 A3
Foundation models are weak at regulated shipping details. They may know what acetone is, but they should not guess whether a shipping description is complete, what IB2 means, or which CFR field backs a label requirement.
This server gives agents an explicit, cited, complete hazmat tool surface so they answer with the regulation instead of a hallucination.
This is a compliance-adjacent tool, so correctness is enforced by the build, not by hope:
IP16, are resolved to an explicit "referenced but not defined" note — never fabricated).test/data-integrity.test.ts re-checks entry counts, structural validity, referential integrity, and ~22 hand-verified spot-checks on every run.test/fixtures/.⚠️ Disclaimer. This is an informational aid that surfaces public CFR text. It is not legal advice, not a compliance certification, and not a substitute for a trained hazmat employee. Always verify any shipping decision against the current eCFR.
npx hazmat-cfr-mcp # MCP stdio server
npx hazmat-cfr lookup UN1090 # CLI
From a clone:
git clone https://github.com/andretaki/hazmat-cfr-mcp.git
cd hazmat-cfr-mcp
npm install
npm run build
npm run demo
CLI:
npx hazmat-cfr lookup UN1090
npx hazmat-cfr validate "UN1090, Acetone, 3, PG II"
npx hazmat-cfr segregation 3 5.1 8
npx hazmat-cfr lq 3 II 1000 12 true
npx hazmat-cfr decode-sp IB2 T8 A3
npx hazmat-cfr decode-pkg nonBulk 202
{
"mcpServers": {
"hazmat-cfr": {
"command": "npx",
"args": ["hazmat-cfr-mcp"]
}
}
}
For a local checkout, point command at node and args at dist/server.js.
| Tool | Purpose |
|---|---|
lookup_hazmat_entry | Look up by UN/NA number or proper shipping name; returns matching entries with decoded symbols and special provisions. |
classify_shipping_description | Parse free text into structured fields, then validate it. |
validate_basic_hazmat_description | Validate structured fields against the full 172.101 table. |
get_label_requirements | Return hazard label codes and caveats. |
check_basic_segregation | Conservative pairwise segregation findings (49 CFR 177.848 subset). |
check_limited_quantity_eligibility | Conservative Class 3/Class 8 LQ-candidate screen. |
decode_special_provision | Expand Column 7 codes (e.g. IB2, T8, A3) into 49 CFR 172.102 text. |
decode_packaging_reference | Resolve a Column 8A/8B/8C value to its part-173 section. |
explain_cfr_source | Explain which public CFR source backs a field or rule. |
Example call:
{ "query": "UN1090" }
import { defaultCatalog, decodeSpecialProvisions, ECFR_SNAPSHOT_DATE } from "hazmat-cfr-mcp";
const acetone = defaultCatalog.lookup("UN1090");
const provisions = decodeSpecialProvisions(acetone.entries[0].specialProvisions);
console.log(`Backed by eCFR snapshot ${ECFR_SNAPSHOT_DATE}`);
# bump ECFR_SNAPSHOT_DATE in src/data/snapshot.ts, then:
npm run ingest -- --fresh
npm test
See docs/data-pipeline.md for the full pipeline.
Not legal advice; not a replacement for trained hazmat employees; not a full compliance certification engine; not NMFC classification; not carrier contract/tariff analysis. No private customer data, contract rates, or internal business records belong in this repo.
npm test
npm run typecheck
npm run scan:secrets
Andre Taki — Alliance Chemical — andre@alliancechemical.com
MIT — the underlying 49 CFR text is a public-domain work of the U.S. government.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.