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.”
| Mine | County | S&S violations |
|---|---|---|
| Example sand mine | Winkler | 7 |
| Example aggregate quarry | Bexar | 4 |
| Example limestone quarry | Comal | 2 |
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/mcpClaude: 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/mcpStep by step
- 1
Open connectors
In Claude, open Settings > Connectors and click "Add custom connector".
- 2
Paste the URL
Name it PatchOps and paste
https://patchops.ai/api/mcpas the server URL, then click Add. - 3
Sign in
Click Connect and sign in to PatchOps when Claude asks.
- 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).
Setup
A few steps to connect your AI agents to MSHA (Mine Safety & Health Administration).
- 1
Add your credential
Open /mcp, choose MSHA (Mine Safety & Health Administration) and paste the credential it asks for.
- 2
Ask for the data
Use patchops_find to locate a method, then patchops_query to run it.
