Weatherbit MCP by usefulapi for LangChain
io.usefulapi/weatherbit
Read Weatherbit forecasts, weather history, air quality, agriculture, energy, and API usage.
client:LangChain
transport:streamable-http
tools:12
Install Weatherbit MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"weatherbit": {
"transport": "streamable_http",
"url": "https://weatherbit.usefulapi.io/mcp",
}
})
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
- weatherbit_subscription_usage
- weatherbit_current_weather
- weatherbit_daily_forecast
- weatherbit_hourly_forecast
- weatherbit_minutely_forecast
- weatherbit_daily_history
- weatherbit_current_air_quality
- weatherbit_air_quality_forecast
- weatherbit_agriculture_forecast
- weatherbit_agriculture_history
- weatherbit_energy_forecast
- weatherbit_energy_history