OSHA Compliance API

API Reference

Base URL: https://osha-mcp.vercel.app/api/lookup

lookup_standard

Search OSHA standards by topic, keyword, hazard, or standard number.

Request

POST /api/lookup
{
  "tool": "lookup_standard",
  "query": "fall protection for roofing",
  "scope": "both"  // optional: "general_industry" | "construction" | "both"
}

Response

{
  "success": true,
  "tool": "lookup_standard",
  "result": [
    {
      "standard_number": "1926.501",
      "title": "Duty to have fall protection.",
      "subpart": "Subpart M—Fall Protection",
      "scope": "construction",
      "plain_summary": "This OSHA standard requires employers...",
      "key_requirements": [
        "Determine that walking/working surfaces have strength...",
        "Protect employees on unprotected sides and edges 6 feet..."
      ],
      "ppe_requirements": ["Hard hat when exposed to falling objects"],
      "ecfr_url": "https://www.ecfr.gov/current/title-29/section-1926.501"
    }
  ],
  "timestamp": "2026-03-31T15:00:00Z"
}

get_ppe_requirements

Get required PPE for a specific task or hazard.

Request

POST /api/lookup
{
  "tool": "get_ppe_requirements",
  "task": "overhead welding"
}

Response

{
  "success": true,
  "tool": "get_ppe_requirements",
  "result": [
    {
      "standard_number": "1910.252",
      "title": "General welding requirements.",
      "ppe_requirements": [
        "Welding helmet with appropriate shade lens",
        "Safety glasses with side shields",
        "Leather gloves and apron",
        "Steel-toed boots",
        "Hearing protection when required"
      ],
      "applicable_hazards": ["fumes", "sparks", "arc radiation"],
      "ecfr_url": "https://www.ecfr.gov/current/title-29/section-1910.252"
    }
  ]
}

get_penalty_info

Get current OSHA penalty amounts by violation type.

Request

POST /api/lookup
{
  "tool": "get_penalty_info",
  "violation_type": "serious"  // optional: "serious" | "other_than_serious" | "willful" | "repeat" | "failure_to_abate" | "all"
}

Response

{
  "success": true,
  "tool": "get_penalty_info",
  "result": [
    {
      "violation_type": "serious",
      "min_penalty": 1078,
      "max_penalty": 16123,
      "effective_date": "2026-01-15",
      "notes": "Penalties adjusted annually for inflation"
    }
  ]
}

check_applicability

Determine which standards apply to an industry or task.

Request

POST /api/lookup
{
  "tool": "check_applicability",
  "task": "trenching 6 feet deep",
  "industry": "construction"  // optional
}

get_standard_text

Get full regulatory text by standard number.

Request

POST /api/lookup
{
  "tool": "get_standard_text",
  "standard_number": "1910.134"
}

Data Freshness

View Pricing