io.github.cyanheads/epa-mcp-server is an MCP server published by io.github.cyanheads, hosted at epa.caseyjhand.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 11 tools, including epa_echo_search_facilities, epa_echo_get_facility, epa_echo_search_violations, epa_echo_get_case, epa_tri_get_facility_releases.
Search EPA compliance, TRI, Superfund, drinking-water, EJScreen, and AirNow data.
428 connections through 5 shared values. Tap any node.
ECHO: Search EPA-regulated facilities by location, county, facility name, NAICS industry code, environmental program, or compliance status across CAA, CWA, RCRA, TRI, and SDWA. Returns facility name, EPA Registry ID, coordinates, county FIPS code, per-program registration flags, TRI facility IDs, five-year inspection and penalty totals, and TRI release totals. Registry IDs returned here feed epa_echo_get_facility; TRI facility IDs feed epa_tri_get_facility_releases. Supports proximity search via latitude + longitude + radius_miles, whose rows add distanceMiles from that point. At least one geographic filter (zip_code, state, city, county_fips, or a complete latitude+longitude+radius_miles triple) is required — unscoped searches time out. Page past limit with offset and nextOffset.
| Parameter | Type | Description |
|---|---|---|
| city | string | City name, case-insensitive; matches cities that begin with it ("TACOMA", or "SEAT" for SEATTLE and SEATAC). Pair with state. |
| limit |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| integer |
| Number of facilities to return in one call. Default 25; a larger value returns at most 2,500 and says so. Page past it with offset and nextOffset. |
| naics | string | NAICS industry code, 2–6 digits; fewer than six match every code that begins with them ("3364" for aerospace product and parts manufacturing). Pair with a geographic filter. |
| state | array | 2-letter state or territory codes (e.g. "WA", "PR"), case-insensitive, matching any of them. Required with county. ECHO also files facilities under codes outside the USPS set, such as DM for offshore Gulf of Mexico platforms; any 2-character code is searched as written. |
| county | string | County name, case-insensitive. A trailing County, Parish, Borough, City and Borough, Census Area, or Municipality is dropped ("King County" searches KING), then it matches recorded county names that begin with it, so KING in VA also matches KING GEORGE. Requires state, and matches in each state list… |
| offset | integer | Number of facilities to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page. |
| latitude | number | Latitude in decimal degrees. Pair with longitude and radius_miles for proximity search. |
| programs | array | Restrict results to facilities registered in one environmental program — ECHO filters on a single program per search, so pass one value. CAA=air, CWA=water, RCRA=hazardous waste, TRI=toxic releases, SDWA=drinking water. |
| zip_code | array | 5-digit ZIP codes to search within, matching any of them; a ZIP+4 such as "98108-1234" searches its first five digits |
| longitude | number | Longitude in decimal degrees. Pair with latitude and radius_miles for proximity search. |
| active_only | boolean | When true, return only facilities with an active permit |
| county_fips | string | 5-digit county FIPS code, state + county (e.g. "53033" for King County, WA); matches it exactly and scopes a search on its own. Leaves out registrations with no program record, which county includes. |
| radius_miles | number | Search radius in miles around the given latitude/longitude (max 100). Requires latitude and longitude. |
| facility_name | string | Facility name words, case-insensitive: every word must appear as a whole word, in any order, in a name ECHO records for the facility, so "BOEING" matches BOEING PLANT 2 and "OEING" matches nothing. A match can come from another name ECHO records for the facility, so a returned name can lack the word… |
| has_violation | boolean | When true, return only facilities with at least one program in significant noncompliance (complianceStatus "Significant Violation") |
{
"name": "epa_echo_search_facilities",
"title": "Search EPA Facilities",
"description": "ECHO: Search EPA-regulated facilities by location, county, facility name, NAICS industry code, environmental program, or compliance status across CAA, CWA, RCRA, TRI, and SDWA. Returns facility name, EPA Registry ID, coordinates, county FIPS code, per-program registration flags, TRI facility IDs, five-year inspection and penalty totals, and TRI release totals. Registry IDs returned here feed epa_echo_get_facility; TRI facility IDs feed epa_tri_get_facility_releases. Supports proximity search via latitude + longitude + radius_miles, whose rows add distanceMiles from that point. At least one geographic filter (zip_code, state, city, county_fips, or a complete latitude+longitude+radius_miles triple) is required — unscoped searches time out. Page past limit with offset and nextOffset.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"city": {
"type": "string",
"description": "City name, case-insensitive; matches cities that begin with it (\"TACOMA\", or \"SEAT\" for SEATTLE and SEATAC). Pair with state."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of facilities to return in one call. Default 25; a larger value returns at most 2,500 and says so. Page past it with offset and nextOffset."
},
"naics": {
"type": "string",
"pattern": "^\\s*(?:\\d{2,6}\\s*)?$",
"description": "NAICS industry code, 2–6 digits; fewer than six match every code that begins with them (\"3364\" for aerospace product and parts manufacturing). Pair with a geographic filter."
},
"state": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\s*[A-Za-z0-9]{2}\\s*$"
},
"maxItems": 100,
"description": "2-letter state or territory codes (e.g. \"WA\", \"PR\"), case-insensitive, matching any of them. Required with county. ECHO also files facilities under codes outside the USPS set, such as DM for offshore Gulf of Mexico platforms; any 2-character code is searched as written."
},
"county": {
"type": "string",
"description": "County name, case-insensitive. A trailing County, Parish, Borough, City and Borough, Census Area, or Municipality is dropped (\"King County\" searches KING), then it matches recorded county names that begin with it, so KING in VA also matches KING GEORGE. Requires state, and matches in each state listed. Covers every registration ECHO places in the county, including ones with no program record that county_fips leaves out."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of facilities to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees. Pair with longitude and radius_miles for proximity search."
},
"programs": {
"type": "array",
"items": {
"enum": [
"CAA",
"CWA",
"RCRA",
"TRI",
"SDWA"
],
"type": "string"
},
"maxItems": 1,
"description": "Restrict results to facilities registered in one environmental program — ECHO filters on a single program per search, so pass one value. CAA=air, CWA=water, RCRA=hazardous waste, TRI=toxic releases, SDWA=drinking water."
},
"zip_code": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\s*\\d{5}(?:-?\\d{4})?\\s*$"
},
"maxItems": 200,
"description": "5-digit ZIP codes to search within, matching any of them; a ZIP+4 such as \"98108-1234\" searches its first five digits"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees. Pair with latitude and radius_miles for proximity search."
},
"active_only": {
"type": "boolean",
"description": "When true, return only facilities with an active permit"
},
"county_fips": {
"type": "string",
"pattern": "^\\s*(?:\\d{5}\\s*)?$",
"description": "5-digit county FIPS code, state + county (e.g. \"53033\" for King County, WA); matches it exactly and scopes a search on its own. Leaves out registrations with no program record, which county includes."
},
"radius_miles": {
"type": "number",
"maximum": 100,
"description": "Search radius in miles around the given latitude/longitude (max 100). Requires latitude and longitude.",
"exclusiveMinimum": 0
},
"facility_name": {
"type": "string",
"pattern": "^[^,]*$",
"description": "Facility name words, case-insensitive: every word must appear as a whole word, in any order, in a name ECHO records for the facility, so \"BOEING\" matches BOEING PLANT 2 and \"OEING\" matches nothing. A match can come from another name ECHO records for the facility, so a returned name can lack the words. No commas. Pair with a geographic filter."
},
"has_violation": {
"type": "boolean",
"description": "When true, return only facilities with at least one program in significant noncompliance (complianceStatus \"Significant Violation\")"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"facilities",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"no_geographic_filter",
"incomplete_proximity",
"county_requires_state"
],
"description": "Machine-readable failure mode. Declared by this tool: `no_geographic_filter`: No zip_code, state, city, county_fips, or latitude+longitude+radius_miles. `incomplete_proximity`: Only part of latitude, longitude, and radius_miles. `county_requires_state`: county without state. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"notice": {
"type": "string",
"description": "Present when more facilities follow: the continuing offset."
},
"message": {
"type": "string",
"description": "Recovery hint on an empty page; absent otherwise."
},
"facilities": {
"type": "array",
"items": {
"type": "object",
"required": [
"registryId",
"name",
"programs",
"triFacilityIds"
],
"properties": {
"zip": {
"type": "string",
"description": "ZIP code"
},
"city": {
"type": "string",
"description": "City"
},
"name": {
"type": "string",
"description": "Facility name"
},
"state": {
"type": "string",
"description": "State code"
},
"county": {
"type": "string",
"description": "County name"
},
"street": {
"type": "string",
"description": "Street address"
},
"fipsCode": {
"type": "string",
"description": "5-digit county FIPS code"
},
"latitude": {
"type": "number",
"description": "Decimal degrees"
},
"programs": {
"type": "object",
"required": [
"air",
"water",
"rcra",
"tri",
"sdwa"
],
"properties": {
"air": {
"type": "boolean",
"description": "Has an ICIS-Air (CAA) record"
},
"tri": {
"type": "boolean",
"description": "triFacilityIds is non-empty, whether or not it reported in the latest year"
},
"rcra": {
"type": "boolean",
"description": "Has an RCRA handler record"
},
"sdwa": {
"type": "boolean",
"description": "Has an SDWA water system record"
},
"water": {
"type": "boolean",
"description": "Has an ICIS-NPDES (CWA) permit record"
}
},
"description": "Flags for the programs the programs filter selects",
"additionalProperties": false
},
"longitude": {
"type": "number",
"description": "Decimal degrees"
},
"registryId": {
"type": "string",
"description": "FRS Registry ID; pass it as registry_id to epa_echo_get_facility"
},
"distanceMiles": {
"type": "number",
"description": "Great-circle miles from the search point, to two decimals; absent without a search point or row coordinates."
},
"triFacilityIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "15-character IDs in ECHO's order, not reporting-year order; pass one as facility_id to epa_tri_get_facility_releases. Several mean successive operators."
},
"inspectionCount": {
"type": "number",
"description": "Last five years, all programs"
},
"complianceStatus": {
"type": "string",
"description": "ECHO compliance status"
},
"totalPenaltiesInDollars": {
"type": "number",
"description": "Formal-action penalties in dollars, last five years, all programs"
},
"triReleasesTransfersInLbs": {
"type": "number",
"description": "TRI releases and transfers in pounds, ECHO's latest TRI year; for per-chemical detail pass a triFacilityIds entry, not the Registry ID, to epa_tri_get_facility_releases"
}
},
"description": "One facility",
"additionalProperties": false
},
"description": "Matching facilities, ECHO's order"
},
"nextOffset": {
"type": "number",
"description": "Next offset; absent on the last page."
},
"totalCount": {
"type": "number",
"description": "Matches before limit and offset"
},
"limitNotice": {
"type": "string",
"description": "Present when a smaller limit than requested applied; says why."
},
"effectiveQuery": {
"type": "string",
"description": "The search as sent upstream, in input names: values, match modes, and result-changing defaults, \"; \"-joined."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}ECHO: Retrieve a full compliance profile for a single EPA-regulated facility by EPA Registry ID or EPA program ID. Returns facility metadata, the NAICS industry codes its programs record, ECHO's facility-level compliance status, a per-statute (CAA, CWA, RCRA, SDWA, and others ECHO tracks) compliance summary, inspections and other compliance monitoring records from the last five years (newest first, paged), five years of formal enforcement actions with penalties, five years of drinking-water violations with contaminant, measure, MCL, status, and enforcement actions (paged), Clean Water Act effluent limit exceedances by pollutant and outfall and RCRA violations (both paged), Clean Air Act High Priority Violations, every program ID linked to the facility, the latest TRI release total, and the facility's TRI facility IDs for epa_tri_get_facility_releases. Use epa_echo_search_facilities to discover Registry IDs; pass a public water system's PWSID from epa_water_search_systems to get its drinking-water violations. For area-level enforcement discovery use epa_echo_search_violations instead.
| Parameter | Type | Description |
|---|---|---|
| registry_id * | string | EPA FRS Registry ID for the facility (from epa_echo_search_facilities), or an EPA program ID ECHO resolves to one: a public water system PWSID (from epa_water_search_systems, e.g. WA5300484), a TRI facility ID, an NPDES permit, or a RCRA handler ID. The profile carries the resolved registryId. |
| inspections_limit | integer | Number of inspections to return in one call. Default 25; a larger value returns at most 5,000 and says so. Page past it with inspections_offset and inspectionsNextOffset. |
| inspections_offset | integer | Number of inspections to skip before this page (default 0). Pass the previous call's inspectionsNextOffset to continue; a value past the end returns an empty page. |
| rcra_violations_limit | integer | Number of RCRA violations to return in one call. Default 25; a larger value returns the rest of the list. Page past it with rcra_violations_offset and rcraViolationsNextOffset. |
| rcra_violations_offset | integer | Number of RCRA violations to skip before this page (default 0). Pass the previous call's rcraViolationsNextOffset to continue; a value past the end returns an empty page. |
| effluent_exceedances_limit | integer | Number of effluent exceedance series to return in one call. Default 10; a larger value returns the rest of the list. Page past it with effluent_exceedances_offset and effluentExceedancesNextOffset. |
| effluent_exceedances_offset | integer | Number of effluent exceedance series to skip before this page (default 0). Pass the previous call's effluentExceedancesNextOffset to continue; a value past the end returns an empty page. |
| drinking_water_violations_limit | integer | Number of drinking-water violations to return in one call. Default 25; a larger value returns at most 3,000 and says so. Page past it with drinking_water_violations_offset and drinkingWaterViolationsNextOffset. |
| drinking_water_violations_offset | integer | Number of drinking-water violations to skip before this page (default 0). Pass the previous call's drinkingWaterViolationsNextOffset to continue; a value past the end returns an empty page. |
{
"name": "epa_echo_get_facility",
"title": "Get EPA Facility Compliance Profile",
"description": "ECHO: Retrieve a full compliance profile for a single EPA-regulated facility by EPA Registry ID or EPA program ID. Returns facility metadata, the NAICS industry codes its programs record, ECHO's facility-level compliance status, a per-statute (CAA, CWA, RCRA, SDWA, and others ECHO tracks) compliance summary, inspections and other compliance monitoring records from the last five years (newest first, paged), five years of formal enforcement actions with penalties, five years of drinking-water violations with contaminant, measure, MCL, status, and enforcement actions (paged), Clean Water Act effluent limit exceedances by pollutant and outfall and RCRA violations (both paged), Clean Air Act High Priority Violations, every program ID linked to the facility, the latest TRI release total, and the facility's TRI facility IDs for epa_tri_get_facility_releases. Use epa_echo_search_facilities to discover Registry IDs; pass a public water system's PWSID from epa_water_search_systems to get its drinking-water violations. For area-level enforcement discovery use epa_echo_search_violations instead.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"registry_id"
],
"properties": {
"registry_id": {
"type": "string",
"minLength": 1,
"description": "EPA FRS Registry ID for the facility (from epa_echo_search_facilities), or an EPA program ID ECHO resolves to one: a public water system PWSID (from epa_water_search_systems, e.g. WA5300484), a TRI facility ID, an NPDES permit, or a RCRA handler ID. The profile carries the resolved registryId."
},
"inspections_limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of inspections to return in one call. Default 25; a larger value returns at most 5,000 and says so. Page past it with inspections_offset and inspectionsNextOffset."
},
"inspections_offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of inspections to skip before this page (default 0). Pass the previous call's inspectionsNextOffset to continue; a value past the end returns an empty page."
},
"rcra_violations_limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of RCRA violations to return in one call. Default 25; a larger value returns the rest of the list. Page past it with rcra_violations_offset and rcraViolationsNextOffset."
},
"rcra_violations_offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of RCRA violations to skip before this page (default 0). Pass the previous call's rcraViolationsNextOffset to continue; a value past the end returns an empty page."
},
"effluent_exceedances_limit": {
"type": "integer",
"default": 10,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of effluent exceedance series to return in one call. Default 10; a larger value returns the rest of the list. Page past it with effluent_exceedances_offset and effluentExceedancesNextOffset."
},
"effluent_exceedances_offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of effluent exceedance series to skip before this page (default 0). Pass the previous call's effluentExceedancesNextOffset to continue; a value past the end returns an empty page."
},
"drinking_water_violations_limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of drinking-water violations to return in one call. Default 25; a larger value returns at most 3,000 and says so. Page past it with drinking_water_violations_offset and drinkingWaterViolationsNextOffset."
},
"drinking_water_violations_offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of drinking-water violations to skip before this page (default 0). Pass the previous call's drinkingWaterViolationsNextOffset to continue; a value past the end returns an empty page."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"registryId",
"name",
"programs",
"triFacilityIds",
"naics",
"programCompliance",
"inspections",
"inspectionsTotal",
"drinkingWaterViolations",
"drinkingWaterViolationsTotal",
"formalActions",
"effluentExceedances",
"effluentExceedancesTotal",
"rcraViolations",
"rcraViolationsTotal",
"highPriorityViolations",
"programIds"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"zip": {
"type": "string",
"description": "ZIP code"
},
"city": {
"type": "string",
"description": "City"
},
"name": {
"type": "string",
"description": "Facility name"
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"facility_not_found"
],
"description": "Machine-readable failure mode. Declared by this tool: `facility_not_found`: ECHO has no facility for registry_id. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"naics": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "2–6 digits"
},
"description": {
"type": "string",
"description": "Title as ECHO records it"
}
},
"description": "One NAICS code",
"additionalProperties": false
},
"description": "From the program records, each code once, ascending; programs can differ"
},
"state": {
"type": "string",
"description": "State code"
},
"county": {
"type": "string",
"description": "County name"
},
"notice": {
"type": "string",
"description": "Present when ECHO's facility search failed, leaving out complianceStatus and compliance."
},
"street": {
"type": "string",
"description": "Street address"
},
"fipsCode": {
"type": "string",
"description": "5-digit county FIPS code"
},
"latitude": {
"type": "number",
"description": "Decimal degrees"
},
"programs": {
"type": "object",
"required": [
"air",
"water",
"rcra",
"tri",
"sdwa"
],
"properties": {
"air": {
"type": "boolean",
"description": "Has an ICIS-Air (CAA) record; emissions-inventory, risk-management, or greenhouse-gas entries alone do not count"
},
"tri": {
"type": "boolean",
"description": "True exactly when triFacilityIds is non-empty"
},
"rcra": {
"type": "boolean",
"description": "Has an RCRAInfo record"
},
"sdwa": {
"type": "boolean",
"description": "Has an SDWIS record"
},
"water": {
"type": "boolean",
"description": "Has an ICIS-NPDES (CWA) record"
}
},
"description": "From the systems in the facility's detailed report",
"additionalProperties": false
},
"longitude": {
"type": "number",
"description": "Decimal degrees"
},
"truncated": {
"type": "boolean",
"description": "True when inspections, drinkingWaterViolations, effluentExceedances, or rcraViolations has more pages; absent otherwise."
},
"compliance": {
"type": "object",
"properties": {
"quartersInViolation": {
"type": "number",
"description": "Of the last 12, with noncompliance under any program"
}
},
"description": "From ECHO's facility search; absent when it reports none or fails",
"additionalProperties": false
},
"programIds": {
"type": "array",
"items": {
"type": "object",
"required": [
"system",
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Program ID"
},
"status": {
"type": "string",
"description": "Permit, operating, activity, or reporting status"
},
"system": {
"type": "string",
"description": "EPA data system, as ECHO names it"
},
"statute": {
"type": "string",
"description": "Statute"
},
"universe": {
"type": "string",
"description": "Classification within the system"
},
"expirationDate": {
"type": "string",
"description": "Permit expiration, MM/DD/YYYY"
}
},
"description": "One program ID; empty fields absent",
"additionalProperties": false
},
"description": "FRS-linked program IDs besides the Registry ID, ECHO's order"
},
"registryId": {
"type": "string",
"description": "FRS Registry ID"
},
"inspections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"statute": {
"type": "string",
"description": "Statute"
},
"category": {
"type": "string",
"description": "Kind of record; absent for RCRA and SDWA records"
},
"sourceId": {
"type": "string",
"description": "Program ID inspected"
},
"leadAgency": {
"type": "string",
"description": "EPA, State, or Local"
},
"description": {
"type": "string",
"description": "Finding, if recorded"
},
"activityDate": {
"type": "string",
"description": "MM/DD/YYYY"
},
"activityType": {
"type": "string",
"description": "Inspection or evaluation type"
}
},
"description": "One monitoring record",
"additionalProperties": false
},
"description": "Inspections and other compliance monitoring, 5-year window, newest first"
},
"limitNotice": {
"type": "string",
"description": "Present when a smaller limit than requested applied; says why."
},
"airCompliance": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Current CAA status"
},
"programId": {
"type": "string",
"description": "ICIS-Air ID if exactly one; absent when several (see programIds)"
},
"statusDate": {
"type": "string",
"description": "End of the latest quarter covered, MM/DD/YYYY"
}
},
"description": "Present only when programs.air is true and ECHO reports a CAA status",
"additionalProperties": false
},
"formalActions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"caseId": {
"type": "string",
"description": "Pass to epa_echo_get_case for the civil case report; absent when none, as for RCRA and SDWA actions"
},
"statute": {
"type": "string",
"description": "Statute"
},
"sourceId": {
"type": "string",
"description": "Program ID concerned"
},
"actionDate": {
"type": "string",
"description": "MM/DD/YYYY"
},
"actionType": {
"type": "string",
"description": "Action type"
},
"leadAgency": {
"type": "string",
"description": "EPA, State, or Local"
},
"settlementDate": {
"type": "string",
"description": "Case settlement, MM/DD/YYYY"
},
"penaltyAssessedInDollars": {
"type": "number",
"description": "In dollars"
}
},
"description": "One formal action",
"additionalProperties": false
},
"description": "5-year window, newest first"
},
"rcraViolations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agency": {
"type": "string",
"description": "State code or EPA"
},
"handlerId": {
"type": "string",
"description": "RCRA handler ID"
},
"reportUrl": {
"type": "string",
"description": "ECHO report URL"
},
"violation": {
"type": "string",
"description": "Type name"
},
"violationType": {
"type": "string",
"description": "National violation type code"
},
"determinedDate": {
"type": "string",
"description": "MM/DD/YYYY; can precede the window"
},
"returnedToComplianceDate": {
"type": "string",
"description": "MM/DD/YYYY; absent while open"
}
},
"description": "One violation; empty fields absent",
"additionalProperties": false
},
"description": "12-quarter window, newest determination first"
},
"triFacilityIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "15-character IDs, most recently reported first; pass one as facility_id to epa_tri_get_facility_releases. Several mean successive operators."
},
"waterCompliance": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Current CWA status"
},
"permitId": {
"type": "string",
"description": "NPDES permit ID if exactly one; absent when several (see programIds)"
}
},
"description": "Present only when programs.water is true and ECHO reports a CWA status",
"additionalProperties": false
},
"complianceStatus": {
"type": "string",
"description": "Facility-level status; absent when ECHO assigns none (as for TRI-only facilities) or its facility search failed (see notice)"
},
"inspectionsTotal": {
"type": "number",
"description": "Across every page"
},
"programCompliance": {
"type": "array",
"items": {
"type": "object",
"required": [
"statute"
],
"properties": {
"statute": {
"type": "string",
"description": "Statute"
},
"periodEnd": {
"type": "string",
"description": "End of both windows, MM/DD/YYYY"
},
"inspections": {
"type": "number",
"description": "Inspections or full evaluations, 5-year window"
},
"currentStatus": {
"type": "string",
"description": "Current status"
},
"formalActions": {
"type": "number",
"description": "5-year window"
},
"informalActions": {
"type": "number",
"description": "5-year window"
},
"lastInspectionDate": {
"type": "string",
"description": "MM/DD/YYYY"
},
"fiveYearPeriodStart": {
"type": "string",
"description": "MM/DD/YYYY"
},
"threeYearPeriodStart": {
"type": "string",
"description": "MM/DD/YYYY"
},
"quartersInNoncompliance": {
"type": "number",
"description": "Of 12, 3-year window"
},
"totalPenaltiesInDollars": {
"type": "number",
"description": "Formal-action penalties, 5-year window, in dollars"
},
"quartersInSignificantNoncompliance": {
"type": "number",
"description": "Of 12, 3-year window"
}
},
"description": "One statute's summary",
"additionalProperties": false
},
"description": "Per-statute summary; empty outside compliance-tracked programs, as for TRI-only facilities"
},
"effluentExceedances": {
"type": "array",
"items": {
"type": "object",
"required": [
"quarters"
],
"properties": {
"outfall": {
"type": "string",
"description": "Outfall code"
},
"permitId": {
"type": "string",
"description": "NPDES permit ID"
},
"quarters": {
"type": "array",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"end": {
"type": "string",
"description": "MM/DD/YYYY; the 13th ends at ECHO's last refresh"
},
"start": {
"type": "string",
"description": "MM/DD/YYYY"
},
"value": {
"type": "string",
"description": "Highest percent over the limit as ECHO writes it, or LIMIT VIOLATION where that percent is not representative"
},
"status": {
"type": "string",
"description": "ECHO's code, S or R; absent when unsent"
}
},
"description": "One quarter; omitted dates absent",
"additionalProperties": false
},
"description": "Quarters with an exceedance, oldest first"
},
"parameterCode": {
"type": "string",
"description": "5-digit NPDES code"
},
"parameterName": {
"type": "string",
"description": "Pollutant name"
},
"measurementType": {
"type": "string",
"description": "Mthly: monthly-average limit; NMth: non-monthly, usually a maximum; Neither: another kind"
},
"monitoringLocation": {
"type": "string",
"description": "Where it is measured"
}
},
"description": "One series; empty fields absent",
"additionalProperties": false
},
"description": "CWA effluent limit exceedances, 13-quarter window, one per permit, outfall, parameter, location, and measurement type, in that order"
},
"rcraViolationsTotal": {
"type": "number",
"description": "Across every page"
},
"inspectionsNextOffset": {
"type": "number",
"description": "Next inspections_offset; absent on the last page"
},
"highPriorityViolations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"agency": {
"type": "string",
"description": "State code or EPA"
},
"programs": {
"type": "string",
"description": "Air program codes, comma-separated"
},
"beginDate": {
"type": "string",
"description": "MM/DD/YYYY; can precede the window"
},
"pollutants": {
"type": "string",
"description": "Comma-separated"
},
"violationId": {
"type": "string",
"description": "ICIS-Air activity ID"
},
"airProgramId": {
"type": "string",
"description": "ICIS-Air ID"
},
"resolvedDate": {
"type": "string",
"description": "MM/DD/YYYY; absent while unresolved"
}
},
"description": "One violation; empty fields absent",
"additionalProperties": false
},
"description": "CAA High Priority Violations, 12-quarter window"
},
"drinkingWaterViolations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "Resolved; Archived (no longer counts toward current compliance, can still carry resolvedDate); Addressed (unresolved, formal enforcement); Unaddressed (unresolved, none)"
},
"sourceId": {
"type": "string",
"description": "PWSID recorded against"
},
"stateMcl": {
"type": "string",
"description": "State MCL, units included"
},
"federalMcl": {
"type": "string",
"description": "Federal MCL, units included"
},
"federalRule": {
"type": "string",
"description": "Federal rule violated"
},
"violationId": {
"type": "string",
"description": "SDWIS violation ID"
},
"resolvedDate": {
"type": "string",
"description": "MM/DD/YYYY"
},
"contaminantName": {
"type": "string",
"description": "Contaminant or rule group"
},
"violationMeasure": {
"type": "string",
"description": "Measured level, units included; absent when unrecorded, as for monitoring violations"
},
"violationCategory": {
"type": "string",
"description": "Category name"
},
"enforcementActions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "MM/DD/YYYY"
},
"type": {
"type": "string",
"description": "\"Formal\", \"Informal\", or \"Resolving\""
},
"agency": {
"type": "string",
"description": "Agency that took it"
},
"description": {
"type": "string",
"description": "Action"
}
},
"description": "One action",
"additionalProperties": false
},
"description": "Linked enforcement actions; absent when none"
},
"violationCategoryCode": {
"type": "string",
"description": "Code that violationCategory names"
},
"compliancePeriodEndDate": {
"type": "string",
"description": "MM/DD/YYYY; absent for an open period"
},
"compliancePeriodBeginDate": {
"type": "string",
"description": "MM/DD/YYYY"
}
},
"description": "One violation; empty fields absent, never defaulted",
"additionalProperties": false
},
"description": "ECHO's 5-year SDWIS report for a public water system, newest compliance period first"
},
"effluentExceedancesTotal": {
"type": "number",
"description": "Across every page"
},
"rcraViolationsNextOffset": {
"type": "number",
"description": "Next rcra_violations_offset; absent on the last page"
},
"triReleasesTransfersYear": {
"type": "number",
"description": "ECHO's latest TRI year for the facility"
},
"triReleasesTransfersInLbs": {
"type": "number",
"description": "TRI releases and transfers in pounds for triReleasesTransfersYear; absent without TRI history"
},
"drinkingWaterViolationsTotal": {
"type": "number",
"description": "Across every page"
},
"effluentExceedancesNextOffset": {
"type": "number",
"description": "Next effluent_exceedances_offset; absent on the last page"
},
"drinkingWaterViolationsNextOffset": {
"type": "number",
"description": "Next drinking_water_violations_offset; absent on the last page"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}ECHO: Search EPA civil and criminal enforcement cases by state, ZIP code, regulatory program, case type, or filing-date range. Returns case identifier, case type and status, lead agency (EPA or state), primary law and section, enforcement outcome, federal and state penalties, cost recovery, compliance action and SEP costs, and filing, settlement, and closing dates. Case rows name no facility: pass a civil caseId to epa_echo_get_case for the facilities, defendants, and settlements behind it. Designed for area-level violation discovery — for a single known facility's enforcement history use epa_echo_get_facility instead. At least one of state or zip_code is required. Page past limit with offset and nextOffset.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of cases to return in one call. Default 25; a larger value returns at most 2,000 and says so. Page past it with offset and nextOffset. |
| state | array | 2-letter state or territory codes where the case is located (e.g. "TX", "PR"), case-insensitive, matching any of them. A case spanning several states matches each of them and is returned once. ECHO also files some cases under codes outside the USPS set; any 2-character code is searched as written. |
| offset | integer | Number of cases to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page. |
| program | string | Filter by regulatory program: CAA=Clean Air Act, CWA=Clean Water Act, RCRA=hazardous waste, SDWA=drinking water, CERCLA=Superfund, EPCRA=emergency planning and community right-to-know (the statute behind TRI), FIFRA=pesticides, TSCA=toxic substances. Matches any law a case cites, so a returned case'… |
| zip_code | array | 5-digit ZIP codes of the case's facility locations, matching any of them; a ZIP+4 such as "98108-1234" searches its first five digits |
| case_type | string | Filter by case type: civil (regulatory violations), criminal (willful violations), or all. A filing-date range covers civil cases only: with a date, all returns civil cases and criminal is rejected. |
| date_filed_end | any | Latest filing date, inclusive (YYYY-MM-DD). Civil cases only. Omit, or pass "", for no upper bound. |
| date_filed_start | any | Earliest filing date, inclusive (YYYY-MM-DD). Civil cases only. Omit, or pass "", for no lower bound. |
{
"name": "epa_echo_search_violations",
"title": "Search EPA Enforcement Cases",
"description": "ECHO: Search EPA civil and criminal enforcement cases by state, ZIP code, regulatory program, case type, or filing-date range. Returns case identifier, case type and status, lead agency (EPA or state), primary law and section, enforcement outcome, federal and state penalties, cost recovery, compliance action and SEP costs, and filing, settlement, and closing dates. Case rows name no facility: pass a civil caseId to epa_echo_get_case for the facilities, defendants, and settlements behind it. Designed for area-level violation discovery — for a single known facility's enforcement history use epa_echo_get_facility instead. At least one of state or zip_code is required. Page past limit with offset and nextOffset.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of cases to return in one call. Default 25; a larger value returns at most 2,000 and says so. Page past it with offset and nextOffset."
},
"state": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\s*[A-Za-z0-9]{2}\\s*$"
},
"maxItems": 100,
"description": "2-letter state or territory codes where the case is located (e.g. \"TX\", \"PR\"), case-insensitive, matching any of them. A case spanning several states matches each of them and is returned once. ECHO also files some cases under codes outside the USPS set; any 2-character code is searched as written."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of cases to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page."
},
"program": {
"enum": [
"CAA",
"CWA",
"RCRA",
"SDWA",
"CERCLA",
"EPCRA",
"FIFRA",
"TSCA"
],
"type": "string",
"description": "Filter by regulatory program: CAA=Clean Air Act, CWA=Clean Water Act, RCRA=hazardous waste, SDWA=drinking water, CERCLA=Superfund, EPCRA=emergency planning and community right-to-know (the statute behind TRI), FIFRA=pesticides, TSCA=toxic substances. Matches any law a case cites, so a returned case's programsViolated (its primary law) can differ."
},
"zip_code": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\s*\\d{5}(?:-?\\d{4})?\\s*$"
},
"maxItems": 200,
"description": "5-digit ZIP codes of the case's facility locations, matching any of them; a ZIP+4 such as \"98108-1234\" searches its first five digits"
},
"case_type": {
"enum": [
"civil",
"criminal",
"all"
],
"type": "string",
"default": "all",
"description": "Filter by case type: civil (regulatory violations), criminal (willful violations), or all. A filing-date range covers civil cases only: with a date, all returns civil cases and criminal is rejected."
},
"date_filed_end": {
"anyOf": [
{
"type": "string",
"maxLength": 0,
"minLength": 0,
"description": "No bound"
},
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date in YYYY-MM-DD form"
}
],
"description": "Latest filing date, inclusive (YYYY-MM-DD). Civil cases only. Omit, or pass \"\", for no upper bound."
},
"date_filed_start": {
"anyOf": [
{
"type": "string",
"maxLength": 0,
"minLength": 0,
"description": "No bound"
},
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Date in YYYY-MM-DD form"
}
],
"description": "Earliest filing date, inclusive (YYYY-MM-DD). Civil cases only. Omit, or pass \"\", for no lower bound."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"cases",
"totalCount"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cases": {
"type": "array",
"items": {
"type": "object",
"properties": {
"caseId": {
"type": "string",
"description": "Criminal ones start CR_; pass a civil one to epa_echo_get_case"
},
"caseName": {
"type": "string",
"description": "Case name or docket number"
},
"caseType": {
"type": "string",
"description": "Civil: \"Judicial\" or \"Administrative - Formal\"; criminal: \"Criminal\""
},
"filedDate": {
"type": "string",
"description": "MM/DD/YYYY; the date the filing-date range bounds"
},
"caseStatus": {
"type": "string",
"description": "Civil status"
},
"closedDate": {
"type": "string",
"description": "MM/DD/YYYY; absent while open"
},
"leadAgency": {
"type": "string",
"description": "\"EPA\" or \"State\""
},
"primarySection": {
"type": "string",
"description": "Section of the primary law; criminal cases cite the U.S. Code"
},
"settlementDate": {
"type": "string",
"description": "Settlement or resolution date, MM/DD/YYYY"
},
"programsViolated": {
"type": "string",
"description": "Primary law cited"
},
"enforcementOutcome": {
"type": "string",
"description": "Resolution; absent when ECHO records none"
},
"costRecoveryInDollars": {
"type": "number",
"description": "Response costs agreed or ordered repaid (CERCLA), in dollars"
},
"penaltyAssessedInDollars": {
"type": "number",
"description": "Federal, in dollars"
},
"stateLocalPenaltyInDollars": {
"type": "number",
"description": "State or local, in dollars"
},
"complianceActionCostInDollars": {
"type": "number",
"description": "Estimated cost of injunctive relief to return to compliance, in dollars"
},
"supplementalProjectCostInDollars": {
"type": "number",
"description": "Agreed SEP cost, in dollars"
}
},
"description": "One case; caseStatus, enforcementOutcome, and the state/local penalty and cost fields are absent on criminal cases",
"additionalProperties": false
},
"description": "Matching cases, ECHO's order"
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"no_geographic_filter",
"invalid_date",
"date_range_inverted",
"criminal_date_filter"
],
"description": "Machine-readable failure mode. Declared by this tool: `no_geographic_filter`: Neither state nor zip_code was given. `invalid_date`: A filing date is not a real calendar date. `date_range_inverted`: date_filed_start is after date_filed_end. `criminal_date_filter`: case_type \"criminal\" with a filing-date bound, which only civil cases carry. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"notice": {
"type": "string",
"description": "Present when a filing-date range with case_type \"all\" dropped criminal cases, or when more cases follow (names the offset)."
},
"message": {
"type": "string",
"description": "Recovery hint on an empty page; absent otherwise."
},
"nextOffset": {
"type": "number",
"description": "Next offset; absent on the last page."
},
"totalCount": {
"type": "number",
"description": "Matches before limit and offset"
},
"limitNotice": {
"type": "string",
"description": "Present when a smaller limit than requested applied; says why."
},
"effectiveQuery": {
"type": "string",
"description": "The search as sent upstream, in input names: values, match modes, and result-changing defaults, \"; \"-joined."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}ECHO: Retrieve one civil enforcement case by case number, with the facilities, defendants, and settlements behind it. Returns the case's category, enforcement type, status, lead agency, relief sought, outcome, court and DOJ docket numbers, summary, and penalty, cost-recovery, compliance-action, and SEP totals; the laws and sections cited; the facilities the case names, one per EPA Registry ID, with address, NAICS and SIC codes, and the program IDs the case links (pass a registryId to epa_echo_get_facility for its compliance profile); defendants; pollutants; milestones; and the enforcement conclusions (orders, consent decrees, or other settlements), each with its facilities, dates, penalties and costs, complying actions, pollutant reductions, and Supplemental Environmental Projects. Facilities and enforcement conclusions come a page at a time and everything else whole on every page; each call re-reads the whole case report, so one call with a larger limit costs less than several pages. Take the case number from epa_echo_search_violations or from a formal action's caseId in epa_echo_get_facility. Civil cases only: a criminal CR_ case number fails before any request.
| Parameter | Type | Description |
|---|---|---|
| case_id * | string | Civil enforcement case number: a caseId from epa_echo_search_violations (e.g. "03-2014-7010", "WA-100446") or a formal action's caseId from epa_echo_get_facility (e.g. "WAPSCAF000000000000000416"). Criminal case numbers ("CR_1270") are rejected. |
| facilities_limit | integer | Number of facilities to return in one call. Default 25; a larger value returns the rest of the list. Page past it with facilities_offset and facilitiesNextOffset. |
| facilities_offset | integer | Number of facilities to skip before this page (default 0). Pass the previous call's facilitiesNextOffset to continue; a value past the end returns an empty page. |
| enforcement_conclusions_limit | integer | Number of enforcement conclusions to return in one call. Default 10; a larger value returns the rest of the list. Page past it with enforcement_conclusions_offset and enforcementConclusionsNextOffset. |
| enforcement_conclusions_offset | integer | Number of enforcement conclusions to skip before this page (default 0). Pass the previous call's enforcementConclusionsNextOffset to continue; a value past the end returns an empty page. |
{
"name": "epa_echo_get_case",
"title": "Get EPA Enforcement Case",
"description": "ECHO: Retrieve one civil enforcement case by case number, with the facilities, defendants, and settlements behind it. Returns the case's category, enforcement type, status, lead agency, relief sought, outcome, court and DOJ docket numbers, summary, and penalty, cost-recovery, compliance-action, and SEP totals; the laws and sections cited; the facilities the case names, one per EPA Registry ID, with address, NAICS and SIC codes, and the program IDs the case links (pass a registryId to epa_echo_get_facility for its compliance profile); defendants; pollutants; milestones; and the enforcement conclusions (orders, consent decrees, or other settlements), each with its facilities, dates, penalties and costs, complying actions, pollutant reductions, and Supplemental Environmental Projects. Facilities and enforcement conclusions come a page at a time and everything else whole on every page; each call re-reads the whole case report, so one call with a larger limit costs less than several pages. Take the case number from epa_echo_search_violations or from a formal action's caseId in epa_echo_get_facility. Civil cases only: a criminal CR_ case number fails before any request.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"case_id"
],
"properties": {
"case_id": {
"type": "string",
"minLength": 1,
"description": "Civil enforcement case number: a caseId from epa_echo_search_violations (e.g. \"03-2014-7010\", \"WA-100446\") or a formal action's caseId from epa_echo_get_facility (e.g. \"WAPSCAF000000000000000416\"). Criminal case numbers (\"CR_1270\") are rejected."
},
"facilities_limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of facilities to return in one call. Default 25; a larger value returns the rest of the list. Page past it with facilities_offset and facilitiesNextOffset."
},
"facilities_offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of facilities to skip before this page (default 0). Pass the previous call's facilitiesNextOffset to continue; a value past the end returns an empty page."
},
"enforcement_conclusions_limit": {
"type": "integer",
"default": 10,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of enforcement conclusions to return in one call. Default 10; a larger value returns the rest of the list. Page past it with enforcement_conclusions_offset and enforcementConclusionsNextOffset."
},
"enforcement_conclusions_offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of enforcement conclusions to skip before this page (default 0). Pass the previous call's enforcementConclusionsNextOffset to continue; a value past the end returns an empty page."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"caseId",
"lawsAndSections",
"facilities",
"facilitiesTotal",
"defendants",
"pollutants",
"milestones",
"enforcementConclusions",
"enforcementConclusionsTotal"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"criminal_case",
"case_not_found"
],
"description": "Machine-readable failure mode. Declared by this tool: `criminal_case`: case_id is a criminal (CR_) case number. `case_not_found`: ECHO has no civil case report for case_id. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"caseId": {
"type": "string",
"description": "Case number"
},
"summary": {
"type": "string",
"description": "As EPA wrote it"
},
"caseName": {
"type": "string",
"description": "Absent when ECHO records none"
},
"truncated": {
"type": "boolean",
"description": "True when facilities or enforcementConclusions has more pages; absent otherwise."
},
"caseStatus": {
"type": "string",
"description": "Case status"
},
"defendants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Defendant name"
},
"namedInComplaint": {
"type": "boolean",
"description": "True when the complaint names them"
},
"namedInSettlement": {
"type": "boolean",
"description": "True when a settlement names them"
}
},
"description": "One defendant",
"additionalProperties": false
},
"description": "Empty when ECHO records none, as on many state cases"
},
"facilities": {
"type": "array",
"items": {
"type": "object",
"required": [
"naicsCodes",
"sicCodes",
"programIds"
],
"properties": {
"zip": {
"type": "string",
"description": "ZIP code"
},
"city": {
"type": "string",
"description": "City"
},
"name": {
"type": "string",
"description": "Facility name"
},
"state": {
"type": "string",
"description": "State code"
},
"street": {
"type": "string",
"description": "Street address"
},
"sicCodes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Each once, ECHO's order"
},
"naicsCodes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Each once, ECHO's order"
},
"programIds": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Program ID"
},
"system": {
"type": "string",
"description": "System of the ID"
}
},
"description": "One program ID",
"additionalProperties": false
},
"description": "Linked program IDs, ECHO's order"
},
"registryId": {
"type": "string",
"description": "Pass as registry_id to epa_echo_get_facility; absent when ECHO records none"
},
"noLongerExists": {
"type": "boolean",
"description": "True when FRS marks it no longer existing"
}
},
"description": "One facility",
"additionalProperties": false
},
"description": "One per Registry ID, possibly in several states"
},
"leadAgency": {
"type": "string",
"description": "\"EPA\" or \"State\""
},
"milestones": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "MM/DD/YYYY"
},
"event": {
"type": "string",
"description": "Milestone"
}
},
"description": "One milestone",
"additionalProperties": false
},
"description": "ECHO's order"
},
"pollutants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Pollutant name"
},
"casNumber": {
"type": "string",
"description": "CAS number without hyphens"
}
},
"description": "One pollutant",
"additionalProperties": false
},
"description": "Pollutants the case concerns"
},
"violations": {
"type": "string",
"description": "Violation description"
},
"reliefSought": {
"type": "string",
"description": "Absent when ECHO records none"
},
"caseStatusDate": {
"type": "string",
"description": "MM/DD/YYYY"
},
"dojDocketNumber": {
"type": "string",
"description": "DOJ docket number"
},
"enforcementType": {
"type": "string",
"description": "Kind of enforcement action"
},
"facilitiesTotal": {
"type": "number",
"description": "Across every page"
},
"lawsAndSections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"law": {
"type": "string",
"description": "Statute"
},
"programs": {
"type": "string",
"description": "Programs the sections fall under"
},
"sections": {
"type": "string",
"description": "Comma-separated"
}
},
"description": "One statute",
"additionalProperties": false
},
"description": "Statutes and sections cited"
},
"caseCategoryCode": {
"type": "string",
"description": "\"JDC\" civil judicial, \"AFR\" administrative formal"
},
"courtDocketNumber": {
"type": "string",
"description": "Court's or region's docket number"
},
"enforcementOutcome": {
"type": "string",
"description": "How the case was resolved"
},
"facilitiesNextOffset": {
"type": "number",
"description": "Next facilities_offset; absent on the last page"
},
"costRecoveryInDollars": {
"type": "number",
"description": "Response costs agreed or ordered repaid (CERCLA), in dollars"
},
"enforcementConclusions": {
"type": "array",
"items": {
"type": "object",
"required": [
"registryIds",
"complyingActions",
"pollutantReductions",
"supplementalProjects"
],
"properties": {
"name": {
"type": "string",
"description": "Conclusion name"
},
"type": {
"type": "string",
"description": "Kind of conclusion"
},
"closedDate": {
"type": "string",
"description": "MM/DD/YYYY"
},
"lodgedDate": {
"type": "string",
"description": "Settlement lodged, MM/DD/YYYY"
},
"enteredDate": {
"type": "string",
"description": "Settlement entered, MM/DD/YYYY"
},
"registryIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Facilities it covers"
},
"conclusionId": {
"type": "string",
"description": "Conclusion ID"
},
"terminationDate": {
"type": "string",
"description": "Settlement termination, MM/DD/YYYY"
},
"complyingActions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Action code"
},
"category": {
"type": "string",
"description": "Action category"
},
"description": {
"type": "string",
"description": "Action"
}
},
"description": "One action",
"additionalProperties": false
},
"description": "Actions required to return to compliance"
},
"conclusionNumber": {
"type": "string",
"description": "Number within the case"
},
"pollutantReductions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"media": {
"type": "string",
"description": "Medium"
},
"units": {
"type": "string",
"description": "Units of annualAmount"
},
"source": {
"enum": [
"complying action",
"supplemental project"
],
"type": "string",
"description": "Complying action or SEP"
},
"pollutant": {
"type": "string",
"description": "Pollutant reduced"
},
"annualAmount": {
"type": "number",
"description": "Per year, in units"
}
},
"description": "One reduction",
"additionalProperties": false
},
"description": "Expected pollutant reductions"
},
"supplementalProjects": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "As the settlement describes it"
},
"category": {
"type": "string",
"description": "SEP category code"
},
"description": {
"type": "string",
"description": "SEP category name"
},
"costInDollars": {
"type": "number",
"description": "In dollars"
}
},
"description": "One SEP",
"additionalProperties": false
},
"description": "Supplemental Environmental Projects (SEPs) required"
},
"costRecoveryInDollars": {
"type": "number",
"description": "Recovered, in dollars"
},
"penaltyAssessedInDollars": {
"type": "number",
"description": "Federal, in dollars"
},
"stateLocalPenaltyInDollars": {
"type": "number",
"description": "State or local, in dollars"
},
"complianceActionCostInDollars": {
"type": "number",
"description": "Estimated, in dollars"
},
"supplementalProjectCostInDollars": {
"type": "number",
"description": "SEP cost, in dollars"
}
},
"description": "One settlement or order concluding part of the case",
"additionalProperties": false
},
"description": "ECHO's order; empty fields absent"
},
"penaltyAssessedInDollars": {
"type": "number",
"description": "Federal, whole case, in dollars"
},
"penaltyCollectedInDollars": {
"type": "number",
"description": "Recorded as collected, in dollars"
},
"stateLocalPenaltyInDollars": {
"type": "number",
"description": "State or local, whole case, in dollars"
},
"enforcementConclusionsTotal": {
"type": "number",
"description": "Across every page"
},
"complianceActionCostInDollars": {
"type": "number",
"description": "Estimated cost of injunctive relief to return to compliance, in dollars"
},
"enforcementConclusionsNextOffset": {
"type": "number",
"description": "Next enforcement_conclusions_offset; absent on the last page"
},
"supplementalProjectCostInDollars": {
"type": "number",
"description": "Agreed SEP cost, in dollars"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}TRI: Query Toxic Release Inventory annual chemical release data for a specific facility. Returns per-chemical release records with chemical name, TRI chemical ID and CAS number, reporting year, on-site releases by medium (air, water, land, underground injection) and their total, and the Form R one-time release quantity, newest reporting year first; page through them with offset and nextOffset. Quantities are in pounds; dioxin and dioxin-like compounds, which TRI has facilities report in grams, are converted and marked with reportedUnit. TRI data lags ~18 months — the most recent available year is typically 2 years prior to the current calendar year. facility_id is the 15-character TRI facility ID: take it from the facilityId field of epa_tri_search_releases, or from the triFacilityIds of epa_echo_get_facility for a facility you already hold a Registry ID for. A 12-digit EPA Registry ID is a different identifier and fails validation.
| Parameter | Type | Description |
|---|---|---|
| year | integer | Reporting year to retrieve. Omit for all available years, newest first. TRI data is typically available through ~2 years prior to the current year. |
| limit | integer | Number of filings to return in one call. Default 25; a larger value returns at most 699 and says so. Page past it with offset and nextOffset. |
| offset | integer | Number of filings to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page. |
| chemical_id | string | TRI chemical ID to match exactly, where chemical_name matches any name containing its text: a CAS Registry Number, hyphens and leading zeros optional, with a valid check digit; a TRI category code, N and three digits in any case; or a chemicalId an earlier result returned. |
| facility_id * | string | 15-character TRI facility ID (e.g. "9867WSNRWD1981S") — the facilityId field returned by epa_tri_search_releases, or an entry of epa_echo_get_facility triFacilityIds. Case, surrounding whitespace, and end slashes are ignored; a 12-digit EPA Registry ID fails validation. |
| chemical_name | string | Optional filter to restrict results to a specific chemical (partial match, case-insensitive). Commas, apostrophes, brackets, and Greek letters are matched as written, e.g. "4,4'-Methylenedianiline". |
{
"name": "epa_tri_get_facility_releases",
"title": "Get TRI Chemical Releases for Facility",
"description": "TRI: Query Toxic Release Inventory annual chemical release data for a specific facility. Returns per-chemical release records with chemical name, TRI chemical ID and CAS number, reporting year, on-site releases by medium (air, water, land, underground injection) and their total, and the Form R one-time release quantity, newest reporting year first; page through them with offset and nextOffset. Quantities are in pounds; dioxin and dioxin-like compounds, which TRI has facilities report in grams, are converted and marked with reportedUnit. TRI data lags ~18 months — the most recent available year is typically 2 years prior to the current calendar year. facility_id is the 15-character TRI facility ID: take it from the facilityId field of epa_tri_search_releases, or from the triFacilityIds of epa_echo_get_facility for a facility you already hold a Registry ID for. A 12-digit EPA Registry ID is a different identifier and fails validation.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"facility_id"
],
"properties": {
"year": {
"type": "integer",
"maximum": 2030,
"minimum": 1987,
"description": "Reporting year to retrieve. Omit for all available years, newest first. TRI data is typically available through ~2 years prior to the current year."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of filings to return in one call. Default 25; a larger value returns at most 699 and says so. Page past it with offset and nextOffset."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of filings to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page."
},
"chemical_id": {
"type": "string",
"pattern": "^\\s*(?:(?:\\d{2,7}-\\d{2}-\\d|\\d{5,10}|[Nn]\\d{3}|MIXTURE|TRD SECRT|NA|INVALID)\\s*)?$",
"description": "TRI chemical ID to match exactly, where chemical_name matches any name containing its text: a CAS Registry Number, hyphens and leading zeros optional, with a valid check digit; a TRI category code, N and three digits in any case; or a chemicalId an earlier result returned."
},
"facility_id": {
"type": "string",
"pattern": "^\\s*\\/*[0-9A-Za-z]{15}\\/*\\s*$",
"description": "15-character TRI facility ID (e.g. \"9867WSNRWD1981S\") — the facilityId field returned by epa_tri_search_releases, or an entry of epa_echo_get_facility triFacilityIds. Case, surrounding whitespace, and end slashes are ignored; a 12-digit EPA Registry ID fails validation."
},
"chemical_name": {
"type": "string",
"maxLength": 4094,
"description": "Optional filter to restrict results to a specific chemical (partial match, case-insensitive). Commas, apostrophes, brackets, and Greek letters are matched as written, e.g. \"4,4'-Methylenedianiline\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"releases",
"facilityId"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "Requested limit after the cap; present only when truncated."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"unmatchable_filter",
"filter_too_long"
],
"description": "Machine-readable failure mode. Declared by this tool: `unmatchable_filter`: chemical_name has no letter or digit. `filter_too_long`: chemical_name makes the request too long. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Present only when truncated."
},
"notice": {
"type": "string",
"description": "Present when a punctuated chemical_name filter hit its read limit first, so more matches may exist."
},
"message": {
"type": "string",
"description": "Recovery hint on an empty result; absent otherwise."
},
"guidance": {
"type": "string",
"description": "Present when truncated: the continuing offset."
},
"releases": {
"type": "array",
"items": {
"type": "object",
"required": [
"facilityId",
"chemicalName",
"reportingYear"
],
"properties": {
"casNumber": {
"type": "string",
"description": "CAS Registry Number, hyphenated. Absent for a category code or placeholder."
},
"chemicalId": {
"type": "string",
"description": "TRI chemical ID (a 10-digit zero-padded CAS number, an N-prefixed category code, or a placeholder); pass it as chemical_id for an exact match. Absent when TRI records none."
},
"facilityId": {
"type": "string",
"description": "TRI facility ID"
},
"chemicalName": {
"type": "string",
"description": "Name as reported to TRI"
},
"reportedUnit": {
"type": "string",
"const": "grams",
"description": "\"grams\" when TRI has the chemical reported in grams (dioxin and dioxin-like compounds); quantities here are converted to pounds (1 lb = 453.59237 g). Absent otherwise."
},
"reportingYear": {
"type": "number",
"description": "TRI reporting year"
},
"releasesToAirInLbs": {
"type": "number",
"description": "On-site fugitive + stack air, in pounds"
},
"oneTimeReleaseInLbs": {
"type": "number",
"description": "Form R Section 8.8 one-time release quantity in pounds; already counted in the per-medium releases and off-site transfers, so never added to them."
},
"releasesToLandInLbs": {
"type": "number",
"description": "On-site, disposal included, in pounds"
},
"releasesToWaterInLbs": {
"type": "number",
"description": "On-site, all outfalls, in pounds"
},
"totalOnSiteReleasesInLbs": {
"type": "number",
"description": "Sum of the per-medium fields present, in pounds; absent when none has a quantity. Media reported only as a range code are left out; TRI's published total counts their midpoint, so it can be higher."
},
"releasesToUndergroundInjectionInLbs": {
"type": "number",
"description": "On-site injection wells, all classes, in pounds"
}
},
"description": "One chemical-year filing",
"additionalProperties": false
},
"description": "Per-chemical annual filings"
},
"truncated": {
"type": "boolean",
"description": "True when more filings may follow; absent on the last page."
},
"facilityId": {
"type": "string",
"description": "ID queried, uppercased, without whitespace or slashes"
},
"nextOffset": {
"type": "number",
"description": "Next offset; absent on the last page."
},
"limitNotice": {
"type": "string",
"description": "Present when a smaller limit than requested applied; says why."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}TRI: Search Toxic Release Inventory data across facilities in a state or county, for one reporting year or, without year, every available year newest first. Returns facility name and county, TRI facility ID, EPA Registry ID (the registry_id epa_echo_get_facility takes), parent company, chemical name and TRI chemical ID with its CAS number, and the Form R one-time release quantity; set include_release_breakdown to add on-site releases by medium (air, water, land, and underground-injection) and their total, at the cost of a slower call. Quantities are in pounds; dioxin and dioxin-like compounds, which TRI has facilities report in grams, are converted and marked with reportedUnit. Records come in reporting-year order, not ranked by quantity; page through a large match with offset and nextOffset. Use to build an environmental exposure profile for an area. Use epa_tri_get_facility_releases for detailed release records for a single facility. TRI data lags ~18 months from the current calendar year.
| Parameter | Type | Description |
|---|---|---|
| year | integer | Reporting year. Omit to search every available year in the state, newest reporting year first, so the first page holds the most recent filings. TRI data lags ~18 months. |
| limit | integer | Number of release records to return in one call. Default 25; a larger value returns at most 699 and says so. Page past it with offset and nextOffset. |
| state * | string | 2-letter US state or territory code (required, e.g. "WA", "TX", "PR") |
| county | string | County name to narrow results within the state, e.g. "King". Case-insensitive partial match on the bare name, so a short name can also match a longer one (LAKE matches LAKE OF THE WOODS; check countyName on each record); a trailing "County", "Parish", "Borough", "City and Borough", "Census Area", or… |
| offset | integer | Number of release records to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page. |
| chemical_id | string | TRI chemical ID to match exactly, where chemical_name matches any name containing its text: a CAS Registry Number, hyphens and leading zeros optional, with a valid check digit; a TRI category code, N and three digits in any case; or a chemicalId an earlier result returned. |
| chemical_name | string | Optional filter to restrict results to a specific chemical (partial match, case-insensitive). Commas, apostrophes, brackets, and Greek letters are matched as written, e.g. "4,4'-Methylenedianiline". |
| include_release_breakdown | boolean | Add on-site releases by medium (air, water, land, underground injection) and their total to each record. Costs up to three extra upstream requests, made side by side, which can add about 20 seconds when EPA has not cached them. |
{
"name": "epa_tri_search_releases",
"title": "Search TRI Releases by Region",
"description": "TRI: Search Toxic Release Inventory data across facilities in a state or county, for one reporting year or, without year, every available year newest first. Returns facility name and county, TRI facility ID, EPA Registry ID (the registry_id epa_echo_get_facility takes), parent company, chemical name and TRI chemical ID with its CAS number, and the Form R one-time release quantity; set include_release_breakdown to add on-site releases by medium (air, water, land, and underground-injection) and their total, at the cost of a slower call. Quantities are in pounds; dioxin and dioxin-like compounds, which TRI has facilities report in grams, are converted and marked with reportedUnit. Records come in reporting-year order, not ranked by quantity; page through a large match with offset and nextOffset. Use to build an environmental exposure profile for an area. Use epa_tri_get_facility_releases for detailed release records for a single facility. TRI data lags ~18 months from the current calendar year.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"state"
],
"properties": {
"year": {
"type": "integer",
"maximum": 2030,
"minimum": 1987,
"description": "Reporting year. Omit to search every available year in the state, newest reporting year first, so the first page holds the most recent filings. TRI data lags ~18 months."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of release records to return in one call. Default 25; a larger value returns at most 699 and says so. Page past it with offset and nextOffset."
},
"state": {
"type": "string",
"pattern": "^\\s*[A-Za-z0-9]{2}\\s*$",
"description": "2-letter US state or territory code (required, e.g. \"WA\", \"TX\", \"PR\")"
},
"county": {
"type": "string",
"maxLength": 4094,
"description": "County name to narrow results within the state, e.g. \"King\". Case-insensitive partial match on the bare name, so a short name can also match a longer one (LAKE matches LAKE OF THE WOODS; check countyName on each record); a trailing \"County\", \"Parish\", \"Borough\", \"City and Borough\", \"Census Area\", or \"Municipality\" is dropped before matching. Punctuation is matched as written (\"Prince George's\")."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of release records to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page."
},
"chemical_id": {
"type": "string",
"pattern": "^\\s*(?:(?:\\d{2,7}-\\d{2}-\\d|\\d{5,10}|[Nn]\\d{3}|MIXTURE|TRD SECRT|NA|INVALID)\\s*)?$",
"description": "TRI chemical ID to match exactly, where chemical_name matches any name containing its text: a CAS Registry Number, hyphens and leading zeros optional, with a valid check digit; a TRI category code, N and three digits in any case; or a chemicalId an earlier result returned."
},
"chemical_name": {
"type": "string",
"maxLength": 4094,
"description": "Optional filter to restrict results to a specific chemical (partial match, case-insensitive). Commas, apostrophes, brackets, and Greek letters are matched as written, e.g. \"4,4'-Methylenedianiline\"."
},
"include_release_breakdown": {
"type": "boolean",
"default": false,
"description": "Add on-site releases by medium (air, water, land, underground injection) and their total to each record. Costs up to three extra upstream requests, made side by side, which can add about 20 seconds when EPA has not cached them."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"releases",
"state"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"cap": {
"type": "number",
"description": "Requested limit after the cap; present only when truncated."
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"invalid_state",
"unmatchable_filter",
"filter_too_long"
],
"description": "Machine-readable failure mode. Declared by this tool: `invalid_state`: state is not a US state, territory, or EPA region code. `unmatchable_filter`: county or chemical_name has no letter or digit. `filter_too_long`: county and chemical_name make the request too long. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"shown": {
"type": "number",
"description": "Present only when truncated."
},
"state": {
"type": "string",
"description": "State searched, uppercase"
},
"notice": {
"type": "string",
"description": "Present when a punctuated county or chemical_name filter hit its read limit first, so more matches may exist."
},
"message": {
"type": "string",
"description": "Recovery hint on an empty result; absent otherwise."
},
"guidance": {
"type": "string",
"description": "Present when truncated: the continuing offset."
},
"releases": {
"type": "array",
"items": {
"type": "object",
"required": [
"facilityId",
"chemicalName",
"reportingYear"
],
"properties": {
"casNumber": {
"type": "string",
"description": "CAS Registry Number, hyphenated. Absent for a category code or placeholder."
},
"chemicalId": {
"type": "string",
"description": "TRI chemical ID (a 10-digit zero-padded CAS number, an N-prefixed category code, or a placeholder); pass it as chemical_id for an exact match. Absent when TRI records none."
},
"countyName": {
"type": "string",
"description": "As TRI records it; county matches partially, so check this field"
},
"facilityId": {
"type": "string",
"description": "TRI facility ID"
},
"registryId": {
"type": "string",
"description": "12-digit FRS Registry ID; pass it as registry_id to epa_echo_get_facility. Absent when TRI records none."
},
"chemicalName": {
"type": "string",
"description": "Name as reported to TRI"
},
"facilityName": {
"type": "string",
"description": "Facility name"
},
"reportedUnit": {
"type": "string",
"const": "grams",
"description": "\"grams\" when TRI has the chemical reported in grams (dioxin and dioxin-like compounds); quantities here are converted to pounds (1 lb = 453.59237 g). Absent otherwise."
},
"parentCompany": {
"type": "string",
"description": "As TRI standardizes it; absent when TRI records none (its NA placeholder)"
},
"reportingYear": {
"type": "number",
"description": "TRI reporting year"
},
"releasesToAirInLbs": {
"type": "number",
"description": "On-site fugitive + stack air, in pounds"
},
"oneTimeReleaseInLbs": {
"type": "number",
"description": "Form R Section 8.8 one-time release quantity in pounds; already counted in the per-medium releases and off-site transfers, so never added to them."
},
"releasesToLandInLbs": {
"type": "number",
"description": "On-site, disposal included, in pounds"
},
"releasesToWaterInLbs": {
"type": "number",
"description": "On-site, all outfalls, in pounds"
},
"totalOnSiteReleasesInLbs": {
"type": "number",
"description": "Sum of the per-medium fields present, in pounds; absent when none has a quantity. Media reported only as a range code are left out; TRI's published total counts their midpoint, so it can be higher."
},
"releasesToUndergroundInjectionInLbs": {
"type": "number",
"description": "On-site injection wells, all classes, in pounds"
}
},
"description": "One facility-chemical-year record; per-medium releases and their total only with include_release_breakdown",
"additionalProperties": false
},
"description": "Matching TRI records"
},
"truncated": {
"type": "boolean",
"description": "True when more records may follow; absent on the last page."
},
"nextOffset": {
"type": "number",
"description": "Next offset; absent on the last page."
},
"limitNotice": {
"type": "string",
"description": "Present when a smaller limit than requested applied; says why."
},
"effectiveQuery": {
"type": "string",
"description": "The search as sent upstream, in input names: values, match modes, and result-changing defaults, \"; \"-joined."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Superfund: Search Superfund (CERCLA/SEMS) sites by location, site name, or NPL listing status. Returns site identifiers, source NPL status labels, non-NPL assessment and archive metadata when available, coordinates, and county FIPS code. A state, city, ZIP, or name search returns sites in SEMS site ID order; latitude+longitude+radius returns them nearest first with each site's distanceMiles, and name narrows either. Page through a large match with offset and nextOffset. Proximity searches match only sites with usable coordinates and share a 50-second deadline; narrow the radius or add filters if the search times out. Use epa_superfund_get_site with a returned siteId for contaminant associations.
| Parameter | Type | Description |
|---|---|---|
| city | string | City name (partial match within state, case-insensitive). Punctuation is matched as written ("St. Louis", "Coeur d'Alene"). |
| name | string | Site name (partial match, case-insensitive), alone or with any other filter. Punctuation is matched as written. |
| limit | integer | Number of sites to return in one call. Default 25; a larger value returns at most 2,500 and says so. Page past it with offset and nextOffset. |
| state | string | 2-letter US state or territory code to filter sites, e.g. "WA" |
| offset | integer | Number of sites to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page. |
| latitude | number | Latitude for proximity search (use with longitude and radius_miles) |
| zip_code | string | 5-digit ZIP code to filter sites; a ZIP+4 searches its 5-digit ZIP. Matches sites recorded under the ZIP or any ZIP+4 within it. |
| longitude | number | Longitude for proximity search (use with latitude and radius_miles) |
| npl_status | string | Filter by NPL status: listed=final or part of an NPL site (F,A), not-listed=N, proposed=P, deleted=D, removed=R, withdrawn=W, all=include all |
| radius_miles | number | Search radius in miles from the given coordinates. Required when using latitude+longitude. |
| exclude_archived | boolean | Exclude archived sites by requiring SEMS archived_ind=N; false retains all archive statuses |
{
"name": "epa_superfund_search_sites",
"title": "Search Superfund Sites",
"description": "Superfund: Search Superfund (CERCLA/SEMS) sites by location, site name, or NPL listing status. Returns site identifiers, source NPL status labels, non-NPL assessment and archive metadata when available, coordinates, and county FIPS code. A state, city, ZIP, or name search returns sites in SEMS site ID order; latitude+longitude+radius returns them nearest first with each site's distanceMiles, and name narrows either. Page through a large match with offset and nextOffset. Proximity searches match only sites with usable coordinates and share a 50-second deadline; narrow the radius or add filters if the search times out. Use epa_superfund_get_site with a returned siteId for contaminant associations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"city": {
"type": "string",
"maxLength": 4094,
"description": "City name (partial match within state, case-insensitive). Punctuation is matched as written (\"St. Louis\", \"Coeur d'Alene\")."
},
"name": {
"type": "string",
"maxLength": 4094,
"description": "Site name (partial match, case-insensitive), alone or with any other filter. Punctuation is matched as written."
},
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of sites to return in one call. Default 25; a larger value returns at most 2,500 and says so. Page past it with offset and nextOffset."
},
"state": {
"type": "string",
"pattern": "^\\s*(?:[A-Za-z0-9]{2}\\s*)?$",
"description": "2-letter US state or territory code to filter sites, e.g. \"WA\""
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of sites to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page."
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude for proximity search (use with longitude and radius_miles)"
},
"zip_code": {
"type": "string",
"pattern": "^\\s*(?:\\d{5}(?:-?\\d{4})?\\s*)?$",
"description": "5-digit ZIP code to filter sites; a ZIP+4 searches its 5-digit ZIP. Matches sites recorded under the ZIP or any ZIP+4 within it."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude for proximity search (use with latitude and radius_miles)"
},
"npl_status": {
"enum": [
"listed",
"not-listed",
"proposed",
"deleted",
"removed",
"withdrawn",
"all"
],
"type": "string",
"default": "all",
"description": "Filter by NPL status: listed=final or part of an NPL site (F,A), not-listed=N, proposed=P, deleted=D, removed=R, withdrawn=W, all=include all"
},
"radius_miles": {
"type": "number",
"maximum": 500,
"minimum": 0.1,
"description": "Search radius in miles from the given coordinates. Required when using latitude+longitude."
},
"exclude_archived": {
"type": "boolean",
"default": false,
"description": "Exclude archived sites by requiring SEMS archived_ind=N; false retains all archive statuses"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"sites"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"incomplete_proximity",
"no_location_filter",
"radius_required",
"invalid_state",
"unmatchable_filter",
"filter_too_long"
],
"description": "Machine-readable failure mode. Declared by this tool: `incomplete_proximity`: A proximity input came without both latitude and longitude. `no_location_filter`: No state, city, zip_code, name, or latitude+longitude. `radius_required`: latitude and longitude without radius_miles. `invalid_state`: state is not a US state, territory, or EPA region code. `unmatchable_filter`: city or name has no letter or digit. `filter_too_long`: city or name makes the request too long. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"sites": {
"type": "array",
"items": {
"type": "object",
"required": [
"siteId",
"name"
],
"properties": {
"zip": {
"type": "string",
"description": "ZIP code"
},
"city": {
"type": "string",
"description": "City"
},
"name": {
"type": "string",
"description": "Site name"
},
"epaId": {
"type": "string",
"description": "EPA ID, distinct from siteId"
},
"state": {
"type": "string",
"description": "State code"
},
"county": {
"type": "string",
"description": "County name"
},
"siteId": {
"type": "string",
"description": "SEMS site ID"
},
"street": {
"type": "string",
"description": "Street address"
},
"fipsCode": {
"type": "string",
"description": "5-digit county FIPS code"
},
"latitude": {
"type": "number",
"description": "Decimal degrees"
},
"longitude": {
"type": "number",
"description": "Decimal degrees"
},
"nplStatus": {
"type": "string",
"description": "F final, A part of an NPL site, N not listed, P proposed, D deleted, R removed, W withdrawn"
},
"archivedInd": {
"type": "string",
"description": "Y or N"
},
"distanceMiles": {
"type": "number",
"description": "Great-circle miles from the search point, to two decimals; absent without a search point or row coordinates."
},
"nplStatusName": {
"type": "string",
"description": "NPL status label"
},
"nonNplStatusName": {
"type": "string",
"description": "Non-NPL assessment label; not cleanup progress"
},
"federalFacilityInd": {
"type": "string",
"description": "Y or N"
}
},
"description": "One site",
"additionalProperties": false
},
"description": "Matching sites"
},
"notice": {
"type": "string",
"description": "Proximity coordinate-coverage caveat with the page's place in the nearest-first match; also present when a punctuated city or name filter hits its page limit."
},
"message": {
"type": "string",
"description": "Recovery hint on an empty result; absent otherwise."
},
"guidance": {
"type": "string",
"description": "Present when more sites follow: the continuing offset."
},
"nextOffset": {
"type": "number",
"description": "Next offset; absent on the last page."
},
"totalCount": {
"type": "number",
"description": "Matches before limit and offset; present only on a proximity search (otherwise follow nextOffset)."
},
"limitNotice": {
"type": "string",
"description": "Present when a smaller limit than requested applied; says why."
},
"effectiveQuery": {
"type": "string",
"description": "The search as sent upstream, in input names: values, match modes, and result-changing defaults, \"; \"-joined."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Superfund: Retrieve a site by exact SEMS site ID from epa_superfund_search_sites or by EPA ID, the SEMS program ID epa_echo_get_case lists, with all recorded contaminant associations and their media, operable units, and EPA actions. Repeated chemicals in different contexts and duplicate source rows are retained. An existing site without contaminant records returns an empty array. Associations do not establish current exposure, concentrations, or current risk. Site and contaminant requests share a 50-second deadline.
| Parameter | Type | Description |
|---|---|---|
| site_id * | string | SEMS siteId from epa_superfund_search_sites (7 digits; preserve leading zeros), or the site's EPA ID (2 letters and 10 letters or digits, any case) |
{
"name": "epa_superfund_get_site",
"title": "Get Superfund Site",
"description": "Superfund: Retrieve a site by exact SEMS site ID from epa_superfund_search_sites or by EPA ID, the SEMS program ID epa_echo_get_case lists, with all recorded contaminant associations and their media, operable units, and EPA actions. Repeated chemicals in different contexts and duplicate source rows are retained. An existing site without contaminant records returns an empty array. Associations do not establish current exposure, concentrations, or current risk. Site and contaminant requests share a 50-second deadline.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"site_id"
],
"properties": {
"site_id": {
"type": "string",
"minLength": 1,
"description": "SEMS siteId from epa_superfund_search_sites (7 digits; preserve leading zeros), or the site's EPA ID (2 letters and 10 letters or digits, any case)"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"site",
"contaminants"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"site": {
"type": "object",
"required": [
"siteId",
"name"
],
"properties": {
"zip": {
"type": "string",
"description": "ZIP code"
},
"city": {
"type": "string",
"description": "City"
},
"name": {
"type": "string",
"description": "Site name"
},
"epaId": {
"type": "string",
"description": "EPA ID, distinct from siteId"
},
"state": {
"type": "string",
"description": "State code"
},
"county": {
"type": "string",
"description": "County name"
},
"siteId": {
"type": "string",
"description": "SEMS site ID"
},
"street": {
"type": "string",
"description": "Street address"
},
"fipsCode": {
"type": "string",
"description": "5-digit county FIPS code"
},
"latitude": {
"type": "number",
"description": "Decimal degrees"
},
"longitude": {
"type": "number",
"description": "Decimal degrees"
},
"nplStatus": {
"type": "string",
"description": "F final, A part of an NPL site, N not listed, P proposed, D deleted, R removed, W withdrawn"
},
"archivedInd": {
"type": "string",
"description": "Y or N"
},
"nplStatusName": {
"type": "string",
"description": "NPL status label"
},
"nonNplStatusName": {
"type": "string",
"description": "Non-NPL assessment label; not cleanup progress"
},
"federalFacilityInd": {
"type": "string",
"description": "Y or N"
}
},
"description": "Site as SEMS records it",
"additionalProperties": false
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"site_not_found",
"unmatchable_filter",
"filter_too_long"
],
"description": "Machine-readable failure mode. Declared by this tool: `site_not_found`: No SEMS site has this site ID or EPA ID. `unmatchable_filter`: site_id holds a character DMAP cannot match exactly. `filter_too_long`: site_id makes the request too long. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"contaminants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Preferred name"
},
"action": {
"type": "string",
"description": "EPA action"
},
"medium": {
"type": "string",
"description": "Environmental medium"
},
"typeCode": {
"type": "string",
"description": "SEMS action type code"
},
"operableUnit": {
"type": "string",
"description": "Leading zeros kept"
}
},
"description": "One association; repeats are kept",
"additionalProperties": false
},
"description": "Every SEMS contaminant association for the site"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Drinking water (SDWIS): Search public water systems by state, ZIP code, or county served. Returns system name, PWSID, population served, primary water source, and activity status, in PWSID order; page through a large match with offset and nextOffset. zip_code matches a system's address of record, often an owner's or operator's office far from the area it serves; county (with state) finds the systems serving an area. With has_violation, returns only systems with a current SDWA violation in EPA's ECHO, which applies EPA's Enforcement Response Policy, so it flags fewer systems than SDWIS's unresolved violation records. At least one of state or zip_code is required. Pass a returned pwsid as registry_id to epa_echo_get_facility for the system's drinking-water violations: contaminant, measured level, MCL, status, and enforcement actions.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of systems to return in one call. Default 25; a larger value returns at most 1,000 and says so. Page past it with offset and nextOffset. |
| state | string | 2-letter US state or territory code (e.g. "WA", "CA"), or an EPA region code 01–10 for tribal systems, whose primacy agency is the EPA region |
| county | string | County the system serves, e.g. "King"; requires state. Case-insensitive, and a trailing "County", "Parish", "Borough", "City and Borough", "Census Area", or "Municipality" is dropped, so "Anchorage" matches Anchorage Municipality. A system matches when one of the counties it serves is this county, s… |
| offset | integer | Number of systems to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page. |
| pws_type | string | Filter by public water system type: community=permanent residences, non-transient=regular non-residents (schools, businesses), transient=occasional users (campgrounds) |
| zip_code | string | 5-digit ZIP code of the water system's address of record — often its owner's or operator's office, which can be far from the area the system serves. Matches stored ZIP+4s within it; a ZIP+4 searches its 5-digit ZIP. Use county for the systems serving an area. |
| active_only | boolean | When true, return only systems SDWIS lists as active (activity code A). The default false also returns inactive systems and ones changed to non-public. |
| has_violation | boolean | When true, return only systems with a current SDWA violation in EPA's ECHO, its compliance status for the system, which clears violations SDWIS still lists as unresolved. Works with state, zip_code, county, or a combination. |
{
"name": "epa_water_search_systems",
"title": "Search Drinking Water Systems",
"description": "Drinking water (SDWIS): Search public water systems by state, ZIP code, or county served. Returns system name, PWSID, population served, primary water source, and activity status, in PWSID order; page through a large match with offset and nextOffset. zip_code matches a system's address of record, often an owner's or operator's office far from the area it serves; county (with state) finds the systems serving an area. With has_violation, returns only systems with a current SDWA violation in EPA's ECHO, which applies EPA's Enforcement Response Policy, so it flags fewer systems than SDWIS's unresolved violation records. At least one of state or zip_code is required. Pass a returned pwsid as registry_id to epa_echo_get_facility for the system's drinking-water violations: contaminant, measured level, MCL, status, and enforcement actions.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 9007199254740991,
"minimum": 1,
"description": "Number of systems to return in one call. Default 25; a larger value returns at most 1,000 and says so. Page past it with offset and nextOffset."
},
"state": {
"type": "string",
"pattern": "^\\s*(?:[A-Za-z0-9]{2}\\s*)?$",
"description": "2-letter US state or territory code (e.g. \"WA\", \"CA\"), or an EPA region code 01–10 for tribal systems, whose primacy agency is the EPA region"
},
"county": {
"type": "string",
"maxLength": 4094,
"description": "County the system serves, e.g. \"King\"; requires state. Case-insensitive, and a trailing \"County\", \"Parish\", \"Borough\", \"City and Borough\", \"Census Area\", or \"Municipality\" is dropped, so \"Anchorage\" matches Anchorage Municipality. A system matches when one of the counties it serves is this county, so \"Harris\" does not match Harrison. Punctuation is matched as written (\"St. Tammany\")."
},
"offset": {
"type": "integer",
"default": 0,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Number of systems to skip before this page (default 0). Pass the previous call's nextOffset to continue; a value past the end returns an empty page."
},
"pws_type": {
"enum": [
"community",
"non-transient",
"transient"
],
"type": "string",
"description": "Filter by public water system type: community=permanent residences, non-transient=regular non-residents (schools, businesses), transient=occasional users (campgrounds)"
},
"zip_code": {
"type": "string",
"pattern": "^\\s*(?:\\d{5}(?:-?\\d{4})?\\s*)?$",
"description": "5-digit ZIP code of the water system's address of record — often its owner's or operator's office, which can be far from the area the system serves. Matches stored ZIP+4s within it; a ZIP+4 searches its 5-digit ZIP. Use county for the systems serving an area."
},
"active_only": {
"type": "boolean",
"default": false,
"description": "When true, return only systems SDWIS lists as active (activity code A). The default false also returns inactive systems and ones changed to non-public."
},
"has_violation": {
"type": "boolean",
"description": "When true, return only systems with a current SDWA violation in EPA's ECHO, its compliance status for the system, which clears violations SDWIS still lists as unresolved. Works with state, zip_code, county, or a combination."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"systems"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"no_geographic_filter",
"county_requires_state",
"invalid_state",
"unmatchable_filter",
"filter_too_long"
],
"description": "Machine-readable failure mode. Declared by this tool: `no_geographic_filter`: Neither state nor zip_code was given. `county_requires_state`: county without state. `invalid_state`: state is not a US state, territory, or EPA region code. `unmatchable_filter`: county has no letter or digit. `filter_too_long`: county makes the request too long. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"notice": {
"type": "string",
"description": "Present when a check stopped early (a ZIP or county has_violation check hit 1,000 systems, or the county check its read limit); nextOffset continues."
},
"message": {
"type": "string",
"description": "Recovery hint on an empty result; absent otherwise."
},
"systems": {
"type": "array",
"items": {
"type": "object",
"required": [
"pwsid",
"name"
],
"properties": {
"zip": {
"type": "string",
"description": "Of the address of record, which zip_code matches"
},
"city": {
"type": "string",
"description": "Of the address of record, often an owner's or operator's office, not the area served"
},
"name": {
"type": "string",
"description": "System name"
},
"type": {
"type": "string",
"description": "CWS community, NTNCWS non-transient non-community, TNCWS transient non-community"
},
"pwsid": {
"type": "string",
"description": "Public water system ID"
},
"state": {
"type": "string",
"description": "Primacy agency: state code, or EPA region 01–10 for a tribal system"
},
"isActive": {
"type": "boolean",
"description": "Whether currently active"
},
"hasViolation": {
"type": "boolean",
"description": "True when ECHO reports a current SDWA violation; only on has_violation searches"
},
"populationServed": {
"type": "number",
"description": "Estimated"
},
"primarySourceCode": {
"type": "string",
"description": "Such as GW groundwater or SW surface water"
}
},
"description": "One water system",
"additionalProperties": false
},
"description": "Matching systems, PWSID order"
},
"guidance": {
"type": "string",
"description": "Present when more systems may follow: the continuing offset."
},
"nextOffset": {
"type": "number",
"description": "Next offset; absent on the last page."
},
"totalCount": {
"type": "number",
"description": "Matches before limit and offset; present only when the call saw the whole match (offset 0 and no nextOffset, or a state has_violation search over ECHO's full violator list)."
},
"limitNotice": {
"type": "string",
"description": "Present when a smaller limit than requested applied; says why."
},
"effectiveQuery": {
"type": "string",
"description": "The search as sent upstream, in input names: values, match modes, and result-changing defaults, \"; \"-joined."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}EJScreen: Get EJScreen environmental-justice indicators for a point and surrounding buffer. Returns the 13 EJScreen environmental indicators (PM2.5, ozone, diesel particulate, NO2, lead paint, traffic proximity, Superfund/RMP/hazardous-waste/wastewater proximity, underground storage tanks, drinking-water non-compliance, and RSEI toxic air releases) and 6 demographic indicators (people of color, low income, limited English, less than high school, under 5, over 64), each with national and state percentiles plus EJ Index values, along with the Demographic Index and Supplemental Demographic Index and their national averages. Data is EJAM's ACS 2018–2022 release of EJScreen (EJScreen 2.3 method), served via the community-maintained EJAM API (api.ejanalysis.com, Public Environmental Data Partners), which rehosts EJScreen after EPA discontinued public access in 2025 — not a live EPA endpoint. Provide latitude, longitude, and a buffer distance (default 1 mile, max 15 miles). When EJScreen has no indicators — the point is outside its US bounds, the buffer holds no Census block, or its blocks have no residents — coverage.valid is false and coverage.note says which, and whether a larger distance may help.
| Parameter | Type | Description |
|---|---|---|
| unit | string | Unit for distance. Kilometers are converted to miles (× 0.621371) before the request. |
| distance | number | Buffer radius around the point, in the given unit (default 1). The miles-equivalent must be 15 or less. |
| latitude * | number | Latitude in decimal degrees. |
| longitude * | number | Longitude in decimal degrees. |
{
"name": "epa_ejscreen_get_scores",
"title": "Get EJScreen Environmental Justice Indicators",
"description": "EJScreen: Get EJScreen environmental-justice indicators for a point and surrounding buffer. Returns the 13 EJScreen environmental indicators (PM2.5, ozone, diesel particulate, NO2, lead paint, traffic proximity, Superfund/RMP/hazardous-waste/wastewater proximity, underground storage tanks, drinking-water non-compliance, and RSEI toxic air releases) and 6 demographic indicators (people of color, low income, limited English, less than high school, under 5, over 64), each with national and state percentiles plus EJ Index values, along with the Demographic Index and Supplemental Demographic Index and their national averages. Data is EJAM's ACS 2018–2022 release of EJScreen (EJScreen 2.3 method), served via the community-maintained EJAM API (api.ejanalysis.com, Public Environmental Data Partners), which rehosts EJScreen after EPA discontinued public access in 2025 — not a live EPA endpoint. Provide latitude, longitude, and a buffer distance (default 1 mile, max 15 miles). When EJScreen has no indicators — the point is outside its US bounds, the buffer holds no Census block, or its blocks have no residents — coverage.valid is false and coverage.note says which, and whether a larger distance may help.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"latitude",
"longitude"
],
"properties": {
"unit": {
"enum": [
"miles",
"kilometers"
],
"type": "string",
"default": "miles",
"description": "Unit for distance. Kilometers are converted to miles (× 0.621371) before the request."
},
"distance": {
"type": "number",
"default": 1,
"description": "Buffer radius around the point, in the given unit (default 1). The miles-equivalent must be 15 or less.",
"exclusiveMinimum": 0
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees."
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"location",
"environmental",
"demographic",
"coverage",
"dataSource"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"buffer_too_large",
"upstream_rejected"
],
"description": "Machine-readable failure mode. Declared by this tool: `buffer_too_large`: The buffer exceeds the EJAM API's 15-mile cap (kilometers converted first). `upstream_rejected`: The EJAM API answered HTTP 400 for a point inside its accepted bounds, so the failure is at EJAM, not in the coordinates. Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"notice": {
"type": "string",
"description": "The coverage note as guidance, when no indicators were returned."
},
"coverage": {
"type": "object",
"required": [
"valid"
],
"properties": {
"note": {
"type": "string",
"description": "Present when valid is false: what EJScreen found, and whether a larger distance may reach data."
},
"valid": {
"type": "boolean",
"description": "False when EJScreen has no indicators: the point is outside its US bounds, or the buffer holds no Census block or no residents."
}
},
"description": "Whether EJScreen had data for the buffer.",
"additionalProperties": false
},
"location": {
"type": "object",
"required": [
"latitude",
"longitude",
"bufferMiles"
],
"properties": {
"state": {
"type": "string",
"description": "2-letter state code."
},
"latitude": {
"type": "number",
"description": "Queried latitude, decimal degrees."
},
"longitude": {
"type": "number",
"description": "Queried longitude, decimal degrees."
},
"stateName": {
"type": "string",
"description": "State name."
},
"population": {
"type": "number",
"description": "Area-weighted population in the buffer; 0 when its blocks have no residents."
},
"bufferMiles": {
"type": "number",
"description": "Buffer radius in miles (kilometer input converted)."
},
"blockGroupCount": {
"type": "number",
"description": "Census block groups intersecting the buffer."
}
},
"description": "Queried point and buffer; state, stateName, population, and blockGroupCount are absent when the buffer holds no Census block.",
"additionalProperties": false
},
"reportUrl": {
"type": "string",
"description": "Absolute URL of the full EJScreen report for this point and buffer."
},
"dataSource": {
"type": "string",
"description": "Provenance and vintage of the data."
},
"demographic": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label",
"percent"
],
"properties": {
"code": {
"type": "string",
"description": "EJScreen demographic indicator code."
},
"label": {
"type": "string",
"description": "Indicator name."
},
"percent": {
"type": "number",
"description": "Share of the buffer population, 0–100."
},
"usPercentile": {
"type": "number",
"description": "National percentile (0–100) of percent."
},
"statePercentile": {
"type": "number",
"description": "State percentile (0–100) of percent."
}
},
"description": "One demographic indicator.",
"additionalProperties": false
},
"description": "Empty when coverage.valid is false."
},
"environmental": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"label",
"value"
],
"properties": {
"code": {
"type": "string",
"description": "EJScreen environmental indicator code."
},
"unit": {
"type": "string",
"description": "Unit or scale of value."
},
"label": {
"type": "string",
"description": "Indicator name."
},
"value": {
"type": "number",
"description": "Raw value, in unit."
},
"ejIndex": {
"type": "number",
"description": "EJ Index: the Demographic Index × this indicator's US percentile, per block group, population-weighted over the buffer."
},
"usPercentile": {
"type": "number",
"description": "National percentile (0–100) of value."
},
"statePercentile": {
"type": "number",
"description": "State percentile (0–100) of value."
},
"ejIndexUsPercentile": {
"type": "number",
"description": "National percentile (0–100) of ejIndex."
},
"ejIndexStatePercentile": {
"type": "number",
"description": "State percentile (0–100) of ejIndex."
}
},
"description": "One environmental indicator.",
"additionalProperties": false
},
"description": "Empty when coverage.valid is false."
},
"demographicIndex": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "number",
"description": "Mean of the national z-scores for percent low income and percent people of color, shifted so the lowest block group scores 0. Unitless; higher is more disadvantaged."
},
"usAverage": {
"type": "number",
"description": "National average; absent when EJScreen omits it."
},
"usPercentile": {
"type": "number",
"description": "National percentile (0–100)."
},
"statePercentile": {
"type": "number",
"description": "State percentile (0–100) of the state-normalized index, built from z-scores within the state."
}
},
"description": "Absent when coverage.valid is false.",
"additionalProperties": false
},
"supplementalDemographicIndex": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "number",
"description": "Mean of the national z-scores for percent low income, limited English, less than high school education, and with disabilities, plus low life expectancy (four when it is missing), shifted so the lowest block group scores 0. Unitless; higher is more disadvantaged."
},
"usAverage": {
"type": "number",
"description": "National average; absent when EJScreen omits it."
},
"usPercentile": {
"type": "number",
"description": "National percentile (0–100)."
},
"statePercentile": {
"type": "number",
"description": "State percentile (0–100) of the state-normalized index, built from z-scores within the state."
}
},
"description": "Absent when coverage.valid is false.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}AirNow: Get current AQI observations or the issued AQI forecast for a US location from the AirNow API. Provide either zip_code or both latitude and longitude. Current mode returns the latest hourly NowCast AQI for each pollutant (PM2.5, ozone, PM10) from the closest monitor within 50 miles, with the monitor site name, site ID, and reporting agency; pollutants in one reporting area can come from different monitors. Forecast mode returns every day the reporting area's agency has issued (typically one to five), each with the AQI category, an action-day flag, and the issue date, plus the agency's forecast discussion when one exists; some agencies forecast a category without an AQI number. In forecast mode, set forecast_date to keep only the forecast valid on that date; current mode rejects it. Data are preliminary — suitable for awareness, not regulatory, trend, or enforcement decisions. Responses are cached for ~1 hour.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Data mode: "current" for the latest hourly observations, "forecast" for every forecast day the reporting area has issued |
| latitude | number | Latitude in decimal degrees (use with longitude instead of zip_code) |
| zip_code | string | US ZIP code for the location: 5 digits, or a ZIP+4 such as 98108-1234, which searches its first five digits |
| longitude | number | Longitude in decimal degrees (use with latitude instead of zip_code) |
| forecast_date | string | Forecast mode only (rejected in current mode): keep just the forecast valid on this date (YYYY-MM-DD). Omit to get every issued forecast day. When no issued day matches, the result is empty and its message lists the issued dates. |
{
"name": "epa_airnow_get_conditions",
"title": "Get Air Quality Index",
"description": "AirNow: Get current AQI observations or the issued AQI forecast for a US location from the AirNow API. Provide either zip_code or both latitude and longitude. Current mode returns the latest hourly NowCast AQI for each pollutant (PM2.5, ozone, PM10) from the closest monitor within 50 miles, with the monitor site name, site ID, and reporting agency; pollutants in one reporting area can come from different monitors. Forecast mode returns every day the reporting area's agency has issued (typically one to five), each with the AQI category, an action-day flag, and the issue date, plus the agency's forecast discussion when one exists; some agencies forecast a category without an AQI number. In forecast mode, set forecast_date to keep only the forecast valid on that date; current mode rejects it. Data are preliminary — suitable for awareness, not regulatory, trend, or enforcement decisions. Responses are cached for ~1 hour.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"mode": {
"enum": [
"current",
"forecast"
],
"type": "string",
"default": "current",
"description": "Data mode: \"current\" for the latest hourly observations, \"forecast\" for every forecast day the reporting area has issued"
},
"latitude": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in decimal degrees (use with longitude instead of zip_code)"
},
"zip_code": {
"type": "string",
"pattern": "^\\s*(?:\\d{5}(?:-?\\d{4})?\\s*)?$",
"description": "US ZIP code for the location: 5 digits, or a ZIP+4 such as 98108-1234, which searches its first five digits"
},
"longitude": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in decimal degrees (use with latitude instead of zip_code)"
},
"forecast_date": {
"type": "string",
"pattern": "^\\s*(?:\\d{4}-\\d{2}-\\d{2}\\s*)?$",
"description": "Forecast mode only (rejected in current mode): keep just the forecast valid on this date (YYYY-MM-DD). Omit to get every issued forecast day. When no issued day matches, the result is empty and its message lists the issued dates."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"anyOf": [
{
"not": {
"required": [
"error"
]
},
"required": [
"observations",
"mode",
"attribution"
]
},
{
"required": [
"error"
]
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"mode": {
"type": "string",
"description": "Mode used: \"current\" or \"forecast\""
},
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "JSON-RPC error code for this failure."
},
"data": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"examples": [
"no_location",
"forecast_date_needs_forecast_mode",
"invalid_zip_code"
],
"description": "Machine-readable failure mode. Declared by this tool: `no_location`: Neither zip_code nor latitude+longitude was provided. `forecast_date_needs_forecast_mode`: forecast_date was set in \"current\" mode, where it has no effect. `invalid_zip_code`: AirNow rejected zip_code as invalid (HTTP 400). Other values are possible when a failure originates below the handler."
},
"recovery": {
"type": "object",
"required": [
"hint"
],
"properties": {
"hint": {
"type": "string"
}
},
"description": "Actionable next step for the caller.",
"additionalProperties": {}
},
"retryable": {
"type": "boolean",
"description": "Whether retrying may succeed."
}
},
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Human-readable description of what went wrong."
}
},
"description": "Present when the call failed. Absent on success.",
"additionalProperties": {}
},
"message": {
"type": "string",
"description": "Why the result is empty: AirNow's explanation, the issued forecast dates when forecast_date matched none, or a coverage hint; absent otherwise."
},
"attribution": {
"type": "string",
"description": "Credit to the reporting or forecasting agencies and EPA AirNow, with the preliminary-data notice; reproduce it when passing this data on."
},
"observations": {
"type": "array",
"items": {
"type": "object",
"required": [
"readings"
],
"properties": {
"readings": {
"type": "array",
"items": {
"type": "object",
"required": [
"parameterName"
],
"properties": {
"aqi": {
"type": "number",
"description": "Air Quality Index value; absent for a category-only forecast"
},
"siteID": {
"type": "string",
"description": "AirNow monitor site ID. Current mode only."
},
"siteName": {
"type": "string",
"description": "Monitor site name. Current mode only."
},
"actionDay": {
"type": "boolean",
"description": "True when the agency declared an air quality action day. Forecast mode only."
},
"dateIssue": {
"type": "string",
"description": "Forecast issue date, YYYY-MM-DD. Forecast mode only."
},
"dateValid": {
"type": "string",
"description": "Date the forecast applies to, YYYY-MM-DD. Forecast mode only."
},
"categoryName": {
"type": "string",
"description": "AQI category name"
},
"parameterName": {
"type": "string",
"description": "Pollutant name as AirNow reports it"
},
"categoryNumber": {
"type": "number",
"description": "1 Good, 2 Moderate, 3 Unhealthy for Sensitive Groups, 4 Unhealthy, 5 Very Unhealthy, 6 Hazardous; absent if unrecognized"
},
"forecastAgency": {
"type": "string",
"description": "Forecasting agency. Forecast mode only."
},
"reportingAgency": {
"type": "string",
"description": "Reporting agency. Current mode only."
}
},
"description": "AQI for one pollutant (and, in forecast mode, one valid date)",
"additionalProperties": false
},
"description": "Per-pollutant readings"
},
"stateCode": {
"type": "string",
"description": "2-letter state code. Forecast mode only."
},
"discussion": {
"type": "string",
"description": "Forecasting agency's discussion, verbatim (may contain HTML). Forecast mode only; absent when none was issued."
},
"dateObserved": {
"type": "string",
"description": "Observation date, YYYY-MM-DD. Current mode only."
},
"hourObserved": {
"type": "string",
"description": "Local hour as \"HH:00\". Current mode only."
},
"localTimeZone": {
"type": "string",
"description": "Time zone abbreviation for hourObserved. Current mode only."
},
"reportingArea": {
"type": "string",
"description": "AQI reporting area name"
},
"reportingAreaCode": {
"type": "string",
"description": "AirNow reporting area code. Forecast mode only."
}
},
"description": "One reporting area: per observed hour in current mode, across forecast days in forecast mode",
"additionalProperties": false
},
"description": "Records grouped by reporting area"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true
}
}Use these read-only tools for EPA facility compliance, toxic releases, Superfund sites, drinking water, and environmental-justice screening, plus preliminary AirNow air quality that is unsuitable for regulatory, trend, or enforcement purposes. Scope ECHO searches geographically with zip_code or state (facility searches also accept city, latitude, longitude, and radius_miles), then use epa_echo_search_facilities → epa_echo_get_facility for compliance, epa_echo_search_violations → epa_echo_get_case → epa_echo_get_facility to follow a civil enforcement case to its facilities, epa_superfund_search_sites for cleanup sites, and epa_water_search_systems with has_violation=true for systems with a current drinking-water violation (pass a returned pwsid as registry_id to epa_echo_get_facility for the violation details). TRI reporting lags about 18 months. epa_ejscreen_get_scores provides US-only point-and-buffer indicators from EJAM's ACS 2018–2022 release of EJScreen (EJScreen 2.3 method), served by the community-maintained EJAM API (Public Environmental Data Partners), which rehosts the data after EPA discontinued public access in 2025.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.