MCP directory
UW

Usgs Water Mcp Server

by github.com/cyanheads · v0.7.0 · updated Nov 23, 2026

Query real-time and historical USGS water data from ~8,000 stream gages and groundwater wells.

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://usgs-water.caseyjhand.com/mcp

Claude Code

claude mcp add --transport http usgs-water-mcp-server https://usgs-water.caseyjhand.com/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • USGS_USER_AGENT

    Custom User-Agent string for USGS Water Data API requests. Defaults to a descriptive identifier including the repo URL.

  • USGS_REQUEST_TIMEOUT_MS

    HTTP request timeout in milliseconds for each USGS Water Data API request. Every tool call also has a shared 45-second deadline across its requests and retries. Default: 30000.

  • USGS_API_KEYsecret

    Optional api.data.gov key for the USGS Water Data APIs, sent as the X-Api-Key header. Without one, requests share the anonymous per-IP hourly limit (1,000 requests on the OGC collections); a shared or hosted deployment should set one.

  • WATER_DATAFRAME_DROP_ENABLED

    Set to true to make water_dataframe_drop callable — it removes one staged table from a DataCanvas. Off by default, which lists the tool as disabled. Needs CANVAS_PROVIDER_TYPE=duckdb to have anything to drop.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • USGS_USER_AGENT

    Custom User-Agent string for USGS Water Data API requests. Defaults to a descriptive identifier including the repo URL.

  • USGS_REQUEST_TIMEOUT_MS

    HTTP request timeout in milliseconds for each USGS Water Data API request. Every tool call also has a shared 45-second deadline across its requests and retries. Default: 30000.

  • USGS_API_KEYsecret

    Optional api.data.gov key for the USGS Water Data APIs, sent as the X-Api-Key header. Without one, requests share the anonymous per-IP hourly limit (1,000 requests on the OGC collections); a shared or hosted deployment should set one.

  • WATER_DATAFRAME_DROP_ENABLED

    Set to true to make water_dataframe_drop callable — it removes one staged table from a DataCanvas. Off by default, which lists the tool as disabled. Needs CANVAS_PROVIDER_TYPE=duckdb to have anything to drop.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

More from github.com/cyanheads

More MCP servers