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

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add usgs-mcp -- uvx usgs-mcp==0.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "usgs-mcp": {
      "args": [
        "usgs-mcp==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "usgs-mcp": {
      "args": [
        "usgs-mcp==0.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "usgs-mcp": {
      "args": [
        "usgs-mcp==0.1.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.usgs-mcp]
command = "uvx"
args = ["usgs-mcp==0.1.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: usgs_get_peak_streamflow, usgs_get_flood_status, usgs_find_sites, usgs_get_site_info, usgs_find_nearest_sites, usgs_get_monthly_stats, usgs_get_daily_stats, usgs_get_instantaneous_values, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json