echo_facility_search
Pack: epa-echo · Endpoint: https://gateway.pipeworx.io/epa-echo/mcp
Search EPA-regulated facilities by name, state, ZIP code, city, or industry code (e.g., “3211” for logging). Returns facility IDs, addresses, compliance status, and program affiliations.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
facility_name | string | no | Facility name (partial match). |
state | string | no | Two-letter state abbreviation (e.g., “CA”). |
zip | string | no | ZIP code. |
city | string | no | City name. |
naics | string | no | NAICS industry code. |
limit | number | no | Max results to return (default 20, max 100). |
Example call
Arguments
{
"facility_name": "Steel Mill",
"state": "PA",
"limit": 20
}
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_facility_search","arguments":{"facility_name":"Steel Mill","state":"PA","limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('echo_facility_search', {
"facility_name": "Steel Mill",
"state": "PA",
"limit": 20
});
More examples
{
"city": "Houston",
"naics": "3211",
"state": "TX",
"limit": 50
}
Response shape
Always returns: total_count, returned, facilities
| Field | Type | Description |
|---|---|---|
total_count | number | Total number of facilities matching search criteria |
returned | number | Number of facilities returned in this response |
facilities | array | List of EPA-regulated facilities |
Full JSON Schema
{
"type": "object",
"properties": {
"total_count": {
"type": "number",
"description": "Total number of facilities matching search criteria"
},
"returned": {
"type": "number",
"description": "Number of facilities returned in this response"
},
"facilities": {
"type": "array",
"description": "List of EPA-regulated facilities",
"items": {
"type": "object",
"properties": {
"registry_id": {
"type": [
"string",
"null"
],
"description": "EPA Registry ID for the facility"
},
"name": {
"type": [
"string",
"null"
],
"description": "Facility name"
},
"street": {
"type": [
"string",
"null"
],
"description": "Street address"
},
"city": {
"type": [
"string",
"null"
],
"description": "City name"
},
"state": {
"type": [
"string",
"null"
],
"description": "State abbreviation"
},
"zip": {
"type": [
"string",
"null"
],
"description": "ZIP code"
},
"latitude": {
"type": [
"number",
"null"
],
"description": "Geographic latitude"
},
"longitude": {
"type": [
"number",
"null"
],
"description": "Geographic longitude"
},
"cwa_status": {
"type": [
"string",
"null"
],
"description": "Clean Water Act compliance status"
},
"caa_status": {
"type": [
"string",
"null"
],
"description": "Clean Air Act compliance status"
},
"rcra_status": {
"type": [
"string",
"null"
],
"description": "Resource Conservation and Recovery Act compliance status"
},
"sdwis_status": {
"type": [
"string",
"null"
],
"description": "Safe Drinking Water Information System status"
},
"sic_codes": {
"type": [
"string",
"null"
],
"description": "Standard Industrial Classification codes"
},
"naics_codes": {
"type": [
"string",
"null"
],
"description": "North American Industry Classification System codes"
},
"quarters_in_noncompliance": {
"type": [
"number",
"null"
],
"description": "Number of quarters facility was in non-compliance"
},
"inspection_count": {
"type": [
"number",
"null"
],
"description": "Total number of inspections"
},
"formal_action_count": {
"type": [
"number",
"null"
],
"description": "Number of formal enforcement actions"
},
"total_penalties": {
"type": [
"number",
"null"
],
"description": "Total penalties assessed in dollars"
}
}
}
}
},
"required": [
"total_count",
"returned",
"facilities"
]
}
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.