Courses delivered by HAZWOPER OSHA Training, LLC, an IACET Accredited ProviderDelivered by an IACET Accredited Provider

Developers · Command line

Stormwater Planning Training CLI

A small command-line tool for the Stormwater Planning Training API: list courses, quote seats and look up answers from a terminal, a script or an AI agent, with JSON output for machines.

Install

Node.js 18 or later; no other dependencies. Run it without installing:

npx -y https://stormwaterplanning.us/cli/stormwaterplanning-1.0.0.tgz courses

Or install it once and use the stormwaterplanning command:

npm install -g https://stormwaterplanning.us/cli/stormwaterplanning-1.0.0.tgz
stormwaterplanning courses

Package: stormwaterplanning-1.0.0.tgz.

Commands

stormwaterplanning 1.0.0 - read-only command-line client for stormwaterplanning.us

Usage: stormwaterplanning <command> [arguments] [--option value] [--json]

Commands:
  courses                       List courses
  course [course_id]            Get course details
  recommend <role> <jurisdiction>Recommend a course
  quote <course> <seats>        Get a price quote
  faq <question>                Answer from the FAQ
  search <query>                Search site content
  resources                     List guides and resources
  policy                        Get credential and claims policy
  verify                        How to verify a certificate
  state <jurisdiction>          Look up state stormwater permit
  <tool_name> [arguments]       Any tool by name; see `tools`
  tools                         List every tool and its options
  mcp                           Run as an MCP server over stdio

Options:
  --json            Print the structured result as JSON
  --site <domain>   Site to query (default: stormwaterplanning.us)
  -h, --help        Show this help
  -v, --version     Show the version

Exit codes: 0 success, 1 the tool returned an error, 2 usage error, 3 site unreachable.
Docs: https://stormwaterplanning.us/cli/

Examples

$ stormwaterplanning courses
Qualified SWPPP Practitioner (QSP) Training
  qsp | 7 h | $379.99 per seat | en/es
  https://stormwaterplanning.us/qualified-swppp-practitioner-qsp-training/

Qualified SWPPP Preparer Training
  preparer | 7 h | $379.99 per seat | en/es
  https://stormwaterplanning.us/qualified-swppp-preparer-training/

Seat discounts apply automatically: 2-10 seats 1%, 11-20 2%, 21-50 3%, 51-100 5%, 101-250 7%, 251-500 8%, 501-1000 10%.
$ stormwaterplanning quote qsp 12
12 x Qualified SWPPP Practitioner (QSP) Training at $372.39 = $4468.68 (2% bulk discount)
$ stormwaterplanning quote qsp 12 --json
{
  "course": "qsp",
  "course_title": "Qualified SWPPP Practitioner (QSP) Training",
  "seats": 12,
  "discount_percent": 2,
  "price_per_seat_usd": 372.39,
  "total_usd": 4468.68
}
$ stormwaterplanning faq Is this training OSHA certified?
Q: Do you offer SCORM for company LMS systems?
A: Yes, through our training partner HAZWOPER OSHA Training. SCORM packages let you host the course content in your own company LMS.
   https://stormwaterplanning.us/frequently-asked-questions/

Output and Exit Codes

  • --json prints the tool's structured result as JSON; an error prints {"error": {"code": ..., "message": ...}}.
  • Exit code 0 on success, 1 when the tool returns an error (an unknown course, say), 2 for a usage error, 3 when the site can't be reached.
  • stormwaterplanning tools lists every tool and its options; stormwaterplanning <tool_name> --option value runs any tool by name.

Use It as an MCP Server

npx -y https://stormwaterplanning.us/cli/stormwaterplanning-1.0.0.tgz mcp

Speaks MCP over stdio. Client set-up is on the Stormwater Planning Training MCP page.

How It Works

Every command calls one of the read-only tools in /.well-known/mcp.json, the same ones the pages register through WebMCP, reading the Stormwater Planning Training API's JSON files over HTTPS. It sends nothing except those requests, and it can't enroll, pay or submit anything.

Prefer to Talk to a Person?

Our team can help you pick a course or set up a group order.