Agro API MCP by usefulapi for LangChain
io.usefulapi/agro-api
Read satellite, NDVI, weather and soil data; create and delete fields in Agro API.
client:LangChain
transport:streamable-http
tools:17
Install Agro API MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"agro-api": {
"transport": "streamable_http",
"url": "https://agro-api.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
- agroapi_list_polygons
- agroapi_get_polygon
- agroapi_create_polygon
- agroapi_update_polygon
- agroapi_delete_polygon
- agroapi_search_images
- agroapi_get_ndvi_history
- agroapi_get_current_weather
- agroapi_get_forecast_weather
- agroapi_get_historical_weather
- agroapi_get_accumulated_temperature
- agroapi_get_accumulated_precipitation
- agroapi_get_current_soil
- agroapi_get_historical_soil
- agroapi_get_current_uvi
- agroapi_get_forecast_uvi
- agroapi_get_historical_uvi