fortyguard-mcp
v0.1.1MCP server for the FortyGuard Temperature API — hyperlocal urban heat data
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_credit_usage
Your account's plan, credit balance, and per-endpoint usage breakdown, straight from the API. This is the authority on what your key can do - area limits and endpoint access vary by plan and are not assumed anywhere in this server.
get_storage_info
What this server has archived on local disk: how many results, broken down by endpoint, how much space they take, any report files downloaded from signed URLs, and where all of it lives. Nothing is ever deleted automatically - stored results cost money and never go stale, so the directory is yours to manage.
validate_aoi
Measure a GeoJSON area of interest locally: geodesic area in km2 and square miles, bounding box, edge lengths, ring closure, and whether the coordinates look transposed. Costs nothing and makes no API call. It reports only - no size limit is applied, because limits vary by plan.
| Parameter | Type | Description |
|---|---|---|
polygon_aoi * | object | GeoJSON FeatureCollection, Feature, Polygon or MultiPolygon. |
split_aoi
Cut an area of interest into a grid of smaller areas, each at or under a maximum size you specify. Use it when the API rejects an area as too large. There is no default maximum: the cap depends on your plan, so take it from your contract or from the API's own rejection message. Local computation, no credits.
| Parameter | Type | Description |
|---|---|---|
max_area_km2 * | number | Maximum area per piece, in square kilometres. Required - this server does not assume your plan's limit. |
polygon_aoi * | object | The area to split, as GeoJSON. |
submit_heatmap
Submit a temperature heatmap over an area and return immediately with an activity_id, without waiting for it to finish. Use this when you have other work to do, or for a large area. Collect it with check_status. If this exact request was run before, the stored result comes back straight away instead of an activity_id, marked from_archive, and costs nothing. filter_type: 1 = single hour (start_date + start_time); 2 = range of hours, same day (start_date + start_time + end_time); 3 = single day (start_date only); 4 = range of days (start_date + end_date). granularity is the tile edge in metres (…
| Parameter | Type | Description |
|---|---|---|
polygon_aoi * | object | Area of interest as GeoJSON. |
analytic_type | Optional analytic: tcm, time_of_measure, exceedance, persistence. | |
direction | ||
end_date | YYYY-MM-DD, for filter_type 4. | |
end_time | HH:MM, for filter_type 2. | |
filter_type | 1 = single hour (start_date + start_time); 2 = range of hours, same day (start_date + start_time + end_time); 3 = single day (start_date only); 4 = range of days (start_date + end_date) | |
granularity | Tile edge in metres: 60, 80, 100. | |
start_date | YYYY-MM-DD. | |
start_time | HH:MM, local to the area, not UTC. | |
threshold |
create_heatmap
Run a temperature heatmap and wait for the result inline. Measured heatmaps take 21-38 seconds. If the wait runs out you get the activity_id back and nothing is lost - the job keeps running and check_status collects it. An identical earlier request is served from the local archive for free. filter_type: 1 = single hour (start_date + start_time); 2 = range of hours, same day (start_date + start_time + end_time); 3 = single day (start_date only); 4 = range of days (start_date + end_date). granularity is the tile edge in metres (60, 80, 100); omit it to let the API choose. analytic_type is option…
| Parameter | Type | Description |
|---|---|---|
polygon_aoi * | object | Area of interest as GeoJSON. |
analytic_type | Optional analytic: tcm, time_of_measure, exceedance, persistence. | |
direction | ||
end_date | ||
end_time | ||
filter_type | 1 = single hour (start_date + start_time); 2 = range of hours, same day (start_date + start_time + end_time); 3 = single day (start_date only); 4 = range of days (start_date + end_date) | |
format | string | auto = the raw API payload when it fits the context budget, otherwise a summary naming every way to fetch it. geojson = the raw payload whatever its size. columnar = a compact table, about 12x smaller… |
granularity | Tile edge in metres: 60, 80, 100. | |
start_date | ||
start_time | HH:MM, local to the area, not UTC. | |
threshold | ||
wait_s | number | Seconds to wait inline before returning the activity_id instead. |
get_env_params
Environmental parameters at a single point - humidity, heat index, wet bulb, air quality and more. Requires a temperature, which must match the heatmap for the same place and time. Supply it either as temperature=, or as from_activity_id= naming a completed heatmap covering this point, which also supplies the matching date. Give one or the other, not both. Narrow the response with analysis=, or omit it to receive every parameter.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Decimal degrees. |
longitude * | number | Decimal degrees. |
analysis | Which parameters to return. Omit for all of them (verified). Values: heat_index_celsius, apparent_temperature_celsius, wet_bulb_temperature_celsius, relative_humidity_percent, precipitation_mm, cloud_… | |
filter_type | 1 = single hour (start_date + start_time); 2 = range of hours, same day (start_date + start_time + end_time); 3 = single day (start_date only); 4 = range of days (start_date + end_date) | |
from_activity_id | A completed heatmap to read the temperature and date out of. Free - no API call. Mutually exclusive with temperature. | |
start_date | ||
start_time | ||
temperature | Degrees Celsius. Mutually exclusive with from_activity_id. | |
wait_s | number |
submit_satellite
Submit satellite land-cover segmentation for a point and return an activity_id. Collect it with check_status.
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Decimal degrees. |
longitude * | number | Decimal degrees. |
filter_type | 1 = single hour (start_date + start_time); 2 = range of hours, same day (start_date + start_time + end_time); 3 = single day (start_date only); 4 = range of days (start_date + end_date) | |
granularity | Tile edge in metres: 60, 80, 100. | |
start_date | ||
start_time | HH:MM, local to the point, not UTC. |
submit_streetview
Submit street-view scene analysis for a point and return an activity_id. Collect it with check_status.
| Parameter | Type | Description |
|---|---|---|
back_view * | boolean | Also analyse the opposing direction. |
horizontal_angle * | number | Field of view in degrees, 0-360. 90 is a normal street-level view. |
latitude * | number | Decimal degrees. |
longitude * | number | Decimal degrees. |
vertical_angle * | number | Camera pitch in degrees. 10 is a normal street-level view. |
submit_heat_intelligence
Submit a heat intelligence report for a point and return an activity_id. This one is slow - measured at about 395 seconds - so it is never waited on inline. Collect it with check_status, which downloads the PDF to local disk and returns its path under 'report'; the API delivers this analysis as a short-lived signed URL, which is never returned or stored. Needs a temperature: give temperature= or from_activity_id=, not both. `analysis` is required - pass all five categories for a complete report.
| Parameter | Type | Description |
|---|---|---|
analysis * | array | Report sections to include, at least one: geographic, environmental, urban, events, anthropogenic. Pass all five for a complete report. NOTE these are NOT the measurement names get_env_params takes -… |
latitude * | number | Decimal degrees. |
longitude * | number | Decimal degrees. |
date | YYYY-MM-DD. | |
from_activity_id | A completed heatmap to read temperature and date from. Free. Mutually exclusive with temperature. | |
temperature | Degrees Celsius. Mutually exclusive with from_activity_id. |
check_status
Check on a submitted analysis, or wait for it. If it has finished, the result comes back and is archived locally. Polling is free and the job runs whether or not you poll. Once collected, calling this again is served from disk at no cost.
| Parameter | Type | Description |
|---|---|---|
activity_id * | string | From a submit_* call. |
format | string | auto, geojson, or columnar. |
wait_s | number | Seconds to wait for completion. 0 checks once and returns immediately. |
get_result_slice
Read part or all of an already-collected result from local disk. Costs nothing and makes no API call, so use it freely: take the hottest tiles with top_n, a sub-area with bbox, a downsample with every_nth, the whole thing compactly with format='columnar', or the untouched payload with format='geojson'. Naming a format gets you all of it at whatever size it comes to; the context budget applies only to the default format='auto'. Statistics for both the slice and the full result are always reported, so a slice maximum is never mistaken for the real one.
| Parameter | Type | Description |
|---|---|---|
activity_id * | string | A collected analysis. |
bbox | [west, south, east, north]. West may exceed east to cross the antimeridian. | |
every_nth | Keep every Nth tile. | |
format | string | auto = fit it to the context budget, and if it does not fit, say what exists and how to fetch it. columnar = the compact table in full, whatever its size. geojson = the raw payload in full, whatever i… |
top_n | Return only the N highest-valued tiles. |