← Projects

Guide to Offlist for Claude

Four steps. Only the first is required; the others add more.

  1. Get started: Denmark and 8 other countries, no keys
  2. All of Europe: the Nordics with a free ENTSO-E key
  3. Add your car: your own EV through Smartcar
  4. Collect data about your car: the car's charges and kilometres around the clock, also when your computer is off

The extension's settings fields have Danish names. This guide gives each one with its English meaning, e.g. Licensnøgle (licence key).

Get started

  1. Double-click offlist-for-claude-<version>.mcpb. Claude Desktop shows the extension and some fields. You can also go to Settings → Extensions → Advanced settings → Install extension and pick the file.
  2. Paste your licence key into the field Licensnøgle. It is on the page after the purchase and in the email from OFFLIST, and starts with OFL1.. The key is personal: your email is in it and is shown at the bottom of your dashboard. The other fields can stay empty for now. Click Install.
  3. Type your price area in the field Elområde (price area): DK1 for Jutland and Funen, DK2 for Zealand and the islands, or e.g. DE, NL, FR, BE, AT, CH, IT or PL. You can also just tell Claude: "I live in Berlin". In Sprog (language), type en for answers in English.
  4. Start a new chat and ask e.g.:

Denmark comes from Energinet, and Germany, Poland, the Netherlands, Belgium, France, Italy, Switzerland and Austria from Energy-Charts. Both are open, so no key is needed.

Your dashboard runs on your own computer at http://localhost:4747 as long as Claude Desktop is open. Ask Claude to add, remove or move modules. Claude shows the proposal and only saves it when you say yes. You can save up to 10 dashboards.

All of Europe

Sweden, Norway and Finland and the flows between countries come from ENTSO-E, the European network of transmission system operators. It needs a free key (a "security token"):

  1. Create an account at https://transparency.entsoe.eu (Login → Register).
  2. Send an email to transparency@entsoe.eu with the subject Restful API access and the email address you created the account with in the body.
  3. When ENTSO-E has answered (usually within a few days), log in, go to My Account Settings and click Generate a new token.
  4. Paste the key into the field ENTSO-E-nøgle (ENTSO-E key) under Settings → Extensions → Offlist for Claude.

Then ask e.g. "What does it look like in the Nordics right now?".

Add your car

Offlist reads your EV through Smartcar, which connects to more than 40 car brands. You create your own Smartcar app, so the connection is between you, Smartcar and your car. Offlist sees neither your login at the car maker nor your car's location.

Smartcar charges per connected car. Check their current prices before you connect a real car. You can try everything for free with Smartcar's simulated cars first.

  1. Create a developer account at https://dashboard.smartcar.com.
  2. Create a new application. In the application's settings you find three things you need:
    • Application ID
    • Client ID
    • Client Secret. It is shown only once, so keep it somewhere safe.
  3. Add this Redirect URI exactly as shown:
    http://localhost:4747/smartcar/callback
  4. Give the app access to read battery, charging, odometer and the car's details. Location is not needed.
  5. Paste the three values into the fields under Settings → Extensions → Offlist for Claude. The field Smartcar-tilstand (Smartcar mode) must be simulated to try a simulated car and live for your real car.
  6. Tell Claude: "Connect my car". Claude gives you a link. Log in at your car maker and choose your car.

Then ask e.g.:

Good to know:

Collect data about your car

Offlist for Claude runs on your computer and only while Claude Desktop is open. So the car cannot send it anything while the computer is off. The solution is a small collector on the web that receives the car's data from Smartcar around the clock. Next time you ask Claude or open the dashboard, Offlist fetches what is new from the collector and stores it on your computer.

The collector runs at Cloudflare, which is free for one car, and it never sleeps. It is your own: Offlist does not see your data. The car's location is never stored, even if Smartcar sends it.

It requires that Add your car is done first. Check Smartcar's current prices for webhooks before you turn them on for a real car. It takes about 20 minutes.

