wqp_search_sites

Pack: water-quality-portal · Endpoint: https://gateway.pipeworx.io/water-quality-portal/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/wqp_search_sites for the schema, then POST the same URL with its arguments for the data.

Find US water-quality monitoring stations (streams, lakes, wells, estuaries) by state, county, HUC, bounding box or organization. AUTHORITATIVE for “where is water sampled near X” — returns the station id you then pass to wqp_get_results, plus coordinates, site type, and how many results each station holds. Sourced from the USGS/EPA Water Quality Portal (NWIS + STORET + STEWARDS).

Parameters

NameTypeRequiredDescription
statecodestringnoFIPS state code in WQP form, e.g. “US:06” for California
countycodestringnoFIPS county code in WQP form, e.g. “US:06:081” for San Mateo County CA
hucstringnoHydrologic unit code, e.g. “18050004” or a wildcard like “1805*“
bboxstringnoBounding box “minLon,minLat,maxLon,maxLat” (WGS84)
siteTypestringnoSite type, e.g. “Stream”, “Lake, Reservoir, Impoundment”, “Well”, “Estuary”
characteristicNamestringnoOnly stations that have sampled this characteristic, e.g. “Nitrate”, “pH”, “Lead”
organizationstringnoOrganization identifier, e.g. “USGS-CA”
limitnumbernoMax stations to return (default 50, max 500)

Example call

Arguments

{
  "statecode": "US:06",
  "countycode": "US:06:081",
  "characteristicName": "Nitrate",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/water-quality-portal/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"wqp_search_sites","arguments":{"statecode":"US:06","countycode":"US:06:081","characteristicName":"Nitrate","limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('wqp_search_sites', {
  "statecode": "US:06",
  "countycode": "US:06:081",
  "characteristicName": "Nitrate",
  "limit": 5
});

More examples

{
  "bbox": "-122.5,37.7,-122.3,37.9",
  "siteType": "Stream",
  "limit": 10
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "water-quality-portal": {
      "url": "https://gateway.pipeworx.io/water-quality-portal/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 18, 2026