Smarter Weather for LangChain
io.github.smarterweather/weather
Smarter Weather MCP: forecasts, alerts, outlooks, observations, AQI, grids, and map imagery.
client:LangChain
transport:streamable-http
runtime:npm
tools:34
Install Smarter Weather in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"weather": {
"transport": "streamable_http",
"url": "https://mcp.smarterweather.com",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- get_forecast
- get_hourly_forecast
- search_locations
- reverse_geocode
- get_alerts
- get_time_context
- get_period_totals
- compare_locations
- find_best_window
- get_outlooks
- get_forecast_discussion
- get_storm_reports
- get_lightning_activity
- get_sounding
- get_forecast_distribution
- get_current_conditions
- get_observations
- list_datasets
- describe_dataset
- query_dataset
- get_growing_degree_days
- get_climate_normals
- get_forecast_skill
- get_forecast_skill_map