echo_compliance_history
Pack: epa-echo · Endpoint: https://gateway.pipeworx.io/epa-echo/mcp
Check a facility’s compliance record and enforcement timeline. Returns violation status, inspection dates, quarters in violation, and enforcement actions taken.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
registry_id | string | yes | EPA Registry ID (from echo_facility_search results). |
Example call
Arguments
{
"registry_id": "110000350148"
}
curl
curl -X POST https://gateway.pipeworx.io/epa-echo/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"echo_compliance_history","arguments":{"registry_id":"110000350148"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('echo_compliance_history', {
"registry_id": "110000350148"
});
Response shape
Always returns: registry_id, compliance_summary
| Field | Type | Description |
|---|---|---|
registry_id | string | EPA Registry ID for the facility |
compliance_summary | object | Facility compliance summary data from EPA ECHO |
Full JSON Schema
{
"type": "object",
"properties": {
"registry_id": {
"type": "string",
"description": "EPA Registry ID for the facility"
},
"compliance_summary": {
"type": "object",
"description": "Facility compliance summary data from EPA ECHO"
}
},
"required": [
"registry_id",
"compliance_summary"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"epa-echo": {
"url": "https://gateway.pipeworx.io/epa-echo/mcp"
}
}
}
See Getting Started for client-specific install steps.