US EPA ECHO (Enforcement and Compliance History Online) API

How to connect US EPA ECHO (Enforcement and Compliance History Online) to Cursor

Add the Firecrawl MCP server to Cursor once and it can call the US EPA ECHO (Enforcement and Compliance History Online) API and every other provider in Firecrawl Alexandria, with no US EPA ECHO (Enforcement and Compliance History Online) integration code.

Open Markdown

To connect US EPA ECHO (Enforcement and Compliance History Online) to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for US EPA ECHO (Enforcement and Compliance History Online) data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor uses US EPA ECHO (Enforcement and Compliance History Online) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for US EPA ECHO (Enforcement and Compliance History Online).

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

How do I connect US EPA ECHO (Enforcement and Compliance History Online) to Cursor?

  1. Install the Firecrawl MCP server

    Open the install dialog in Cursor, check that the URL is Firecrawl's hosted server, then select Install.

    Cursor's Install MCP server dialog with the Firecrawl hosted server URL
  2. Connect your Firecrawl account

    Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

    Cursor's MCP list showing Firecrawl connected with its tools enabled
  3. Ask Cursor's agent for the data

    In the agent chat, ask in plain language and mention US EPA ECHO (Enforcement and Compliance History Online) or Firecrawl Alexandria. The agent finds the US EPA ECHO (Enforcement and Compliance History Online) capability that fits and runs it. For example:

    Use Firecrawl to answer this: Which auto parts factories in Fairfield, Ohio have had environmental violations in the last three years, and what penalties did they pay?

What can Cursor do with US EPA ECHO (Enforcement and Compliance History Online)?

EPA's Enforcement and Compliance History Online: search regulated facilities (factories, refineries, power plants, waste handlers, water systems) by place, radius, industry code, id or compliance status; read a facility's Detailed Facility Report (permits, inspections, violations by quarter, notices, formal actions, penalties, enforcement cases, TRI releases); search EPA and state civil enforcement cases and read a case's report (laws, defendants, facilities, settlements, SEPs). Also reads per-state SDWA public water system rows straight out of the published bulk download zips by HTTP Range, and reports the version of any national ECHO download file. Live ECHO REST services, no key.

Cursor can run any of US EPA ECHO (Enforcement and Compliance History Online)'s 7 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

  • Facility report: ECHO Detailed Facility Report for one facility, by FRS registry id, program system id (NPDES permit, ICIS-Air id, RCRA handler id, SDWA PWSID, TRI id) or a pasted https://echo.epa.gov/detailed-facility-report?fid=... link: identity and location, every program permit, NAICS and SIC codes by system, the per-statute compliance summary (3-year noncompliance and SNC quarters, 5-year inspections, informal and formal actions, cases, penalties), 12-quarter status grids, violations found per quarter (CAA, RCRA, SDWA rules, CWA effluent exceedances), the newest inspections, notices of violation, formal actions with penalties, enforcement cases with settlements, and Toxics Release Inventory totals by year. Long lists keep the newest 20 (violations 40) with full counts in totals. One ECHO request. Costs 5 Firecrawl credits per call.
  • Search facilities: Search EPA's ECHO registry of regulated facilities (about 1.5 million sites: factories, refineries, power plants, hazardous waste handlers, water systems) by name, place, a radius around a point, NAICS or SIC industry code, FRS or program id, and compliance filters. Each row is one FRS facility: address, coordinates, industry codes, program ids (CAA, CWA NPDES, RCRA, SDWA, TRI, GHG and more), current compliance status and the 3-year quarterly history per program, 5-year counts of inspections, informal and formal actions, penalties and federal cases, and the link to its Detailed Facility Report. The response also counts how many of all matches are significant violators, inspected, penalized and so on. ECHO refuses searches matching more than about 100,000 facilities (invalid_input, code too_broad). Two ECHO requests per call. Costs 5 Firecrawl credits per call.
  • Enforcement case: One civil enforcement case report, by case number (e.g. 03-1999-0365, or a state case such as IN000A200294613) or a pasted https://echo.epa.gov/enforcement-case-report?id=... link: case type, status, lead agency, outcome, EPA's case summary, laws and sections, citations, milestones, defendants as named in the complaint and settlement, pollutants, the facilities covered with FRS ids (first 25), and each settlement with penalties, supplemental environmental projects, complying actions and pollutant reductions. Criminal case numbers (CR_...) are refused. One ECHO request. Costs 5 Firecrawl credits per call.
  • Search enforcement cases: Search EPA and state civil enforcement cases (ICIS judicial and administrative formal cases) by company, facility or defendant name, FRS registry id, facility state, city or ZIP, NAICS, statute (CAA, CWA, RCRA, SDWA, EPCRA, CERCLA, FIFRA, TSCA, MPRSA), category, lead agency, a date range matching any case milestone, and a minimum federal penalty. Each row has the case number and name, status, primary law and section, filed, lodged, settled and closed dates, outcome, federal and state penalties, SEP and compliance action costs, pollutants and the case report link. Criminal cases are not served. Two ECHO requests per call. Costs 5 Firecrawl credits per call.
  • Records get: One row by the source's own id: a PWSID for pws (SDWA_PUB_WATER_SYSTEMS.csv, unique) or system_search (SDWA_SYSTEM_SEARCH.csv), a GEO_ID for geographic_areas. Reads the member from the zip by HTTP Range and stops at the first match; codes are decoded through SDWA_REF_CODE_VALUES.csv. service_areas has no unique key and is not supported here. Unknown id: not_found. Costs 5 Firecrawl credits per call.
  • Records list: Rows of one SDWA table for one state (PWSID prefix), paginated by row offset with a cursor pinned to the zip's ETag and size. Each page re-reads the member from the zip by HTTP Range (SDWA_PUB_WATER_SYSTEMS.csv 25.8 MB compressed, SDWA_GEOGRAPHIC_AREAS.csv 6.4 MB, SDWA_SERVICE_AREAS.csv 2.5 MB, SDWA_SYSTEM_SEARCH.csv 35 MB in two ranges), stream-inflates it and keeps the rows whose PWSID starts with `state`; `record_count` is the member's national row count and `matching_count` the state's. A cursor whose pinned ETag or size no longer matches fails with invalid_input and issue code `publication_changed`: restart without a cursor. Codes of pws, geographic_areas and service_areas are decoded through SDWA_REF_CODE_VALUES.csv into `decoded`. The six administrative contact columns are dropped. Segment key: `state` (two-character PWSID prefix; EPA region codes such as 08 and tribal primacy codes are prefixes too). Costs 5 Firecrawl credits per call.
  • Source status: Cheap version check of one ECHO download file: HEAD for Content-Length, Last-Modified and ETag (publication_id = <file>:<ETag>); for the two SDWA zips also the zip central directory (members, sizes, CRC-32) and, for `sdwa`, the SDWIS row of the about-the-data refresh schedule (date extracted, expected next extract). Files this program serves no rows from (echo_exporter, npdes, rcra, sdwa_all_fields, any other .zip in the directory) come back as a hand-off: URL, size and ETag for a downstream download. No checksum is published. Costs 5 Firecrawl credits per call.

