> ## Documentation Index
> Fetch the complete documentation index at: https://code.dcycle.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LCA Tools

> MCP tools for querying Life Cycle Assessment portfolios and environmental impact results

# LCA Tools

Query Life Cycle Assessment (LCA) data — list product portfolios and retrieve environmental impact results broken down by EN 15804 life cycle stages.

## Tools

### `list_lcas`

List all LCA portfolios for your organization with pagination.

**Parameters:**

| Parameter         | Type    | Required | Description                                 |
| ----------------- | ------- | -------- | ------------------------------------------- |
| `organization_id` | string  | No       | Organization UUID (uses default if not set) |
| `page`            | integer | No       | Page number (default: 1)                    |
| `size`            | integer | No       | Results per page (default: 50)              |

**Example prompt:** "List all my LCA portfolios"

**Response fields:**

| Field                             | Description                                |
| --------------------------------- | ------------------------------------------ |
| `items[].id`                      | LCA portfolio UUID                         |
| `items[].name`                    | Portfolio name (e.g. "Ceramic Tile 60x60") |
| `items[].status`                  | Status: `active`, `draft`, `archived`      |
| `items[].impact_categories`       | Selected impact categories                 |
| `items[].start_date` / `end_date` | Assessment period                          |
| `items[].value`                   | Functional unit quantity                   |
| `total`                           | Total number of LCAs                       |

***

### `get_lca_dashboard`

Get calculated environmental impact results for an LCA, organized by EN 15804 life cycle stages.

**Parameters:**

| Parameter           | Type   | Required | Description                                                          |
| ------------------- | ------ | -------- | -------------------------------------------------------------------- |
| `lca_id`            | string | **Yes**  | UUID of the LCA portfolio                                            |
| `organization_id`   | string | No       | Organization UUID (uses default if not set)                          |
| `view`              | string | No       | Allocation view: `system` (default), `product_total`, `product_unit` |
| `output_product_id` | string | No       | Co-product UUID (required for `product_total` / `product_unit`)      |

**Example prompt:** "Show me the environmental impact results for LCA abc-123"

**Response fields:**

| Field                                   | Description                            |
| --------------------------------------- | -------------------------------------- |
| `stages[].stage`                        | EN 15804 code: A1, A2, A3, A4, B6, B7  |
| `stages[].phase`                        | `Production` or `Downstream`           |
| `stages[].label`                        | Human-readable description             |
| `stages[].categories[].impact_category` | e.g. `climate_change`, `acidification` |
| `stages[].categories[].impact_value`    | Calculated impact value                |
| `stages[].categories[].impact_unit`     | Unit (e.g. "kg CO2-Eq")                |
| `is_stale`                              | Whether results need recalculation     |

## Life Cycle Stages (EN 15804)

| Stage | Phase      | Description               |
| ----- | ---------- | ------------------------- |
| A1    | Production | Raw material supply       |
| A2    | Production | Transport to manufacturer |
| A3    | Production | Manufacturing             |
| A4    | Downstream | Distribution              |
| B6    | Downstream | Operational energy use    |
| B7    | Downstream | Operational water use     |

## Workflow

1. Call `list_lcas` to discover available LCA portfolios
2. Pick an LCA by its `id`
3. Call `get_lca_dashboard` with that `lca_id` to see impact results
4. For co-product LCAs, use `view=product_unit` with `output_product_id` for per-unit impacts

## Example Prompts

* "List my LCA portfolios"
* "What are the climate change impacts for LCA abc-123?"
* "Compare A1 vs A3 stage impacts for my ceramic tile LCA"
* "Show per-unit environmental impacts for product xyz in LCA abc-123"
