USGS Water Services MCP Server for LangChainGive LangChain instant access to 5 tools to Get Daily Values, Get Groundwater Levels, Get Instantaneous Values, and more
LangChain is the leading Python framework for composable LLM applications. Connect USGS Water Services through Vinkius and LangChain agents can call every tool natively. combine them with retrievers, memory, and output parsers for sophisticated AI pipelines.
Ask AI about this MCP Server for LangChain
The USGS Water Services MCP Server for LangChain is a standout in the Industry Titans category — giving your AI agent 5 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with MultiServerMCPClient({
"usgs-water-services": {
"transport": "streamable_http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
response = await agent.ainvoke({
"messages": [{
"role": "user",
"content": "Using USGS Water Services, show me what tools are available.",
}]
})
print(response["messages"][-1].content)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About USGS Water Services MCP Server
Connect to the USGS Water Services to retrieve comprehensive hydrological data directly from the United States Geological Survey. Monitor environmental conditions, analyze historical trends, and discover monitoring stations through natural language.
LangChain's ecosystem of 500+ components combines seamlessly with USGS Water Services through native MCP adapters. Connect 5 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.
What you can do
- Real-time Monitoring — Use
get_instantaneous_valuesto fetch near real-time data (15-minute intervals) for streamflow, water levels, and quality. - Historical Analysis — Retrieve daily summaries (mean, median, max, min) using
get_daily_valuesfor long-term trend analysis. - Site Discovery — Search for monitoring stations using
get_sitesfiltered by state, county, hydrologic unit (HUC), or geographic bounding box. - Statistical Reports — Generate daily, monthly, or annual statistics with
get_statisticsto understand hydrological patterns. - Groundwater Tracking — Access specialized groundwater level data using
get_groundwater_levelsfor aquifer monitoring.
The USGS Water Services MCP Server exposes 5 tools through the Vinkius. Connect it to LangChain in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 5 USGS Water Services tools available for LangChain
When LangChain connects to USGS Water Services through Vinkius, your AI agent gets direct access to every tool listed below — spanning hydrology, environmental-data, water-monitoring, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Get daily values on USGS Water Services
You MUST provide at least one major filter. Retrieve historical summarized daily data (mean, median, max, min)
Get groundwater levels on USGS Water Services
You MUST provide at least one major filter. Retrieve historical manually-recorded groundwater levels
Get instantaneous values on USGS Water Services
You MUST provide at least one major filter: sites, stateCd, huc, bBox, or countyCd. Retrieve near real-time water data (usually 15-minute intervals)
Get sites on USGS Water Services
Multiple major filters can be combined (AND logic). Search for USGS sites and metadata
Get statistics on USGS Water Services
Retrieve daily, monthly, or annual statistics based on approved data
Connect USGS Water Services to LangChain via MCP
Follow these steps to wire USGS Water Services into LangChain. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
pip install langchain langchain-mcp-adapters langgraph langchain-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
python agent.pyExplore tools
Why Use LangChain with the USGS Water Services MCP Server
LangChain provides unique advantages when paired with USGS Water Services through the Model Context Protocol.
The largest ecosystem of integrations, chains, and agents. combine USGS Water Services MCP tools with 500+ LangChain components
Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step
LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging
Memory and conversation persistence let agents maintain context across USGS Water Services queries for multi-turn workflows
USGS Water Services + LangChain Use Cases
Practical scenarios where LangChain combined with the USGS Water Services MCP Server delivers measurable value.
RAG with live data: combine USGS Water Services tool results with vector store retrievals for answers grounded in both real-time and historical data
Autonomous research agents: LangChain agents query USGS Water Services, synthesize findings, and generate comprehensive research reports
Multi-tool orchestration: chain USGS Water Services tools with web scrapers, databases, and calculators in a single agent run
Production monitoring: use LangSmith to trace every USGS Water Services tool call, measure latency, and optimize your agent's performance
Example Prompts for USGS Water Services in LangChain
Ready-to-use prompts you can give your LangChain agent to start working with USGS Water Services immediately.
"Search for all active USGS water monitoring sites in Florida."
"Get the last 7 days of water level data for site 08313000."
"What are the daily mean statistics for discharge at site 01646500?"
Troubleshooting USGS Water Services MCP Server with LangChain
Common issues when connecting USGS Water Services to LangChain through Vinkius, and how to resolve them.
MultiServerMCPClient not found
pip install langchain-mcp-adaptersUSGS Water Services + LangChain FAQ
Common questions about integrating USGS Water Services MCP Server with LangChain.
How does LangChain connect to MCP servers?
langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.Which LangChain agent types work with MCP?
Can I trace MCP tool calls in LangSmith?
Explore More MCP Servers
View all →
HiBob
11 toolsAutomate HR workflows via HiBob — manage employees, time off, and tasks directly from any AI agent.

Factorial
12 toolsManage HR operations via Factorial — list employees and teams, track leave requests, monitor shifts and payslips, and handle company documents directly from any AI agent.

Open-Meteo Flood & Rivers
3 toolsPredict floods before they happen: GloFAS river discharge simulations at 5km, 40 years of historical data (1984–present), and 7-month forward forecasts for disaster prevention.

Keap
11 toolsManage CRM contacts, marketing campaigns, and sales automation via Keap.
