Agro API MCP by usefulapi

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

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
94%
Vollständigkeit des Schemas
96%
Qualität der Benennung
78%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (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

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~2,964Tokens (Tool-Definitionen)
~1.2 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (2.32% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

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

Remote-Endpunkte

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

Was es kann

Tool-Inventar

Tools (17)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢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.

Eingabe-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}.

Eingabe-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.

Eingabe-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}.

Eingabe-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}.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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.

Eingabe-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

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet17 Tools