maap_biomass_area_stats

Pack: nasa-maap · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/maap_biomass_area_stats for the schema, then POST the same URL with its arguments for the data.

Aboveground biomass (Mg/ha) summary over a small polygon from a MAAP biomass map: mean, median, min, max, standard deviation, valid and masked pixel counts. The polygon must fit inside ${MAX_AREA_SPAN_DEG} degrees in both directions and inside one map tile; larger areas are refused. Collections as in maap_biomass_at_point.

Parameters

NameTypeRequiredDescription
polygonobjectyesGeoJSON Polygon geometry (or a Feature holding one), coordinates as [lon, lat], for example {“type”:“Polygon”,“coordinates”:[[[-59.5,-3.0],[-59.4,-3.0],[-59.4,-3.1],[-59.5,-3.1],[-59.5,-3.0]]]}
collectionstringnoCollection id: ${Object.keys(CURATED).join(’ | ’)}. Default ${DEFAULT_COLLECTION}.
yearnumbernoMap year where the collection has several. Default: the latest.

Example call

Arguments

{
  "polygon": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          -59.5,
          -3
        ],
        [
          -59.4,
          -3
        ],
        [
          -59.4,
          -3.1
        ],
        [
          -59.5,
          -3.1
        ],
        [
          -59.5,
          -3
        ]
      ]
    ]
  },
  "collection": "ESACCI_Biomass_L4_AGB_V4_100m",
  "year": 2020
}

curl

curl -X POST https://gateway.pipeworx.io/nasa-maap/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"maap_biomass_area_stats","arguments":{"polygon":{"type":"Polygon","coordinates":[[[-59.5,-3],[-59.4,-3],[-59.4,-3.1],[-59.5,-3.1],[-59.5,-3]]]},"collection":"ESACCI_Biomass_L4_AGB_V4_100m","year":2020}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('maap_biomass_area_stats', {
  "polygon": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          -59.5,
          -3
        ],
        [
          -59.4,
          -3
        ],
        [
          -59.4,
          -3.1
        ],
        [
          -59.5,
          -3.1
        ],
        [
          -59.5,
          -3
        ]
      ]
    ]
  },
  "collection": "ESACCI_Biomass_L4_AGB_V4_100m",
  "year": 2020
});

Response shape

FieldTypeDescription
collectionstring
unitsstring
resolution_mnumber
sourcestring
fetched_atstring
bboxarray
item_idstring
assetstring
yearnumber
bandobject
meannumber
mediannumber
minnumber
maxnumber
stdnumber
valid_pixelsnumber
masked_pixelsnumber
valid_percentnumber
Full JSON Schema
{
  "type": "object",
  "properties": {
    "collection": {
      "type": "string"
    },
    "units": {
      "type": "string"
    },
    "resolution_m": {
      "type": "number"
    },
    "source": {
      "type": "string"
    },
    "fetched_at": {
      "type": "string"
    },
    "bbox": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "item_id": {
      "type": "string"
    },
    "asset": {
      "type": "string"
    },
    "year": {
      "type": "number"
    },
    "band": {
      "type": "object",
      "properties": {
        "index": {
          "type": "number"
        },
        "name": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "mean": {
      "type": "number"
    },
    "median": {
      "type": "number"
    },
    "min": {
      "type": "number"
    },
    "max": {
      "type": "number"
    },
    "std": {
      "type": "number"
    },
    "valid_pixels": {
      "type": "number"
    },
    "masked_pixels": {
      "type": "number"
    },
    "valid_percent": {
      "type": "number"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the nasa-maap pack
{
  "mcpServers": {
    "nasa-maap": {
      "url": "https://gateway.pipeworx.io/nasa-maap/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 4, 2026