AgentDataAPI for LangChain
com.agentdataapi/agentdata
Grid power prices and carbon, open sensors, weather alerts and forecasts, news and social signals.
client:LangChain
transport:streamable-http
tools:32
Install AgentDataAPI in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"agentdata": {
"transport": "streamable_http",
"url": "https://agentdataapi.com/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
- list_capabilities
- create_free_api_key
- grid_regions
- grid_price
- grid_day_ahead
- grid_price_history
- grid_load
- grid_generation
- grid_cheapest_window
- grid_carbon
- petroleum_weekly
- sensors_stations_near
- sensors_air
- sensors_air_near
- sensors_water_gauge
- sensors_water_history
- sensors_tides
- sensors_tide_predictions
- sensors_quakes
- weather_alerts
- weather_current
- weather_forecast
- weather_forecast_daily
- weather_stations_near