usgs-water-mcp-server
io.github.cyanheads/usgs-water-mcp-server
Serveur MCP OK 8 outils
Query real-time and historical USGS water data from ~8,000 stream gages and groundwater wells.
Fiche technique
- Auteur
- cyanheads (espace de noms du registre)
- Dépôt
- github.com/cyanheads/usgs-water-mcp-server
- Site
- —
- Version
- 0.7.0
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://usgs-water.caseyjhand.com/mcp Streamable HTTP
- Paquets
- @cyanheads/usgs-water-mcp-server 0.7.0 npm stdio
@cyanheads/usgs-water-mcp-server 0.7.0 npm Streamable HTTP - Outils
- 8
- Catégories
- —
- Dernière mise à jour
- 23 nov. 2026
- Publication
- 23 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.cyanheads/usgs-water-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/usgs-water-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/usgs-water-mcp-server.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.cyanheads/usgs-water-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/usgs-water-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/usgs-water-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://usgs-water.caseyjhand.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:02
- Temps de réponse
- 1 336 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- usgs-water-mcp-server 0.7.0
- Outils
- 8
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:02 | OK | 1 336 ms | 8 |
Outils exposés (8, réponse à 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| group | enum: "streamflow" | "groundwater" | "temperature" | "meteorological" | "water-quality" | "all" | non | 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 | non | 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 | non | 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 | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| bbox | string | non | 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 | non | 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 | non | 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 | non | 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 | non | 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 | non | 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 | non | 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 | non | 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" | non | "basic" returns core identification fields. "expanded" adds drainage area, altitude, contributing area, and other metadata. |
| limit | integer | non | Maximum sites to return inline, 1–500. Default 25; pass up to 500 for a larger page. |
| offset | integer | non | Number of matching sites to skip before returning results. Page through the match set by advancing offset by limit. Default 0. |
| canvas_id | string | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sites | array<string> | oui | 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> | non | 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 | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site | string | oui | 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 | oui | 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 | oui | Start date in YYYY-MM-DD format (e.g. "2024-01-01"). |
| endDate | string | oui | End date in YYYY-MM-DD format (e.g. "2024-12-31"). |
| seriesType | enum: "daily" | "instantaneous" | "field" | "peak" | non | "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 | non | 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 | non | 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 | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| site | string | oui | USGS site number (8–15 digits), from water_find_sites; e.g. "01646500". |
| parameterCd | string | non | Optional 5-digit parameter code from water_list_parameters, e.g. "00060". |
| seriesType | enum: "daily" | "instantaneous" | "field" | "peak" | non | 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 | non | Maximum metadata rows per page (1–1000; default 100). Keep unchanged when using cursor. |
| cursor | string | non | 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…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sites | array<string> | oui | 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 | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvas_id | string | oui | Canvas ID returned by water_get_series or water_find_sites. Identifies the canvas holding the data. |
| sql | string | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvas_id | string | oui | Canvas ID returned by water_get_series or water_find_sites. Identifies the canvas to describe. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://usgs-water.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.
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"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
usgs-water-mcp-server · L’Atlas · Test du
[usgs-water-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/usgs-water-mcp-server)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.