osha-compliance-assistant
MCP server for OSHA workplace safety compliance requirements and regulations
Documentation
OSHA Compliance Assistant (MCP Server)
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.
| Tier | Daily Calls | Price |
|---|---|---|
| Sandbox | 10/day | Free |
| Developer | 500/day | $79/mo |
| Team | 2,000/day | $199/mo |
| Enterprise | 10,000/day | $499/mo |
Installation
pip install mcp httpxClaude 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
| Tier | Daily Calls | Price |
|---|---|---|
| Sandbox | 10/day | Free |
| Developer | 500/day | $79/mo |
| Team | 2,000/day | $199/mo |
| Enterprise | 10,000/day | $499/mo |
Installation
pip install mcp httpxClaude 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
| Section | Topic |
|---|---|
| 1910.23 | Guardrails & Fall Protection |
| 1910.25 | Portable Ladders |
| 1910.36-37 | Exit Routes & Doors |
| 1910.95 | Noise & Hearing Conservation |
| 1910.133 | Eye & Face Protection |
| 1910.135 | Head Protection |
| 1910.147 | Lockout/Tagout (LOTO) |
| 1910.157 | Fire Extinguishers |
| 1910.178 | Forklifts |
| 1910.212 | Machine Guarding |
| 1910.215 | Grinders |
| 1910.242 | Compressed Air |
| 1910.253 | Oxygen & Fuel Cylinders |
| 1910.303 | Electrical Safety |
| 1910.1200 | Hazard 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
Frequently asked questions
What is osha-compliance-assistant?
osha-compliance-assistant is MCP server for OSHA workplace safety compliance requirements and regulations
How do I install osha-compliance-assistant?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is osha-compliance-assistant open source?
Yes — it is hosted on GitHub at https://github.com/contextkits/osha-compliance-assistant and has 2 stars.
Related MCP tools
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Automate browser based workflows with AI
Hindsight: Agent Memory That Learns
A privacy-first app that strips AI watermarks from content you own.
Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP