USGS Water Services MCP Server

v0.1.2
io.github.oceanmodeling/usgs-mcp Checked 14 hours ago Published 16 days ago

USGS Water Services streamflow, flood stages, and peak events via waterservices.usgs.gov

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

usgs_get_peak_streamflow

Get annual peak streamflow records for a USGS site. Returns the highest flow recorded each year, including discharge and gage height. Many sites have 50+ years of record. Useful for flood frequency analysis and understanding historical flood severity. Args: site_number: 8-digit USGS site number (e.g., '01646500'). start_year: Optional start year filter. end_year: Optional end year filter. response_format: Output format — 'markdown' (default) or 'json'.

ParameterTypeDescription
site_number *string
end_year
response_formatstring
start_year

usgs_get_flood_status

Assess current flood conditions at a USGS site. Combines current instantaneous data with peak flow history and statistical context to determine whether conditions are normal, above normal, or at flood stage. Args: site_number: 8-digit USGS site number (e.g., '01646500'). response_format: Output format — 'markdown' (default) or 'json'.

ParameterTypeDescription
site_number *string
response_formatstring

usgs_find_sites

Find USGS gauge stations by state or bounding box. Search for active USGS streamflow monitoring sites. Returns site ID, name, coordinates, and drainage area. Args: state_code: US state 2-letter code (e.g., 'MD', 'TX'). Either state_code or bbox required. bbox: Bounding box as 'west,south,east,north' decimal degrees. Either state_code or bbox required. site_type: Site type code — 'ST' (stream, default), 'LK' (lake), 'SP' (spring). parameter_code: USGS parameter code — '00060' (discharge, default) or '00065' (gage height). limit: Maximum…

ParameterTypeDescription
bbox
limitinteger
parameter_codestring
response_formatstring
site_typestring
state_code

usgs_get_site_info

Get detailed metadata for a specific USGS site. Returns full site details including name, coordinates, county, HUC code, drainage area, datum, and contributing drainage area. Args: site_number: 8-digit USGS site number (e.g., '01646500'). response_format: Output format — 'markdown' (default) or 'json'.

ParameterTypeDescription
site_number *string
response_formatstring

usgs_find_nearest_sites

Find USGS sites near a geographic point. Searches for active streamflow sites within a radius of the given coordinates, sorted by distance. Args: latitude: Latitude in decimal degrees. longitude: Longitude in decimal degrees. radius_miles: Search radius in miles (default 25). parameter_code: USGS parameter code — '00060' (discharge, default) or '00065' (gage height). limit: Maximum number of sites to return (default 10). response_format: Output format — 'markdown' (default), 'json', or 'geojson' (a FeatureCollection…

ParameterTypeDescription
latitude *number
longitude *number
limitinteger
parameter_codestring
radius_milesnumber
response_formatstring

usgs_get_monthly_stats

Get monthly streamflow statistics for a USGS site. Returns long-term monthly statistics including mean, min, max, and percentiles (P10, P25, P50, P75, P90) for each month. Useful for understanding seasonal flow patterns. Args: site_number: 8-digit USGS site number (e.g., '01646500'). parameter_code: USGS parameter code — '00060' (discharge, default). response_format: Output format — 'markdown' (default) or 'json'.

ParameterTypeDescription
site_number *string
parameter_codestring
response_formatstring

usgs_get_daily_stats

Get daily streamflow statistics (flow duration) for a USGS site. Returns percentiles showing the typical flow range for each day of the year based on the complete period of record. Useful for understanding whether current conditions are normal for the time of year. Args: site_number: 8-digit USGS site number (e.g., '01646500'). parameter_code: USGS parameter code — '00060' (discharge, default). month: Optional month number (1-12) to filter results. response_format: Output format — 'markdown' (default) or 'json'.

ParameterTypeDescription
site_number *string
month
parameter_codestring
response_formatstring

usgs_get_instantaneous_values

Get real-time (instantaneous) streamflow data from a USGS site. Returns ~15-minute interval data for up to the last 120 days. Common use: checking current river conditions and recent trends. Args: site_number: 8-digit USGS site number (e.g., '01646500'). parameter_code: USGS parameter code — '00060' (discharge, default) or '00065' (gage height). period: ISO 8601 duration for lookback period (default 'P7D' = 7 days). Max 'P120D'. response_format: Output format — 'markdown' (default) or 'json'. max_points: For json output, cap each series…

ParameterTypeDescription
site_number *string
max_pointsinteger
parameter_codestring
periodstring
response_formatstring

usgs_get_daily_values

Get daily mean/min/max streamflow values from a USGS site. Returns daily statistical values over a date range. Decades of historical data are available at most sites. Args: site_number: 8-digit USGS site number (e.g., '01646500'). start_date: Start date as YYYY-MM-DD. end_date: End date as YYYY-MM-DD. parameter_code: USGS parameter code — '00060' (discharge, default) or '00065' (gage height). stat_code: Statistic code — '00003' (mean, default), '00001' (max), '00002' (min). response_format: Output format — 'markdown' (default)…

ParameterTypeDescription
end_date *string
site_number *string
start_date *string
max_pointsinteger
parameter_codestring
response_formatstring
stat_codestring

usgs_get_hydrograph

Get streamflow data formatted for hydrograph context. Fetches recent instantaneous values and optionally compares them to historical daily median statistics for context. Useful for understanding whether current conditions are above or below normal. Args: site_number: 8-digit USGS site number (e.g., '01646500'). days: Number of days of recent data (default 7, max 120). include_median: Include historical median comparison (default True). response_format: Output format — 'markdown' (default) or 'json'.

ParameterTypeDescription
site_number *string
daysinteger
include_medianboolean
response_formatstring