StormDue stormwater permit facts

v1.0.0
com.stormdue/stormdue Checked 3 days ago Published 9 days ago

Read-only US industrial stormwater permit facts: state permits, industry coverage, no-exposure.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_states List state stormwater permits

Lists every US state, territory and DC with its industrial stormwater permit, the agency that runs it, the official link and whether StormDue lists its duties. Use get_state_permit for one state.

get_state_permit Look up a state's stormwater permit

Returns one state's industrial stormwater permit: agency, permit name and number, effective and expiry dates, the official page, where facilities file, and whether StormDue lists its duties. Each cell carries a confidence mark: (C) confirmed from the agency page, (I) inferred, (U) not checked.

ParameterTypeDescription
state *stringUS state, territory or DC: a two-letter USPS code (e.g. "CA") or the name (e.g. "California").

check_industry_coverage Check an industry code against the federal lists

Given a 4-digit SIC code (or words such as "scrap metal recycling", or a 2-3 digit SIC prefix), returns the SIC title, the federal industrial-activity category of 40 CFR 122.26(b)(14) that lists it, and the EPA 2021 MSGP sector and subsector (Appendix D), each with a proof link. Words or prefixes return matching codes to choose from. It reports what the lists say; it never decides whether a facility needs a permit.

ParameterTypeDescription
query *stringA 4-digit SIC code such as "5093", a 2-3 digit SIC prefix, or words from the industry name.

no_exposure_checklist Run the no-exposure checklist

Without answers: returns the eleven exposure questions of 40 CFR 122.26(g)(4)(iii) (the same as EPA's No Exposure Certification form) with their limits. With answers: returns "may_certify" (every item "no": the facility may be able to certify no exposure; confirm with the agency), "exposure" (one or more items "yes") or "incomplete". Optionally give the state for its agency and any state-specific note.

ParameterTypeDescription
answersobjectAnswers to the 11 exposure questions, keyed by item id "A" to "K" (from no_exposure_checklist with no answers). Each value is "yes" (exposed to precipitation now or in the foreseeable future) or "no".
statestringUS state, territory or DC: a two-letter USPS code (e.g. "CA") or the name (e.g. "California").

get_permit_duties Get a permit's duties and next due dates

Returns the recurring duties of a state's industrial stormwater permit with the next due date of each and the next 12 months of dates, each with its permit citation, and each duty's further steps (sub_deadlines) with their own dates or open questions, but only when the permit's rules have passed review. Otherwise returns available: false, the review status, and the state's permit facts. Coverage is "noi" (full permit) or "nec" (no-exposure certification) where the permit has it.

ParameterTypeDescription
state *stringUS state, territory or DC: a two-letter USPS code (e.g. "CA") or the name (e.g. "California").
coveragestringCoverage type id, e.g. "noi" or "nec". Defaults to the permit's first.