1. Create the collector at Cloudflare

  1. Create a free account at https://dash.cloudflare.com/sign-up.
  2. Go to Storage & databases → D1 SQL Database → Create database. Name it offlist-opsamler and click Create.
  3. Go to Compute → Workers & Pages → Create → Start with Hello World. Name it offlist-opsamler and click Deploy.
  4. Open http://localhost:4747/opsamler.js on your own computer while Claude Desktop is open. This is the collector's code. Select all of it and copy it.
  5. Back in Cloudflare: click Edit code, delete everything in worker.js and paste the code. Click Deploy.
  6. Go back to the worker and choose Settings → Bindings → Add binding → D1 database. The variable name must be exactly DB. Choose the database offlist-opsamler and save.
  7. Choose Settings → Variables and Secrets → Add and add two secrets, type Secret:
    • OFFLIST_KEY: a long random text you make up yourself, e.g. 30 characters. You also need it in section 3.
    • SMARTCAR_MANAGEMENT_TOKEN: the Application Management Token from your Smartcar app. It is in Smartcar's dashboard under the app's settings, in the same place as the Client ID.
  8. Copy the worker's address. It is at the top and looks like https://offlist-opsamler.yourname.workers.dev. If you open it in the browser, it should say Offlist-opsamleren kører (the collector is running).

2. Let Smartcar send the car's data to the collector

  1. Go to https://dashboard.smartcar.com/integrations and create a new integration of type Webhook.
  2. Choose what sends data (triggers): the battery percentage (TractionBattery → StateOfCharge), whether the car is charging (Charge → IsCharging) and whether it is plugged in (Charge → IsChargingCableConnected).
  3. Choose which data is included (signals): the same three, plus odometer (Odometer → TraveledDistance), range (TractionBattery → Range) and, if your car has it, energy added (Charge → EnergyAdded), which makes the kWh for each charge more precise. Do not choose location.
  4. As Callback URI, enter the collector's address with /webhook at the end:
    https://offlist-opsamler.yourname.workers.dev/webhook
  5. Tick Automatically subscribe all vehicles and save. Smartcar now sends a test to the collector, and the webhook becomes active when the collector has answered correctly. If there is an error, check SMARTCAR_MANAGEMENT_TOKEN in Cloudflare.

3. Connect the collector to Offlist for Claude

  1. Go to Settings → Extensions → Offlist for Claude.
  2. Paste the address from section 1 into the field Opsamler-adresse (collector address), without /webhook.
  3. Paste your OFFLIST_KEY into the field Opsamler-nøgle (collector key) and save. Restart Claude.

Then ask e.g.:

Good to know:

Household power use

With a key from Eloverblik, Offlist for Claude can fetch the whole household's power use hour by hour from your electricity meter. The dashboard then shows the home's consumption, CO₂ and cost month by month, and the household is included in Your total consumption, Months with the biggest footprint and Car and household. This is only for electricity meters in Denmark.

The key is your own. The consumption is fetched directly from Eloverblik (Energinet) to your computer and is not passed on. It takes about 5 minutes.

  1. Go to https://eloverblik.dk and log in with MitID as a private person.
  2. Choose Datadeling (data sharing) in the menu (on some screens it says API-adgang or Del data).
  3. Click Opret token (create token), give it a name, e.g. Offlist for Claude, and click Opret (create).
  4. Copy the key. It is long and shown only once.
  5. Go to Settings → Extensions → Offlist for Claude and paste the key into the field Eloverblik-nøgle (Eloverblik key). Save and restart Claude.

Then ask e.g.:

Good to know:

Where is my data?

Everything is in the folder .offlist-for-claude in your home folder:

Claude Desktop stores your keys (ENTSO-E, Smartcar and Eloverblik) securely in the extension's settings. Offlist for Claude sends nothing to Offlist.

Troubleshooting