> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Corrently in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/corrently
Last updated: 2026-11-24

Share Corrently with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 19 tools (14 read-only).

---

To give your team Corrently in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Corrently integration in a Metorial portal, and each person connects with an API token. Agents can query German renewable energy and CO2 forecasts, electricity market prices, solar generation, renewable dispatch, and generation mix. The integration has 19 tools, 14 read-only and 5 write, plus 1 trigger.

**What you will learn**

- How an admin shares Corrently in a portal and how each person connects
- What Corrently asks for when you connect, and where to find it
- How to keep the 14 read-only tools and reject the other 5

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API token from Corrently for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Token** | API token | `apiToken` |

### API Token

To connect, a person enters:

- `apiToken`: Corrently API token obtained from https://console.corrently.io/

### Setup settings

Setup also asks for:

- `zip` (optional): Default German postal code (Postleitzahl) for location-specific queries. 5 digits, e.g. "69168".

## Admin: share Corrently in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Corrently. For how members connect, choose **Each person connects** so everyone enters their own API token, or **Shared connection** to enter one API token for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Corrently.

4. **Choose who gets it**

   Add the access groups that should see Corrently. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Corrently integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search corrently
```

## Employee: connect Corrently

### In the portal

1. **Open Corrently in the catalog**

   Sign in to your portal and open Corrently. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API token (apiToken).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search corrently
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Corrently connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list corrently
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 14 read-only tools, such as `get_dispatch` and `get_strommix`, and lose the 5 write tools, such as `update_co2_meter` or `submit_meter_reading`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list corrently
metorial tools <integration-id>
metorial call <integration-id> get_merit_order -d '{}'
```

`metorial tools` lists the 19 tools, minus any you rejected. `get_merit_order` takes no input. 

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (14)

- `get_stromkonto_balances`: Retrieves Stromkonto (energy account) balance information including GrünstromBonus tracking and CORI token balances. Needs `account`.
- `calculate_co2_offset`: Calculates CO2 offset needs and compensation options for a given amount of CO2 emissions. Needs `co2Kg`.
- `get_tariff_info`: Provides a breakdown of energy tariff cost components for a German postal code. Needs `zip`.
- `get_dispatch`: Provides insights into the flow and composition of renewable energy for a German city. Needs `zip`.
- `get_strommix`: Provides data on Germany's electricity generation mix across renewable and non-renewable sources.
- `get_green_power_index`: Retrieves the GrünstromIndex (Green Power Index) forecast for a German postal code. Needs `zip`.
- `get_best_hour`: Finds the best hour to consume energy based on renewable energy availability and low CO2 emissions for a given German location. Needs `zip`.
- `get_merit_order`: Retrieves German electricity merit-order analysis grouped into price buckets, including generation capacity utilization and actual generation by source.
- `get_solar_prediction`: Provides solar energy production forecasts for a specific location and panel configuration.
- `get_market_data`: Retrieves real-time and forecasted electricity pricing data for a German location. Needs `zip`.
- `compare_charge_or_fuel`: Compares electricity and fuel costs and CO2 emissions per 100 km for a plug-in hybrid in Germany.
- `get_co2_advice`: Retrieves hourly CO2 intensity and traffic-light advice for electricity consumption at a German postal code, including threshold definitions and location information.
- `get_energy_schedule`: Retrieves an energy schedule, current device recommendation, time slots, and progress.
- `get_co2_meter`: Retrieves a CO2 meter and its latest reading, emissions, forecast, and expiry.

### Write tools (5)

- `submit_meter_reading`: Submits an electricity meter reading and receives a decorated response with CO2 emissions breakdown. Needs `zip` and `energy`.
- `create_energy_schedule`: Creates an optimized device-operation schedule for a German location using price, solar, emission, or comfort optimization. Needs `zip`, `optimizationMode` and `activeHours`.
- `update_co2_meter`: Creates a CO2 meter for a German postal code or updates an existing meter using its meterId.
- `report_energy_schedule_consumption`: Reports measured energy or power and completed time slots for an existing schedule.
- `update_energy_schedule_requirements`: Updates the optimization requirements of an existing energy schedule.

## Triggers

Corrently has 1 trigger, which fire on events in Corrently:

- `inbound_webhook`

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Corrently there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Corrently on metorial.com](https://metorial.com/integrations/corrently): the integration overview