MetorialDocs

Set up Corrently in Metorial for Claude, ChatGPT and Cursor

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'll 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

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokenapiToken

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

Open Shared Resources

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

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.

Limit the tools

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

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:

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

Employee: connect Corrently

In the portal

Open Corrently in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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.

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.

Check it worked

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