BoaviztAPI

v0.1.2
io.github.malikmalikayesha/boaviztapi-mcp Checked 11 hours ago Published 18 days ago

Environmental footprint of cloud instances, servers, GPUs and devices, via BoaviztAPI.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_impact_criteria List impact criteria

List BoaviztAPI's impact criteria with their code, unit and meaning, e.g. gwp (climate change, kgCO2eq), adp (abiotic resources, kgSbeq) or pe (primary energy, MJ). Use it to explain a code that appears in a result, or to choose `criteria` for the estimate tools; it estimates nothing. `query` filters on code, unit or description words such as 'water'. Read-only; the list comes from BoaviztAPI and is cached for a day.

ParameterTypeDescription
queryOptional filter on code or description, e.g. 'water'.

search_catalog Search the BoaviztAPI catalog

Find the exact names BoaviztAPI knows, before estimating. Use it whenever an estimate needs a name you are unsure of: a GPU or CPU model, a cloud instance type (needs `provider`), a cloud region, a server or device archetype (needs `device_type`), or a country. Results are exact upstream strings, including upstream typos such as 'platfom_gpucompute_high', best matches first and capped by `limit`; `total_matches` says how many exist. To see what one item contains, use describe_catalog_item instead. Read-only; lists are cached for a day.…

ParameterTypeDescription
kind *stringWhat to search.
device_typeRequired for device_archetype.
limitintegerMaximum names to return.
providerCloud provider; required for cloud_instance, optional for cloud_region.
queryWords to match, e.g. 'h100', 'm5.x', 'germ'.

describe_catalog_item Describe a catalog item

Show what a named catalog item contains: a cloud instance's vCPUs, memory and host platform; a server or device archetype's default parts and usage; or a GPU's or CPU's specifications. Use it to explain or check the assumptions behind an estimate, or to choose between similar items; it does not estimate impacts. `name` is resolved to the exact upstream name, and an ambiguous name returns the candidates (use search_catalog to find names). `provider` is required for cloud_instance and `device_type` for device_archetype. Read-only; cached f…

ParameterTypeDescription
kind *stringWhat kind of item.
name *stringName as found with search_catalog.
device_typeRequired for device_archetype.
providerRequired for cloud_instance.

estimate_cloud_instance Estimate a cloud instance

Estimate the environmental footprint of one cloud VM: its share of the host server's manufacturing (embedded) and the electricity it uses (use), per impact criterion, with units, min-max ranges and warnings. Use it for a single instance; use compare_estimates to rank several and estimate_server for physical servers. Give either `region` (the provider's region, which fixes the electricity mix) or `usage_location` (a country), not both; with neither, a wide European default is used. `duration_hours` sets the period (8760 = one year); omit…

ParameterTypeDescription
instance_type *stringInstance type, e.g. 'm5.xlarge'.
provider *stringCloud provider, e.g. 'aws'.
criteriaImpact criteria codes; default gwp, adp, pe. See list_impact_criteria. 'all' is not accepted.
detailstring'breakdown' adds per-component impacts and all assumptions.
duration_hoursPeriod assessed in hours (8760 = 1 year, 730 = 1 month). Omit for the whole hardware lifetime.
load_percentAverage CPU load in percent.
regionProvider region such as 'eu-west-3'; exclusive with usage_location.
usage_locationWhere the electricity comes from: country name or 3-letter code ('Germany', 'DEU'), 'WOR' for world or 'EEE' for Europe.

estimate_server Estimate a server

Estimate the environmental footprint of an on-premise server, optionally with GPUs: manufacturing (embedded) and electricity (use) impacts per criterion, with units, ranges and warnings. Use it for physical servers; use estimate_cloud_instance for cloud VMs and estimate_component for one part on its own. Any part you leave out (CPU, RAM, disks, GPU, power supply, case) comes from `archetype` (default 'platform_compute_medium'), and the result lists which ones. The default lifetime is 4 years (35040 h); a `duration_hours` longer than the…

