Osha Compliance Assistant

Created By
contextkits3 months ago
Check workplace safety compliance against OSHA General Industry standards (29 CFR 1910) with cited regulation sections and corrective actions.
Overview

OSHA Compliance Assistant (MCP Server)

MIT License Python 3.10+ MCP Compatible

Give Claude instant access to OSHA General Industry compliance knowledge (29 CFR 1910). Ask workplace safety questions and get cited verdicts with regulation sections and corrective actions.


Get Your API Key

Free tier available — no credit card required.

TierDaily CallsPrice
Sandbox10/dayFree
Developer500/day$79/mo
Team2,000/day$199/mo
Enterprise10,000/day$499/mo

Installation

pip install mcp httpx

Claude Desktop Setup

Add to claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "osha-compliance": {
      "command": "python",
      "args": ["/path/to/osha-compliance-assistant/server.py"],
      "env": {
        "OSHA_API_KEY": "your_api_key_here"
      }
    }
  }
}

Available Tool

compliance_check

Check whether a workplace scenario complies with OSHA General Industry standards.

Input:

{
  "scenario": "Describe the workplace situation or safety question"
}

Output: Cited compliance verdict with relevant regulation section and recommended actions.


Coverage

OSHA 29 CFR 1910 General Industry standards including fall protection, machine guarding, electrical safety, lockout/tagout, PPE, fire safety, hazard communication, forklifts, and more.


Disclaimer

AI-generated guidance only. Not a substitute for official OSHA publications or certified safety inspections. Always verify with a qualified safety professional.


License

MIT — see LICENSE

An MCP server that gives Claude instant access to OSHA General Industry compliance knowledge (29 CFR 1910). Ask any workplace safety question and get a cited YES/NO verdict with the relevant regulation section and corrective actions.


What It Does

Claude can answer questions like:

  • "Do I need guardrails on a 4-foot platform?"✅ YES - Section 1910.23(c)(1)
  • "Can I store propane cylinders near an exit door?"❌ NO - Section 1910.253(b)
  • "Is automatic restart after a power outage allowed on saws?"❌ NO - Section 1910.213(a)(9)

Covers 30+ high-priority OSHA 1910 topics including fall protection, lockout/tagout, electrical safety, machine guarding, fire extinguishers, forklifts, PPE, hazard communication, and more.


Get Your API Key

Free tier available. Get your API key instantly via Telegram:

📧 Email gcsmst at gmail.com with subject "MCP API Key" to get your free Sandbox key

TierDaily CallsPrice
Sandbox10/dayFree
Developer500/day$79/mo
Team2,000/day$199/mo
Enterprise10,000/day$499/mo

Installation

pip install mcp httpx

Claude Desktop Configuration

Add to your claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "osha-compliance": {
      "command": "python",
      "args": ["/path/to/osha-compliance-assistant/server.py"],
      "env": {
        "OSHA_API_KEY": "your_api_key_here"
      }
    }
  }
}

Replace /path/to/osha-compliance-assistant/server.py with the actual path where you cloned this repo.


Available Tool

compliance_check

Check whether a workplace scenario complies with OSHA General Industry standards.

Input:

{
  "scenario": "string — describe the workplace situation or safety question"
}

Output:

Plain text response with:

  • ✅ YES or ❌ NO verdict
  • Cited OSHA section (e.g. Section 1910.23(c)(1))
  • 3 bullet points with specific requirements
  • Corrective actions where applicable

Example:

User: Do workers need hard hats when doing electrical panel work?

Claude (via OSHA MCP):
❌ NO - Section 1910.135
- Hard hats (ANSI Z89.1) required when overhead electrical hazard exists
- Electrical panel work requires Class E rated hard hat for arc flash protection
- Employer must conduct hazard assessment before work begins (1910.132(d))

⚠️ AI analysis only — verify with official OSHA standards or a safety professional.

Topics Covered

SectionTopic
1910.23Guardrails & Fall Protection
1910.25Portable Ladders
1910.36-37Exit Routes & Doors
1910.95Noise & Hearing Conservation
1910.133Eye & Face Protection
1910.135Head Protection
1910.147Lockout/Tagout (LOTO)
1910.157Fire Extinguishers
1910.178Forklifts
1910.212Machine Guarding
1910.215Grinders
1910.242Compressed Air
1910.253Oxygen & Fuel Cylinders
1910.303Electrical Safety
1910.1200Hazard Communication (SDS)
5(a)(1)General Duty Clause

Disclaimer

This tool provides AI-generated compliance guidance based on OSHA 1910 General Industry standards. It is not a substitute for professional safety consultation, official OSHA publications, or certified safety inspections. Always verify with official OSHA standards or a qualified safety professional before making compliance decisions.


License

MIT License — see LICENSE

Server Config

{
  "mcpServers": {
    "osha-compliance": {
      "command": "python",
      "args": [
        "server.py"
      ],
      "env": {
        "OSHA_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
Project Info
Created At
3 months ago
Updated At
3 months ago
Author Name
contextkits
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Bring your real authenticated browser session to AI coding agents. Local-first MCP server + Chrome MV3 extension. No cloud. No telemetry.
@Cubenest

peek records the user's actual logged-in browser (DOM via rrweb, console events, network metadata, optional response bodies via opt-in Deep capture) through a Chrome MV3 extension. The extension ships events through a native-messaging stdio bridge to a local MCP server (peek-mcp), which persists them to a SQLite database at ~/.peek/sessions.db. AI coding agents (Claude Code, Cursor, Cline, Windsurf) read sessions from the database via 10 MCP tools: Tool What it does list_recent_sessions List recently recorded sessions (id, origin, ts, event count). get_session_summary LLM-readable narrative summary of a session. get_session_console_errors Console errors recorded in a session. get_session_network_errors Failed/notable network requests in a session. get_user_action_before_error Last N user actions before a console error. generate_playwright_repro Generate a runnable Playwright test from a session. get_dom_snapshot Reconstruct the DOM at a given timestamp. query_dom_history Timeline of attribute/text changes for a selector. request_authorization Side-panel consent for write actions (Level 3). execute_action Dispatch a UI action (gated by permission level + destructive blocklist). Why local-first matters Every other "browser session for AI" tool ships to a vendor cloud. peek's SQLite + extension live on the user's machine — no remote endpoints, no telemetry. The privacy policy (docs/peek/PRIVACY_POLICY.md) is the source of truth. Install # 1. Add the MCP server to Claude Code claude mcp add peek -- npx -y @peekdev/mcp # 2. Install the Chrome extension from the Chrome Web Store # (link added once the CWS listing is approved)

9 hours ago