How to Use the USGS Water Services MCP in Claude Code
Run water data pipelines from the terminal with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect USGS Water Services MCP to Claude Code
Create your Vinkius account to connect USGS Water Services to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Automate site discovery and filtering.
Use `get_sites` to programmatically discover USGS sites. You can pipe this output, filtered by stateCd or countyCd, into subsequent scripts for bulk processing. This is ideal for CI/CD jobs that need to validate infrastructure across multiple geographic areas before deployment.
Process historical data streams in batches.
Pipe the output of `get_daily_values` directly into a script. This tool pulls summarized daily metrics (mean, median, max, min) for specific time spans. You can feed this structured data to other command-line tools that require standardized CSV or JSON input.
Check groundwater levels in headless mode.
Run `get_groundwater_levels` from a cron job. This tool retrieves historical, manually-recorded groundwater measurements without needing any GUI. You just need to pass the required site identifiers. The script outputs clean data that can be immediately piped into logging or alerting systems.
Set up USGS Water Services MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeusgs-water-services-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest USGS Water Services transactions." It will automatically discover and invoke the available USGS Water Services tools.
claude mcp add --transport http usgs-water-services-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about USGS Water Services MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the USGS Water Services MCP today
We host it, we monitor it, we maintain it. You just paste one token.