Back to connectors
M

MSHA (Mine Safety & Health Administration)

Your key

U.S. mine safety records from MSHA: mines, violations, and accidents.

Needs your own MSHA (Mine Safety & Health Administration) key. Included on Free.

Questions you can ask

  • “Which MSHA datasets are available?”
  • “Significant and substantial violations for mines in Texas last year.”
  • “Accidents reported at this mine in the last five years.”
Sample outputfor “Significant and substantial violations for mines in Texas last year.”
MineCountyS&S violations
Example sand mineWinkler7
Example aggregate quarryBexar4
Example limestone quarryComal2

Illustrative values showing the shape of an answer, not live data.

Connect to your AI assistant

Paste this URL into Claude, ChatGPT, or any MCP client, then sign in when prompted. After you sign in, add your MSHA (Mine Safety & Health Administration) key in PatchOps.

https://patchops.ai/api/mcp

Claude: use Add to Claude, or Settings > Connectors > Add custom connector and paste the URL.

Claude Code

claude mcp add --transport http patchops https://patchops.ai/api/mcp

Step by step

  1. 1

    Open connectors

    In Claude, open Settings > Connectors and click "Add custom connector".

  2. 2

    Paste the URL

    Name it PatchOps and paste https://patchops.ai/api/mcp as the server URL, then click Add.

  3. 3

    Sign in

    Click Connect and sign in to PatchOps when Claude asks.

  4. 4

    Start using

    Ask Claude a question. It uses MSHA (Mine Safety & Health Administration) through PatchOps when it needs to.

› Technical details

MSHA mine-safety enforcement data via the DOL Open Data Portal — mines master list, violations (S&S), accidents/injuries, inspections; catalog browsing is keyless, bulk data needs a free DOL API key (DOL_API_KEY).

View the data contract and method schemas →

Setup

A few steps to connect your AI agents to MSHA (Mine Safety & Health Administration).

Continue setup
  1. 1

    Add your credential

    Open /mcp, choose MSHA (Mine Safety & Health Administration) and paste the credential it asks for.

  2. 2

    Ask for the data

    Use patchops_find to locate a method, then patchops_query to run it.