Skip to main content
Glama

epa-mcp-server

Search Drinking Water Systems

epa_search_water_systems
Read-onlyIdempotent

Search drinking water systems (SDWIS) by state or ZIP code. Returns system name, PWSID, population served, primary water source, and activity status. With has_violation, returns only systems with an open violation — one SDWIS has not marked returned to compliance or closed out when the system was deactivated. At least one of state or zip_code is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of systems to return (1–200)
stateNo2-letter US state abbreviation (e.g. "WA", "CA")
pws_typeNoFilter by public water system type: community=permanent residences, non-transient=regular non-residents (schools, businesses), transient=occasional users (campgrounds)
zip_codeNo5-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
has_violationNoWhen true, return only systems with an open SDWIS violation (not yet returned to compliance). Works with state, zip_code, or both.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoPresent when the has_violation check read only part of what it needed — the first 1,000 open violation records for the state, the first 1,000 systems in the ZIP, or the first 1,000 open violation records for a group of the ZIP’s systems — so violating systems outside that part may be missing from the results.
messageNoRecovery hint when no systems are found. Absent when systems are returned.
systemsNoMatching public water systems
totalCountNoNumber of systems returned

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.