Agro API MCP by usefulapi

Read satellite, NDVI, weather and soil data; create and delete fields in Agro API.

Should I use this

Quality & Safety

A
Description quality
94%
Schema completeness
96%
Naming quality
78%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (2)

  • LOWTool 'agroapi_get_accumulated_temperature' name length outside 3-30 rangein agroapi_get_accumulated_temperature
  • LOWTool 'agroapi_get_accumulated_precipitation' name length outside 3-30 rangein agroapi_get_accumulated_precipitation

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~2,964Tokens (tool definitions)
~1.2 KBTypical response size
Significant attention impact (2.32% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "agro-api": {
      "url": "https://agro-api.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://agro-api.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (17)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢agroapi_list_polygons

List your polygons with id, name, area in hectares and centre. Start here to find a polygon id for the other tools. GET /polygons.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_polygon(polyid)

Get one polygon by id: geometry, name, area and centre. GET /polygons/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    }
  },
  "required": [
    "polyid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴agroapi_create_polygon(name, geo_json, duplicated)

Create a polygon (a field) from a GeoJSON Feature with a Polygon geometry, in [longitude, latitude] order. The vendor blocks a duplicate unless duplicated=true. Writes to your account. POST /polygons.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Name of the polygon."
    },
    "geo_json": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "Feature"
        },
        "properties": {
          "type": "object",
          "properties": {}
        },
        "geometry": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "Polygon"
            },
            "coordinates": {
              "minItems": 1,
              "type": "array",
              "items": {
                "minItems": 4,
                "type": "array",
                "items": {
                  "type": "array",
                  "prefixItems": [
                    {
                      "type": "number",
                      "minimum": -180,
                      "maximum": 180,
                      "description": "Longitude, -180 to 180."
                    },
                    {
                      "type": "number",
                      "minimum": -90,
                      "maximum": 90,
                      "description": "Latitude, -90 to 90."
                    }
                  ],
                  "items": false,
                  "minItems": 2,
                  "maxItems": 2
                },
                "description": "Closed ring of [longitude, latitude] points; the first point equals the last."
              }
            }
          },
          "required": [
            "type",
            "coordinates"
          ]
        }
      },
      "required": [
        "type",
        "geometry"
      ],
      "description": "GeoJSON Feature with a Polygon geometry. The area must be 1 to 3000 ha."
    },
    "duplicated": {
      "description": "Set true to allow a polygon that duplicates an existing one.",
      "type": "boolean"
    }
  },
  "required": [
    "name",
    "geo_json"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟡agroapi_update_polygon(polyid, name)

Change the name of one polygon. Writes to your account. PUT /polygons/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "The new name."
    }
  },
  "required": [
    "polyid",
    "name"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🔴agroapi_delete_polygon(polyid)

Delete one polygon from your account. This cannot be undone through the API. DELETE /polygons/{id}.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    }
  },
  "required": [
    "polyid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_search_images(polyid, start, end)

Find satellite images (Landsat-8 and Sentinel-2) of a polygon between two Unix times, with each image date and its image, tile and statistics links. The API key is removed from the links; add your own appid to open them. GET /image/search.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    }
  },
  "required": [
    "polyid",
    "start",
    "end"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_ndvi_history(polyid, start, end, type)

Get NDVI (vegetation index) statistics for a polygon over a time range. Choose the satellite with type: l8 (Landsat-8) or s2 (Sentinel-2). The vendor limits the long archive to its Corporate account. GET /ndvi/history.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    },
    "type": {
      "description": "Data source: l8 = Landsat-8, s2 = Sentinel-2.",
      "type": "string",
      "enum": [
        "l8",
        "s2"
      ]
    }
  },
  "required": [
    "polyid",
    "start",
    "end"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_current_weather(lat, lon)

Get the current weather at a latitude and longitude. GET /weather.

Input Schema

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90,
      "description": "Latitude, -90 to 90."
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180,
      "description": "Longitude, -180 to 180."
    }
  },
  "required": [
    "lat",
    "lon"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_forecast_weather(lat, lon)

Get the 5-day weather forecast with 3-hour steps at a latitude and longitude. GET /weather/forecast.

Input Schema

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90,
      "description": "Latitude, -90 to 90."
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180,
      "description": "Longitude, -180 to 180."
    }
  },
  "required": [
    "lat",
    "lon"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_historical_weather(lat, lon, start, end)

Get past weather at a latitude and longitude between two Unix times. Not in the free account. GET /weather/history.

Input Schema

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90,
      "description": "Latitude, -90 to 90."
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180,
      "description": "Longitude, -180 to 180."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    }
  },
  "required": [
    "lat",
    "lon",
    "start",
    "end"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_accumulated_temperature(lat, lon, threshold, start, end)

Get the accumulated temperature (growing degree sum above a threshold) at a latitude and longitude between two Unix times. Not in the free account. GET /weather/history/accumulated_temperature.

Input Schema

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90,
      "description": "Latitude, -90 to 90."
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180,
      "description": "Longitude, -180 to 180."
    },
    "threshold": {
      "type": "number",
      "description": "Base temperature threshold, in the unit the vendor documents (example 284)."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    }
  },
  "required": [
    "lat",
    "lon",
    "threshold",
    "start",
    "end"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_accumulated_precipitation(lat, lon, start, end)

Get the accumulated precipitation at a latitude and longitude between two Unix times. Not in the free account. GET /weather/history/accumulated_precipitation.

Input Schema

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90,
      "description": "Latitude, -90 to 90."
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180,
      "description": "Longitude, -180 to 180."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    }
  },
  "required": [
    "lat",
    "lon",
    "start",
    "end"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_current_soil(polyid)

Get the current soil temperature and moisture for a polygon. GET /soil.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    }
  },
  "required": [
    "polyid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_historical_soil(polyid, start, end)

Get soil temperature and moisture for a polygon between two Unix times. Not in the free account. GET /soil/history.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    }
  },
  "required": [
    "polyid",
    "start",
    "end"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_current_uvi(polyid)

Get the current UV index for a polygon. GET /uvi.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    }
  },
  "required": [
    "polyid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_forecast_uvi(polyid, cnt)

Get the UV index forecast for a polygon. cnt limits the number of values. GET /uvi/forecast.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    },
    "cnt": {
      "description": "Number of forecast values to return.",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "polyid"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢agroapi_get_historical_uvi(polyid, start, end)

Get the UV index for a polygon between two Unix times. Not in the free account. GET /uvi/history.

Input Schema

{
  "type": "object",
  "properties": {
    "polyid": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{1,64}$",
      "description": "Polygon id (from agroapi_list_polygons)."
    },
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Unix time in seconds (UTC)."
    }
  },
  "required": [
    "polyid",
    "start",
    "end"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded17 tools