Osha

v0.2.1
io.github.pipeworx-io/osha Checked 2 days ago Published 29 days ago

OSHA MCP — US workplace-safety standards (29 CFR Chapter XVII, parts 1900–1990) AND OSHA…

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

osha_standard

Get the full text of one OSHA standard (US workplace-safety / occupational safety and health regulation) by its citation. OSHA standards are 29 CFR — this returns the exact regulatory wording currently in force. Answers "what is the OSHA standard for X", "does OSHA require X", "read the text of 1910.132", "the OSHA fall protection rule". Forgiving citation input: "1910.132", "29 CFR 1910.132", "§1910.132", "1926.501", even "1910.132(a)" (paragraph is stripped to the section). Covers 29 CFR 1910 general industry, 1926 construction, 1915/1917/1918 maritime, 1928 agriculture, plus recordkeepin…

ParameterTypeDescription
citation *stringOSHA standard citation. A section: "1910.132", "29 CFR 1910.1200", "§1910.147", "1926.501", "1910.132(a)". Or a whole part: "1910", "1926", "1926 subpart M" → returns the part's section list.

osha_inspections

OSHA inspections for a named establishment and/or state — the enforcement record OSHA actually took, not the standards. Answers "has OSHA inspected X", "list OSHA inspections for X", "OSHA inspections in state X since date Y". Returns each inspection's address, NAICS code, whether it was a safety or health inspection, the inspection type (Accident / Complaint / Programmed / Referral / Fatality-Catastrophe / etc.), scope, open/close dates, and open-vs-closed status. Establishment matching is a substring match against OSHA's name on file (case-insensitive on input, matched upper-case) — a sh…

ParameterTypeDescription
establishmentstringEstablishment / company name, or a fragment of it, e.g. "Walmart", "Moran Towing". Matched as an upper-cased substring.
limitnumberMax inspections to return, 1–25 (default 10).
sincestringOnly inspections opened after this date, YYYY-MM-DD, e.g. "2020-01-01".
statestring2-letter US state postal code of the inspected site, e.g. "TX", "NY".

osha_inspection

One OSHA inspection by its activity number (from osha_inspections or osha_establishment_summary): the inspection record plus every violation cited — standard cited, violation type (Serious/Willful/Repeat/Other-than-Serious), issuance and abatement dates, instances, employees exposed, and BOTH the initial and current (post-contest/settlement) penalty amounts, plus the summed totals. Answers "what violations came out of inspection X", "what did OSHA fine them for this inspection", "penalty amounts for activity number X". Example: osha_inspection({ activity_nr: 348458035 }). Live US Dept. of La…

ParameterTypeDescription
activity_nr *numberThe numeric OSHA inspection activity number, e.g. 348458035. Get it from osha_inspections or osha_establishment_summary.

osha_establishment_summary

Rolled-up OSHA enforcement history for an establishment: how many inspections, how many violations, total initial and current penalty amounts across all of them, the most recent inspection date, and the distinct establishment names OSHA has on file matching the search (chains and renamed sites often appear under several). Answers "has OSHA fined X", "total OSHA penalties for X", "how many times has OSHA inspected X", "OSHA enforcement summary for X". Narrower and faster to read than paging through osha_inspections yourself. Example: osha_establishment_summary({ name: "Walmart", state: "AR" }).…

ParameterTypeDescription
name *stringEstablishment / company name, or a fragment of it. Matched as an upper-cased substring.
statestring2-letter US state postal code to narrow to one state, e.g. "AR".