Bring Environmental Compliance
to Mastra AI
Learn how to connect EPA ECHO (Enforcement & Compliance) to Mastra AI and start using 7 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.
Compatible with every major AI agent and IDE
What is the EPA ECHO (Enforcement & Compliance) MCP Server?
Connect to the EPA ECHO (Enforcement and Compliance History Online) database to retrieve real-time environmental data. This server allows AI agents to query millions of records regarding facility compliance with the Clean Air Act, Clean Water Act, and hazardous waste regulations.
What you can do
- Multi-Program Search — Use
search_all_facilitiesto find entities across all environmental programs using names, cities, or zip codes. - Media-Specific Audits — Narrow down searches to Air (
search_air_facilities), Water (search_water_facilities), or Hazardous Waste (search_hazardous_waste_facilities) to find specific permit holders. - Detailed Facility Reporting — Use
get_detailed_facility_reportto fetch a comprehensive compliance history, including violations and enforcement actions for a specific ID. - Effluent Analysis — Access
get_effluent_chartto retrieve dynamic data on permitted wastewater discharge limits and actual releases. - Drinking Water Safety — Query
search_drinking_water_systemsto monitor public water systems regulated under the SDWA.
How it works
- Subscribe to this server
- No complex API keys are required for public ECHO web services (enter 'PUBLIC' in the token field)
- Start auditing environmental records from your AI client
Who is this for?
- Environmental Researchers — quickly aggregate facility data across different states and regions.
- Compliance Officers — monitor permit statuses and historical violations without manual portal navigation.
- Legal Professionals — retrieve official enforcement records and effluent charts for litigation or due diligence.
Built-in capabilities (7)
Get a comprehensive report for a single facility across all available environmental program records
Get dynamic charts and tables of permitted effluent limits, releases, and violations for CWA wastewater discharge permits
Search for stationary sources regulated under the Clean Air Act (CAA)
) using location or name. Search across all environmental program records available in ECHO
Search for public drinking water systems regulated under the Safe Drinking Water Act (SDWA)
Search for hazardous waste handlers regulated under the Resource Conservation and Recovery Act (RCRA)
Search for facilities regulated under the Clean Water Act (CWA) and managed under the NPDES program
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and EPA ECHO (Enforcement & Compliance) tool infrastructure. Connect 7 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add EPA ECHO (Enforcement & Compliance) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every EPA ECHO (Enforcement & Compliance) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
EPA ECHO (Enforcement & Compliance) in Mastra AI
EPA ECHO (Enforcement & Compliance) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect EPA ECHO (Enforcement & Compliance) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for EPA ECHO (Enforcement & Compliance) in Mastra AI
The EPA ECHO (Enforcement & Compliance) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 7 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
EPA ECHO (Enforcement & Compliance) for Mastra AI
Every tool call from Mastra AI to the EPA ECHO (Enforcement & Compliance) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How can I get the full compliance history for a specific facility?
Use the get_detailed_facility_report tool with the specific Facility ID (p_id). This returns a comprehensive 'Detailed Facility Report' (DFR) covering all environmental programs, violations, and inspections.
Can I search for facilities by city or state?
Yes! Tools like search_all_facilities or search_water_facilities accept p_ct (City) and p_st (State abbreviation) parameters to filter results geographically.
What information is included in the effluent charts?
The get_effluent_chart tool provides data on permitted discharge limits, actual measured releases, and any exceedances or violations for Clean Water Act (NPDES) permits.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Boathouse Connect
10 toolsManage marina operations with boat slip reservations, customer records, and facility maintenance in one connected system.

Gitea
10 toolsManage self-hosted Git via Gitea — list and manage repositories, track issues and pull requests, handle organizations, and audit branches directly from any AI agent.

Salt Security
10 toolsIntegrate Salt Security directly with your AI for comprehensive API threat vector discovery, posture management, and active remediation in real-time.

Google Ads
12 toolsMonitor and analyze Google Ads performance — track campaigns, keywords, and metrics via AI.
