Structure
Validez des modèles de catastrophes à partir d’historiques alternatifs d’inondations, d’incendies de forêt et de séismes réels, avec les pertes, l’AAL, l’OEP et les périodes de retour pour les réassureurs. Retrace les effets en cascade et normalise les données internationales d’exposition.
Serveur MCP hébergé
npx add-mcp 'https://app.structure.ml/mcp'S’installe dans Claude Code, Codex, Cursor et plus
Documentation
Structure for agents
Structure is a catastrophe simulator for reinsurance: observed floods, wildfires and earthquakes, each with thousands of solved alternative histories ("digital sisters") carrying losses, rates and return periods, and GPU runs that animate any sister or a custom scenario. This page tells an AI agent, and the person it works for, how to connect.
MCP server: https://app.structure.ml/mcp (Streamable HTTP). Clients with OAuth need only the URL: they open a Structure page where the person signs in and chooses Allow. Or send a personal MCP key as the header Authorization: Bearer st_… (minted automatically in the Connect your agent panel on https://app.structure.ml/ and on https://app.structure.ml/_gate/account).
Connect
- Claude (claude.ai, Claude Desktop): Customize > Connectors > + Add > Add custom connector. URL https://app.structure.ml/mcp, then Add and Connect. Team and Enterprise: an owner adds it under Organization settings > Connectors.
- ChatGPT: chatgpt.com/plugins > + > Add custom MCP server. Server URL https://app.structure.ml/mcp, Authentication OAuth, then Create as a plugin. In a chat, type @ and choose it.
- Claude Code:
claude mcp add --transport http --scope user structure https://app.structure.ml/mcp --header "Authorization: Bearer st_…"(or omit--headerto sign in with/mcpOAuth). - Codex:
codex mcp add structure --url https://app.structure.ml/mcp(sign-in starts at once; again later:codex mcp login structure). With a token instead:--bearer-token-env-var STRUCTURE_TOKEN. - Antigravity: in ~/.gemini/antigravity/mcp_config.json (or ~/.gemini/config/mcp_config.json),
{"mcpServers": {"structure": {"serverUrl": "https://app.structure.ml/mcp", "headers": {"Authorization": "Bearer st_…"}}}}. - Cursor: in ~/.cursor/mcp.json,
{"mcpServers": {"structure": {"url": "https://app.structure.ml/mcp", "headers": {"Authorization": "Bearer st_…"}}}}(or omitheadersto sign in by OAuth). - Any other MCP client: the URL, with OAuth; or the URL and the Authorization header.
Connections are listed, and revoked, on the Account page: https://app.structure.ml/_gate/account
Privacy policy: https://app.structure.ml/privacy. Terms: https://app.structure.ml/terms. Contact: hello@structure.ml.
Spending
Runs spend the person's prepaid tokens: 1 token per GPU-second, at least 300 a run, never more than the quoted ceiling; failed runs are free. Quote first (quote_runs, quote_scenario), show the person the estimate and the ceiling, and start (start_runs, start_scenario) only after they say yes, passing the quote's max_tokens: if the price has gone up since, the start is refused and you quote again. Never invent numbers: every loss, return period and price comes from a catalog or a quote; say when a catalog is not fit for pricing.
Custom Scenarios & SAR Validation
- Custom Eaton wildfire scenarios (
quote_scenario,start_scenariooneaton_sisters_v1): passparamswithignitions([{"lat": 34.1856, "lon": -118.0846}], 1–5 points, orign_shift_e_m/ign_shift_n_m),wind_scale(0.5–1.6×),wind_dir_delta_deg(-30° to +30°),start_offset_min(-360 to +360 min),m1_scale(1-h dead fuel moisture scale, 0.4–2.0×),live_woody(live woody moisture, 30–160 %),fb_per_kj(firebrand generation, 0.2–2.5 1/kJ),p_ember(ember ignition probability, 0.002–0.05),size_cap_ha(containment cap in ha, or0for uncapped),struct_reach_m(structure-to-structure reach, 8–60 m),seed(integer), andsar_assimilate(boolean). - Custom Ellicott City flood scenarios (
ec_sisters_v1): passparamswithshift_e_km,shift_n_km,rain_scale, andstretch. - SAR observations & DINS validation: call
get_sar_observationsto inspect the Sentinel-1A track 64 RTC (2025-01-09T01:50:41Z/17:50 PST 8 Jan), PWTT building damage t-statistics, and 8 Capella-9/13 X-band Spotlight/Sliding-Spotlight GEO HH acquisitions (2025-01-09T02:44:30Z/18:44 PST 8 Jan), and callevaluate_run_saroneaton_2025_twin, any published wildfire hero, or any finishedu-…run to compute ROC AUC, F1, and sector-by-sector agreement across all 48,162altadena_stagestructures.
HTTPS API
The same tools without an MCP client: GET https://app.structure.ml/api/v1/tools lists them; POST https://app.structure.ml/api/v1/tools/<name> with the arguments as a JSON object answers {result, text}. Same bearer token, prices, limits and spending rule.
Tools
- account: Who is signed in, their tokens (available, and held by queued or running runs), whether they run free, how many runs are active, and links to their pages.
- list_catalogs: The sister catalogs Structure holds: per catalog its id, peril, observed event and place, sisters solved, AAL (gross, ground-up, USD/yr), the largest ground-up loss, whether it is fit for pricing (and why not), and the grid of sisters.
- catalog_metrics: A catalog's AAL (ground-up, gross, ceded, net, USD per year, with the 5-95 % band where the package has one), its OEP (and AEP where tabulated) at return periods, its notes (methods, policy terms) and whether it is fit for pricing.
- find_sisters: Sisters of a catalog by a rule: worst (largest ground-up loss first), mildest (smallest loss above zero), band (return periods between rp_lo and rp_hi years, largest loss first), index (the sister numbers given), random (seeded, among sisters with a loss).
- get_sister: One sister of a catalog by its number: return period, ground-up and gross loss (USD), annual rate, every catalog column (parameters and outcomes), whether it has an animation, and a viewer link.
- list_runs: The person's runs, newest first: status (queued with its position, running, done, failed, cancelled), tokens held or charged, run time, and the viewer link of finished ones.
- list_requests: The person's study requests to Structure (work the library cannot run yet) with their status and Structure's answer.
- quote_runs: What animating sisters would cost: per sister the estimate and the ceiling in tokens and the expected run time, the total ceiling, the tokens available and whether they are enough.
- start_runs: Spends tokens, never more than the quoted ceiling.
- quote_scenario: What one custom scenario on a catalog's stage would cost (new fire ignitions, or the flood storm moved or scaled): whether it can run and why not, the parameters as resolved and clamped, notes, the estimate and ceiling in tokens and the expected run time.
- start_scenario: Spends tokens, never more than the quoted ceiling.
- cancel_run: Cancels one of the person's queued or running runs.
- request_study: Sends Structure a request for what the library cannot run yet: a new event or peril, more sisters of an event, a portfolio.
- list_parameters: The columns a catalog holds for every sister, parameters (what was varied: rainfall rarity, storm track, wind, fuel moisture, magnitude, hypocentre …) and outcomes (flooded area, area burned, peak shaking …), with names, units and their range over the catalog (min, 5 %, median, 95 %, max).
- sister_matrix: Alternative histories as a matrix: the catalog's sisters crossed on two of their columns (rows × cols, binned), each cell with how many sisters fall in it, how many have a loss, their mean, smallest and largest property damage (ground-up or gross, USD), their share of the catalog's AAL, and the cell's median sister (number, loss, return period) to inspect or run.
- catalog_models: The physics and data behind a catalog, as its packages record them: the hazard model (solver, version, resolution, code commit, parameters), the 3D terrain (survey, datum, resolution), weather and climate forcing, exposure, vulnerability and policy terms, how the sisters were generated (what varies, distributions, sources), how losses become EP curves, validation against the observed event, the assumptions, and the inputs with their sources.
- catalog_sensitivity: How the catalog's pricing metrics (AAL, OEP at return periods, TVaR, a layer's expected loss and rate on line …) move when one assumption changes at a time (hazard, vulnerability, exposure, frequency, terms, numerics), measured on the same sisters as the baseline, with paired 5-95 % intervals; rows not yet run say so.
- get_run: A finished run's results, from its package: the event or scenario, the model that solved it (name, version, resolution), its headline outcomes (losses with their bands, peak depth or area burned or peak shaking, structures damaged …), the sister and parameters it animates, the layers it carries and its 3D viewer link.
- get_sar_observations: The Synthetic Aperture Radar (SAR) datasets available for the Eaton Fire: Sentinel-1A track 64 ascending 24-pass pre-fire baseline and 9 Jan 2025 01:50 UTC (17:50 PST 8 Jan, t = 23.6 h) mid-fire RTC backscatter, Pixel-Wise T-Test (PWTT) damage rasters and DINS validation metrics, and the 8 Capella-9/13 X-band Spotlight/Sliding-Spotlight GEO HH acquisitions (including 9 Jan 02:44 UTC / 18:44 PST 8 Jan at t = 24.5 h).
- evaluate_run_sar: Evaluates a finished wildfire run (eaton_2025_twin, a published hero run, or one of the person's own u-… runs) against the mid-event Sentinel-1A (17:50 PST 8 Jan) and Capella-9 (18:44 PST 8 Jan) SAR overpasses and CAL FIRE DINS inspections across the 48,162 altadena_stage structures, including spatial sector breakdowns (NW Altadena Foothills, Central Altadena, Eaton Canyon East, and SE Arcadia/Sierra Madre static clutter check).