Agro API MCP by usefulapi
Read satellite, NDVI, weather and soil data; create and delete fields in Agro API.
使うべきか
品質と安全性
検出事項(2)
- LOWagroapi_get_accumulated_temperature 内
- LOWagroapi_get_accumulated_precipitation 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"agro-api": {
"url": "https://agro-api.usefulapi.io/mcp"
}
}
}リモートエンドポイント
https://agro-api.usefulapi.io/mcpstreamable-httpできること
ツール一覧
ツール(17)
🟢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.
入力スキーマ
{
"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}.
入力スキーマ
{
"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.
入力スキーマ
{
"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}.
入力スキーマ
{
"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}.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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.
入力スキーマ
{
"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"
}コミュニティ
エビデンス