Water Quality Portal logo

Water Quality Portal

Queries US water-monitoring stations, sample results, controlled vocabularies, and measurements near geographic points.

Install Water Quality Portal

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "water-quality-portal": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-water-quality-portal"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Water Quality Portal connects AI agents to the USGS, EPA, and NWQMC Water Quality Portal for ambient water-chemistry data. Its MCP tools search monitoring sites, retrieve individual sample values, find results within a radius, and look up accepted characteristic names. Use it for US station metadata and measured results when queries need location, dates, media, methods, or analyte filters. Access is keyless through the hosted gateway, or through an npm stdio bridge that forwards requests over the network.

Use cases

  • Find monitoring stations within a state, county, HUC, or bounding box
  • Retrieve sample measurements for a site and date range
  • Search water-quality results near latitude and longitude coordinates
  • Resolve accepted Water Quality Portal characteristic names

Key features

  • Searches US ambient monitoring stations
  • Retrieves sample values with units, methods, depths, and dates
  • Finds results within a geographic radius
  • Looks up controlled-vocabulary characteristic names
  • Supports hosted MCP, local stdio, and HTTP tool calls
  • Reports truncated responses

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 62d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-water-quality-portal (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads327Package downloads in the last 30 days.
Last commit20d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Water Quality Portal works

What Water Quality Portal MCP server does

Water Quality Portal provides an MCP interface to the US ambient water-quality data gathered through the Water Quality Portal. The upstream data surface combines monitoring information associated with NWIS, STORET, and STEWARDS, with source endpoints operated through the Water Quality Portal. The integration is independent and unofficial.

Its focus is station metadata and individual sample measurements. Station searches can return coordinates, site types, organizations, and result counts. Sample queries expose values together with units, methods, depths, and dates. The service is suited to research and analysis involving US monitoring locations, analytes, sampling periods, and nearby observations.

How it works

The hosted MCP endpoint is available at https://gateway.pipeworx.io/water-quality-portal/mcp. An MCP client can connect to that URL directly, or use the full Pipeworx gateway at https://gateway.pipeworx.io/mcp. The pack endpoint lists the Water Quality Portal tools and also includes shared Pipeworx meta-tools. Those shared tools can route questions to other catalog sources through ask_pipeworx.

The underlying station endpoint returns GeoJSON, while the result endpoint returns CSV. The integration parses result CSV responses internally and converts the tools' YYYY-MM-DD dates into the upstream format. Requests also set zip=no so callers receive usable responses instead of archives. Large responses are capped, and tool results indicate when truncation occurred.

For clients without MCP support, the gateway exposes HTTP tool calls under /v1/tools/. A local npm package provides a stdio bridge, but it still needs network access and forwards calls to the hosted gateway rather than operating offline.

Setup and configuration

For a hosted connection, add the MCP URL to a compatible client:

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

The npm option starts @pipeworx/mcp-water-quality-portal with npx:

config.json
{
  "mcpServers": {
    "water-quality-portal": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-water-quality-portal"]
    }
  }
}

Anonymous use is available with a daily call limit. Adding PIPEWORX_API_KEY raises the quota; the key is sent as a Bearer token. Set PIPEWORX_META_TOOLS=1 when the local bridge should also list the shared gateway tools. Behind an HTTPS proxy, Node's proxy environment support may require NODE_USE_ENV_PROXY=1.

Tools and capabilities

  • wqp_search_sites finds monitoring stations using filters such as state, county, HUC, bounding box, site type, characteristic, or organization. At least one filter is required.
  • wqp_get_results retrieves individual sample values by site, characteristic, geography, date range, or sample medium.
  • wqp_results_near_point searches for matching results within a specified distance of latitude and longitude coordinates.
  • wqp_list_characteristics searches the portal's controlled vocabularies, helping callers use accepted spellings such as Nitrate.
  • Shared gateway tools, including ask_pipeworx, can be listed on the pack endpoint and can route broader questions across Pipeworx sources.

Limitations and notes

The integration is keyless for initial calls, but anonymous and authenticated usage have different daily limits. The npm bridge requires network access and has no offline mode. Results can be sizable; a statewide station query is about 750 KB, and row limits apply to every tool. Check the returned truncated field before treating a response as complete.

The pack endpoint includes shared meta-tools in addition to the four Water Quality Portal tools, so an MCP client's tool count can be higher than the domain-specific list. The exact scope is reported by the connection's initialize response. The service is not affiliated with, endorsed by, or published by the upstream Water Quality Portal providers.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Water Quality Portal

Water Quality Portal is an MCP server that connects AI agents to the USGS, EPA, and NWQMC Water Quality Portal. Its main tools search monitoring sites, retrieve individual sample results, find measurements near a point, and list the controlled vocabulary needed for valid characteristic names.

Add the hosted MCP URL to your client, or run the npm stdio bridge with `npx -y @pipeworx/mcp-water-quality-portal`. The hosted option uses `https://gateway.pipeworx.io/water-quality-portal/mcp`; the local bridge forwards requests to that endpoint and requires network access.

Yes, Cursor is named as a supported MCP client in the setup examples. Add the Water Quality Portal hosted URL to Cursor's MCP server configuration, or configure the npm command as a local stdio server.

No, the first calls can be made anonymously. The npm bridge allows up to 50 calls per day without a key; a free Pipeworx account and `PIPEWORX_API_KEY` increase that limit to 200 calls per day.

Yes, call the gateway's HTTP tool endpoint with a JSON POST request. Tool requests use URLs such as `https://gateway.pipeworx.io/v1/tools/wqp_search_sites` and accept the tool arguments in the request body.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWater Quality Portal AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/water-quality-portal?style=directory)](https://allmcps.com/mcp/water-quality-portal)
HTML Embed
<a href="https://allmcps.com/mcp/water-quality-portal"><img src="https://allmcps.com/api/badge/water-quality-portal?style=directory" alt="Water Quality Portal on AllMCPs" /></a>