ParameterTypeDescription
archetypeServer archetype for anything not given (default 'platform_compute_medium'); see search_catalog.
avg_power_wAverage power in watts.
cpuCPUs, e.g. {name: 'Xeon Gold 6134', units: 2}.
criteriaImpact criteria codes; default gwp, adp, pe. See list_impact_criteria. 'all' is not accepted.
detailstring'breakdown' adds per-component impacts and all assumptions.
disksDisks, e.g. [{type: 'ssd', units: 2, capacity_gb: 960}].
duration_hoursPeriod assessed in hours (8760 = 1 year, 730 = 1 month). Omit for the whole hardware lifetime.
gpuGPUs, e.g. {name: 'A100 SXM4 80GB', units: 8}.
gpu_load_percentAverage GPU load in percent.
lifetime_hoursHardware lifetime in hours.
load_percentAverage CPU load in percent.
ramRAM modules, e.g. [{units: 12, capacity_gb: 32}].
server_typeForm factor; defaults to the archetype's (rack).
usage_locationWhere the electricity comes from: country name or 3-letter code ('Germany', 'DEU'), 'WOR' for world or 'EEE' for Europe.
use_time_ratioShare of time the device is in use, 0 to 1.

estimate_component Estimate a component

Estimate the environmental footprint of one kind of component (gpu, cpu, ram, ssd or hdd), `units` of it: manufacturing (embedded) and electricity (use) impacts per criterion, with units, ranges and warnings. Use it for parts on their own, such as eight H100 GPUs. A GPU alone excludes its host server: for a whole machine use estimate_server with a `gpu` block. `name` and `tdp_w` apply to gpu and cpu, `capacity_gb` to ram, ssd and hdd; other combinations are an error. Names are resolved to BoaviztAPI's model names and an ambiguous one (su…

ParameterTypeDescription
component *stringComponent type.
avg_power_wAverage power in watts.
capacity_gbCapacity in GB (ram, ssd, hdd).
criteriaImpact criteria codes; default gwp, adp, pe. See list_impact_criteria. 'all' is not accepted.
detailstring'breakdown' adds per-component impacts and all assumptions.
duration_hoursPeriod assessed in hours (8760 = 1 year, 730 = 1 month). Omit for the whole hardware lifetime.
lifetime_hoursHardware lifetime in hours.
load_percentAverage CPU load in percent.
nameModel name for gpu or cpu, e.g. 'H100 SXM'.
tdp_wTDP in watts (gpu, cpu).
unitsintegerHow many.
usage_locationWhere the electricity comes from: country name or 3-letter code ('Germany', 'DEU'), 'WOR' for world or 'EEE' for Europe.

estimate_device Estimate an end-user device

Estimate the environmental footprint of an end-user device: laptop, desktop, smartphone, tablet, television, box, vr_headset, vr_controller, monitor, usb_stick, external_ssd, external_hdd or iot_device. Returns manufacturing (embedded) and electricity (use) impacts per criterion, with units, ranges and warnings. Use it for devices people use, not servers or cloud (see estimate_server and estimate_cloud_instance). Without `archetype` the device type's default profile is used, except for iot_device, which needs one; list them with…

ParameterTypeDescription
device_type *stringKind of device.
archetypeDevice archetype, e.g. 'laptop-pro'; required for iot_device. See search_catalog(kind='device_archetype').
avg_power_wAverage power in watts.
criteriaImpact criteria codes; default gwp, adp, pe. See list_impact_criteria. 'all' is not accepted.
detailstring'breakdown' adds per-component impacts and all assumptions.
duration_hoursPeriod assessed in hours (8760 = 1 year, 730 = 1 month). Omit for the whole hardware lifetime.
lifetime_hoursHardware lifetime in hours.
usage_locationWhere the electricity comes from: country name or 3-letter code ('Germany', 'DEU'), 'WOR' for world or 'EEE' for Europe.
use_time_ratioShare of time the device is in use, 0 to 1.

compare_estimates Compare estimates

Compare 2 to 5 options (cloud instances, servers, components or devices) over one common period and rank them per criterion, with each total, the difference from the first option, and whether the uncertainty ranges overlap. Use it whenever the question is which option is greener or how options differ; use the single estimate tools for one item. Each item has a `label`, a `kind`, and `params` holding the matching estimate tool's inputs (without duration_hours, criteria or detail). `duration_hours` is required so items with different lifet…

ParameterTypeDescription
duration_hours *numberCommon period in hours for every option (8760 = 1 year), so options with different lifetimes compare fairly.
items *array2 to 5 options.
criteriaImpact criteria codes; default gwp, adp, pe. See list_impact_criteria. 'all' is not accepted.