usgs-water-mcp-server
io.github.cyanheads/usgs-water-mcp-server
MCP server OK 8 tools
Query real-time and historical USGS water data from ~8,000 stream gages and groundwater wells.
Technical sheet
- Author
- cyanheads (registry namespace)
- Repository
- github.com/cyanheads/usgs-water-mcp-server
- Site
- —
- Version
- 0.7.0
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://usgs-water.caseyjhand.com/mcp Streamable HTTP
- Packages
- @cyanheads/usgs-water-mcp-server 0.7.0 npm stdio
@cyanheads/usgs-water-mcp-server 0.7.0 npm Streamable HTTP - Tools
- 8
- Categories
- —
- Last updated
- 23 Nov 2026
- Published
- 23 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.cyanheads/usgs-water-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/usgs-water-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/usgs-water-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.cyanheads/usgs-water-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/usgs-water-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/usgs-water-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://usgs-water.caseyjhand.com/mcp
- Last result
- OK 28 Nov 2026, 11:02
- Response time
- 1,336 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- usgs-water-mcp-server 0.7.0
- Tools
- 8
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:02 | OK | 1,336 ms | 8 |
Exposed tools (8, from tools/list, 28 Nov 2026)
water_list_parameters
Water List Parameters
Look up USGS parameter codes — the 5-digit codes every other tool's parameterCd takes. With no query, lists a curated set of well-known codes with names, units, and thematic group, from a built-in table (no network call): 00060 = "Discharge" (ft³/s), 00065 = "Gage height" (ft), 00010 = "Temperature, water" (°C), 72019 = "Depth to water level" (ft), and others; filter it with group. For anything else — turbidity, nitrate, chlorophyll, suspended sediment, salinity — pass query to search the full USGS parameter-code catalog (~19,700 codes) by name and description, or pass a 5-digit code to look it up. Matches list curated codes first. limit (default 25, 1–4,000) and offset (default 0) window whichever list the call selects; total counts every match, and nextOffset names the next page while entries remain.
| Parameter | Type | Required | Description |
|---|---|---|---|
| group | enum: "streamflow" | "groundwater" | "temperature" | "meteorological" | "water-quality" | "all" | no | Filter the curated list by thematic domain: "streamflow", "groundwater", "temperature", "meteorological", "water-quality", or "all" (default). Applies to the curated list only — leave it "all" when passing query. |
| query | string | no | Search the full USGS parameter-code catalog. Case-insensitive; every word must start a word in the parameter name or description (e.g. "turbidity", "nitrate filtered", "dissolved oxygen"). A bare 5-digit code (e.g. "63680") returns that code. Omit to list the curated codes. |
| limit | integer | no | Most entries to return, 1–4,000. Default 25. Applies to the query matches, or to the curated list when query is omitted; offset (default 0) picks where the window starts. |
| offset | integer | no | Number of entries to skip before the window starts. Default 0. Pass the previous response's nextOffset, with the same query and limit (default 25, up to 4,000), for the next page. |
water_find_sites
Water Find Sites
Find USGS water monitoring sites by bounding box, state, county, or HUC watershed code, filtered by site type and parameter availability. Returns site numbers, names, coordinates, types, altitude, the UTC time each site last reported (lastObservedAt), and (in expanded mode) drainage area. Call this first — water_get_readings, water_get_series, and water_get_conditions all require a site number. Supply exactly one major filter — bbox, stateCd, countyCd, or huc; siteType, parameterCd, hasDataTypeCd, and observedWithin only narrow within it and cannot stand alone. parameterCd and hasDataTypeCd match sites that have ever reported, discontinued ones included; set observedWithin to keep only sites reporting now. Page through matches with limit/offset (default 25 per page, at most 500); truncated=true means matches remain after the returned window and upstreamTotal holds the full count. When the match set exceeds 500 and DataCanvas is enabled, the complete set also stages to a canvas (canvas_id/table_name) — inspect it with water_dataframe_describe, then retrieve it with water_dataframe_query.
| Parameter | Type | Required | Description |
|---|---|---|---|
| bbox | string | no | Bounding box as "west,south,east,north" in decimal degrees (e.g. "-77.5,38.5,-76.5,39.5" for the DC metro area). One of the four major filters — bbox, stateCd, countyCd, and huc are mutually exclusive with each other, and exactly one must be supplied. |
| stateCd | string | no | 2-letter US state or territory postal code, any case (e.g. "VA", "wa", "PR"). Returns all sites in the state for the given filters. Major filter — supply exactly one of bbox, stateCd, countyCd, huc. |
| countyCd | string | no | FIPS county code(s) as bare 5-digit numbers — state and county digits concatenated, no separator (e.g. "51013" for Arlington, VA). Comma-separate up to 20 (e.g. "51059,51061"). The 5 digits already encode the state, so the code stands alone. Major filter — supply exactly one of bbox, stateCd, count… |
| huc | string | no | Hydrologic Unit Code (HUC) scoping results to a watershed: a 2-digit region (e.g. "02" for the Mid-Atlantic) or an 8-digit subbasin (e.g. "02070008" for the Middle Potomac). Matches every site whose HUC starts with it. Major filter — supply exactly one of bbox, stateCd, countyCd, huc. |
| siteType | string | no | Site type filter. Common codes: "ST" (stream), "GW" (groundwater well), "LK" (lake/reservoir), "SP" (spring), "AT" (atmosphere), "OC" (ocean), "ES" (estuary). A major type includes its subtypes ("ST" also matches "ST-CA", "ST-DCH", "ST-TS"); a subtype matches only itself. Comma-separate multiple ty… |
| parameterCd | string | no | 5-digit parameter code each returned site has ever reported (e.g. "00060" for discharge) — a site whose record ended years ago still matches; read lastObservedAt, or set observedWithin to keep only sites reporting now. Matched against the series hasDataTypeCd selects (continuous, daily, and field-m… |
| hasDataTypeCd | string | no | Require sites that have ever reported data of this type: "iv" (instantaneous, continuous record; "uv" and "rt" are aliases), "dv" (daily values), "gw" (groundwater-level field measurements), "pk" (annual peaks). No other code has a source. Comma-separate multiple types. A discontinued site still ma… |
| observedWithin | string | no | ISO 8601 duration ending now, the form water_get_readings period takes (e.g. "P7D", "PT6H", "P1Y"). Keeps only sites whose lastObservedAt falls inside it — sites reporting now, not discontinued ones. Counts the series parameterCd and hasDataTypeCd select, or any continuous, daily, or field-measurem… |
| siteOutput | enum: "basic" | "expanded" | no | "basic" returns core identification fields. "expanded" adds drainage area, altitude, contributing area, and other metadata. |
| limit | integer | no | Maximum sites to return inline, 1–500. Default 25; pass up to 500 for a larger page. |
| offset | integer | no | Number of matching sites to skip before returning results. Page through the match set by advancing offset by limit. Default 0. |
| canvas_id | string | no | Canvas ID from a prior call to add this match set as a table on an existing canvas rather than creating a new one. Each distinct filter set gets its own table name, so re-running the identical query replaces its own table while a different query adds another alongside it. Applies only when the matc… |
water_get_readings
Water Get Readings
Get the latest instantaneous (~15-min, real-time) values for USGS sites — per-site, per-parameter records with timestamp, value, unit, and provisional/approved qualifiers. Takes up to 500 site numbers, a full water_find_sites page, and reads the first 100 distinct ones; the rest return in deferredSites, in input order, to pass as sites in another call. Omitting parameterCd returns every parameter each site publishes. A site measuring one parameter with several sensors returns one series per sensor, each named by methodId (its time-series ID) and methodDescription; a sensor that reported nothing in the period still returns, with totalValues 0. At most 100 series return per call — every site that returned a series keeps at least one, and totalSeries reports how many the upstream returned; pass parameterCd or split the sites across calls to reach the rest. Each series returns only its 10 most recent records (totalValues reports the true count); truncated=true when either cap applied. Use water_get_series for a full date-range series. Sites read that return no series are listed in missingSites, not dropped silently. Find site numbers with water_find_sites; water_get_site_data_catalog lists the parameters and sensors a site measures and when each last reported.
| Parameter | Type | Required | Description |
|---|---|---|---|
| sites | array<string> | yes | One or more USGS site numbers, at most 500. The first 100 distinct numbers are read, in input order; the rest return in deferredSites to pass as sites in another call. A repeated number is read once. |
| parameterCd | array<string> | no | Parameter codes to return. Omit to get every parameter each site publishes — one series per site, parameter, and method, so a large batch can exceed the 100-series cap. Use water_list_parameters to discover codes. |
| period | string | no | ISO 8601 duration for the lookback period (e.g. "PT2H" = last 2 hours, "P1D" = last 1 day, "P7D" = last 7 days). Default: "PT2H" (last 2 hours of readings). Widening it raises totalValues, but each series still returns only its 10 most recent records — use water_get_series to retrieve a full series… |
water_get_series
Water Get Series
Get a time series for one USGS site and parameter over a date range, as time-ordered value records: daily values, instantaneous (~15-minute) readings, field measurements (values measured by hand on a site visit, such as a well’s groundwater level or a discharge measurement), or annual peaks. A site can hold several series for one query — one per daily statistic (mean, maximum, minimum), one per sensor (method), and one per field reading type; this returns one, reporting its statCd and methodId (its time-series ID), and lists the rest in otherSeries so any can be re-requested with the statCd and methodId inputs (methodId alone for a field or peak series). By default it returns the daily mean when one carries values, and the method with the most records. Large sets (>500 records) return the most recent records inline with truncated=true — the last 500 without DataCanvas, and with DataCanvas enabled the complete series also spills to a canvas (canvas_id/table_name): inspect the staged table with water_dataframe_describe, then read the full series with water_dataframe_query. Use water_find_sites and water_list_parameters to resolve inputs; water_get_site_data_catalog lists a site’s series with their record bounds (beginDate/endDate), and a row’s timeSeriesId works as methodId.
| Parameter | Type | Required | Description |
|---|---|---|---|
| site | string | yes | USGS site number (8–15 digits, e.g. "01646500" for Potomac River at Little Falls). Use water_find_sites to discover valid site numbers. |
| parameterCd | string | yes | A single 5-digit USGS parameter code (e.g. "00060" for discharge, "00065" for gage height). One code per call — this tool returns one series. Use water_list_parameters to discover available codes. |
| startDate | string | yes | Start date in YYYY-MM-DD format (e.g. "2024-01-01"). |
| endDate | string | yes | End date in YYYY-MM-DD format (e.g. "2024-12-31"). |
| seriesType | enum: "daily" | "instantaneous" | "field" | "peak" | no | "daily" returns one value per day (typically mean/max/min). "instantaneous" returns ~15-minute readings. "field" returns field measurements: values measured by hand on a site visit, such as the groundwater level of a well with no continuous sensor or a discharge measurement at a stream gage. "peak"… |
| statCd | string | no | Daily statistic to return, as a 5-digit USGS statistic code: "00003" mean, "00001" maximum, "00002" minimum. Omit for the mean when one carries values, otherwise the lowest-numbered statistic that has values; the response names the one returned and lists the others in otherSeries. Daily series only… |
| methodId | string | no | Time-series ID of the series to return (the OGC time_series_id, 32 hexadecimal characters; for a field series, its field-measurement series ID, a hyphenated UUID) — the methodId or an otherSeries[].methodId from a prior response for the same site, parameter, and seriesType, or a timeSeriesId from w… |
| canvas_id | string | no | Canvas ID from a prior call to add this series as a table on an existing canvas rather than creating a new one. Each distinct site, parameter code, series type, date range, and selected statistic and method gets its own table name, so re-running the identical query replaces its own table while a di… |
water_get_site_data_catalog
Water Get Site Data Catalog
Discover a USGS site’s parameters, sensors, statistics, and UTC record bounds before calling water_get_series. Find site numbers with water_find_sites. Each row is a distinct series; metadata bounds may contain gaps and lag observations. For water_get_series, take YYYY-MM-DD from beginDate/endDate, pass the row’s seriesType, pass statCd only for daily rows, and pass a row’s timeSeriesId as methodId to request that exact series (water_get_readings and water_get_series report the same ID as methodId). Field-measurement series (hand-measured values, such as the levels of a well with no continuous sensor) list as seriesType "field" and annual-peak series as "peak". Rows with null seriesType are other computations, such as a water-year mean or maximum, and cannot be requested with water_get_series. Follow nextCursor with the same filters and limit until null.
| Parameter | Type | Required | Description |
|---|---|---|---|
| site | string | yes | USGS site number (8–15 digits), from water_find_sites; e.g. "01646500". |
| parameterCd | string | no | Optional 5-digit parameter code from water_list_parameters, e.g. "00060". |
| seriesType | enum: "daily" | "instantaneous" | "field" | "peak" | no | Limit to one series type: Daily computations, Points/Instantaneous computations, field-measurement series, or annual-peak series (computation Max At Event Time). Omit to include every series. |
| limit | integer | no | Maximum metadata rows per page (1–1000; default 100). Keep unchanged when using cursor. |
| cursor | string | no | Opaque nextCursor from the previous page; keep site, parameterCd, seriesType, and limit unchanged. |
water_get_conditions
Water Get Conditions
Rank the current reading at up to 100 USGS sites per call against each site's full period-of-record daily-mean percentiles for the same calendar day — a "how unusual is this" percentileClass (record-high to record-low) per site, not a flood-stage or drought determination (this tool fetches no authoritative thresholds). Pass up to 500 site numbers and one parameterCd: the first 100 distinct sites are read, each with a reading in the last two hours returning one conditions row; the others read are listed in missingSites, and sites past the first 100 return in deferredSites, in input order, to resubmit. Rankings follow the water level: for a depth-to-water code (72019) a shallower depth ranks higher. The reading is instantaneous but the percentiles are daily-mean, so the ranking is approximate (see historicalContext.comparisonBasis). When a site's record is too short to rank, its row carries historicalContext=null instead of an error, and a failed statistics request marks only the rows it covered unavailable. A reading USGS reports as no data (a seasonal, discontinued, dry, or malfunctioning gage) returns an empty currentValue with the qualifiers naming why, and is not ranked. When a site measures the parameter with several sensors (methods), one reading is used and named by methodId/methodDescription — from a sensor the statistics hold a daily-mean series for when one is, otherwise the most recent across them; water_get_readings lists every method. Use water_find_sites and wat…
| Parameter | Type | Required | Description |
|---|---|---|---|
| sites | array<string> | yes | USGS site numbers to rank (e.g. ["01646500"] for Potomac River at Little Falls), up to 500 — a page of water_find_sites results passes through as is. The first 100 distinct numbers are read; a repeated number counts once, and the rest return in deferredSites. Use water_find_sites to discover valid… |
| parameterCd | string | yes | 5-digit USGS parameter code ranked at every site (e.g. "00060" for discharge, "00065" for gage height). Use water_list_parameters to discover codes. |
water_dataframe_query
Water Dataframe Query
Run a read-only SQL SELECT against water data tables staged on a DataCanvas by water_get_series or water_find_sites. Workflow: run water_get_series or water_find_sites (get canvas_id + table_name) → water_dataframe_describe (confirm the table and its columns) → water_dataframe_query (SQL analysis), then optionally water_dataframe_drop (when this server enables it) to remove a table you are done with. Only SELECT statements are permitted. Returns at most 5,000 rows, or this server instance's canvas row limit when that is lower; a query matching more is capped and the response sets truncated=true, with row_count equal to the cap applied — scope with WHERE/LIMIT, and use SELECT COUNT(*) or water_dataframe_describe to learn the true match count. Requires DataCanvas to be enabled on this server instance. Returns an error if DataCanvas is not available.
| Parameter | Type | Required | Description |
|---|---|---|---|
| canvas_id | string | yes | Canvas ID returned by water_get_series or water_find_sites. Identifies the canvas holding the data. |
| sql | string | yes | Read-only SELECT statement. Reference the table by the table_name from water_get_series or water_find_sites; columns vary by source table, so run water_dataframe_describe first for the exact schema. Example on an instantaneous series table: SELECT time_utc, value FROM water_series_01646500_00060_iv… |
water_dataframe_describe
Water Dataframe Describe
List tables and columns staged on a DataCanvas by water_get_series or water_find_sites. Call this after water_get_series or water_find_sites returns a canvas_id to discover the exact table name and column types before writing a query. Then pass the table name to water_dataframe_query, or to water_dataframe_drop (when this server enables it) to remove a table you no longer need. Requires DataCanvas to be enabled on this server instance. Returns an error if DataCanvas is not available.
| Parameter | Type | Required | Description |
|---|---|---|---|
| canvas_id | string | yes | Canvas ID returned by water_get_series or water_find_sites. Identifies the canvas to describe. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://usgs-water.caseyjhand.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http usgs-water-mcp-server https://usgs-water.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : usgs-water-mcp-server ; URL : https://usgs-water.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : usgs-water-mcp-server ; Server URL : https://usgs-water.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"usgs-water-mcp-server": {
"url": "https://usgs-water.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"usgs-water-mcp-server": {
"type": "http",
"url": "https://usgs-water.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"usgs-water-mcp-server": {
"url": "https://usgs-water.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"usgs-water-mcp-server": {
"httpUrl": "https://usgs-water.caseyjhand.com/mcp"
}
}
}[mcp_servers.usgs-water-mcp-server]
url = "https://usgs-water.caseyjhand.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
usgs-water-mcp-server · L’Atlas · Tested on
[usgs-water-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/usgs-water-mcp-server)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.