ALL AI FORMS / Guides / Environmental compliance and water
Check environmental compliance and water permits
Look up Clean Water Act discharge-permit compliance from EPA ECHO public data. The live tool is water_compliance_check on the All AI Data API. This is a public-records lookup, not a certification of compliance and not legal advice.
Who it is for: environmental staff, consultants, and developers who need a starting view of NPDES permit or facility compliance data, then will check the original EPA sources.
What it does
Query by NPDES permit ID (npdes_id, pattern like the schema example MN0029815), by facility_name, or by city and state, or by lat, lon and optional radius_km (default 5, maximum 40). Optional only_with_violations keeps facilities currently in violation or with a violation in the last 3 years. max_results defaults to 20 (maximum 50). None of the fields is strictly required, but you should supply at least one of a permit ID, a name, a place, or coordinates.
The identifier MN0029815 in the curl below is the example NPDES permit ID from the live tool schema, used here as a public EPA identifier.
Price
10 credits ($0.01) per successful call. Failed or empty calls are free. The Starter pack is $0.99 for 1,200 credits. Keyless callers get 3 free trial calls per network per UTC day, shared across paid tools.
Buy the $0.99 Starter packAll AI Data API docsAll guides
Unused Data API credits are refundable within 30 days of purchase, as stated in the All AI Data API terms.
Call it with curl
curl -s -X POST https://allai-api.allaihq.workers.dev/v1/tools/water_compliance_check \
-H 'content-type: application/json' \
-d '{"npdes_id": "MN0029815", "max_results": 5}'Call it from an MCP client
Client config:
claude mcp add --transport http allai-api https://allai-api.allaihq.workers.dev/mcp
Cursor or VS Code (.mcp.json or mcp.json):
{
"mcpServers": {
"allai-api": {
"type": "http",
"url": "https://allai-api.allaihq.workers.dev/mcp"
}
}
}A tools/call:
curl -s -X POST https://allai-api.allaihq.workers.dev/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "water_compliance_check", "arguments": {"npdes_id": "MN0029815", "max_results": 5}}}'Live schema: https://allai-api.allaihq.workers.dev/v1/tools. EPA ECHO is the source named by the tool. Contact ops@allaiforms.com.