What should I ask Cursor?

Name US EPA ECHO (Enforcement and Compliance History Online) or Firecrawl Alexandria in the prompt so Cursor reaches for it. Each example opens in Cursor with the prompt filled in.

Troubleshooting

Why can't Cursor find US EPA ECHO (Enforcement and Compliance History Online)?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

Use US EPA ECHO (Enforcement and Compliance History Online) in other AI apps

The same Firecrawl account reaches US EPA ECHO (Enforcement and Compliance History Online) from other AI apps. Pick one for its setup steps:

Other data providers you can connect to Cursor

Frequently Asked Questions

What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.

What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, US EPA ECHO (Enforcement and Compliance History Online) among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

Is there a US EPA ECHO (Enforcement and Compliance History Online) MCP server for Cursor?

Cursor reaches US EPA ECHO (Enforcement and Compliance History Online) through Firecrawl's hosted MCP server, which serves US EPA ECHO (Enforcement and Compliance History Online) and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for US EPA ECHO (Enforcement and Compliance History Online).

What does connecting US EPA ECHO (Enforcement and Compliance History Online) to Cursor unlock?

Cursor can run all 7 of US EPA ECHO (Enforcement and Compliance History Online)'s capabilities, including Facility report, Search facilities and Enforcement case, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: Which auto parts factories in Fairfield, Ohio have had environmental violations in the last three years, and what penalties did they pay?" In the same conversation, Cursor can combine US EPA ECHO (Enforcement and Compliance History Online) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

Do I need my own US EPA ECHO (Enforcement and Compliance History Online) account or API key to use it in Cursor?

No. Cursor calls US EPA ECHO (Enforcement and Compliance History Online) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate US EPA ECHO (Enforcement and Compliance History Online) account or API key.

How much does it cost to use US EPA ECHO (Enforcement and Compliance History Online) in Cursor?

Each US EPA ECHO (Enforcement and Compliance History Online) call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.

Can Cursor use other providers besides US EPA ECHO (Enforcement and Compliance History Online)?

Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

Can I use US EPA ECHO (Enforcement and Compliance History Online) in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same US EPA ECHO (Enforcement and Compliance History Online) capabilities are available there. Keyless connections don't include Alexandria.

//
Get started
//
Ready to build?
Start getting web context for free and scale seamlessly as your project expands. No credit card needed.
Are you an AI agent? See setup options