# Water Quality Portal [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/pipeworx-io/mcp-water-quality-portal  
**GitHub Stars:** 1  
**npm Downloads (last month):** 327  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/water-quality-portal

## Description
Water Quality Portal (WQP) MCP — US ambient water-chemistry monitoring

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## 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:

```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`:

```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.

_Full upstream README: https://allmcps.com/mcp/water-quality-portal/readme_

