Guide to Offlist for Claude
Four steps. Only the first is required; the others add more.
- Get started: Denmark and 8 other countries, no keys
- All of Europe: the Nordics with a free ENTSO-E key
- Add your car: your own EV through Smartcar
- 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
- 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. - 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. - 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.
- Start a new chat and ask e.g.:
- "What does power cost right now, and how green is it?"
- "When is it greenest to run the dishwasher today?"
- "Build a dashboard for me with power and CO₂."
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"):
- Create an account at https://transparency.entsoe.eu (Login → Register).
- 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.
- When ENTSO-E has answered (usually within a few days), log in, go to My Account Settings and click Generate a new token.
- 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.
- Create a developer account at https://dashboard.smartcar.com.
- 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.
- Add this Redirect URI exactly as shown:
http://localhost:4747/smartcar/callback - Give the app access to read battery, charging, odometer and the car's details. Location is not needed.
- Paste the three values into the fields under Settings → Extensions → Offlist for Claude. The field Smartcar-tilstand (Smartcar mode) must be
simulatedto try a simulated car andlivefor your real car. - Tell Claude: "Connect my car". Claude gives you a link. Log in at your car maker and choose your car.
Then ask e.g.:
- "How much charge does the car have?"
- "When should the car charge to reach 80 % by tomorrow morning, as green as possible?"
- "Add my car to the dashboard."
Good to know:
- Charging history: The car is read when you ask. If you want the car's charges and kilometres collected around the clock, see Collect data about your car.
- Several cars: If you have several cars, you can share them all in the same connection.
- Forget the car: Say "Forget my car". Also remove it from the app in Smartcar's dashboard.
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
- Create a free account at https://dash.cloudflare.com/sign-up.
- Go to Storage & databases → D1 SQL Database → Create database. Name it
offlist-opsamlerand click Create. - Go to Compute → Workers & Pages → Create → Start with Hello World. Name it
offlist-opsamlerand click Deploy. - 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.
- Back in Cloudflare: click Edit code, delete everything in
worker.jsand paste the code. Click Deploy. - Go back to the worker and choose Settings → Bindings → Add binding → D1 database. The variable name must be exactly
DB. Choose the databaseofflist-opsamlerand save. - 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.
- 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
- Go to https://dashboard.smartcar.com/integrations and create a new integration of type Webhook.
- 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).
- 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.
- As Callback URI, enter the collector's address with
/webhookat the end:https://offlist-opsamler.yourname.workers.dev/webhook - 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_TOKENin Cloudflare.
3. Connect the collector to Offlist for Claude
- Go to Settings → Extensions → Offlist for Claude.
- Paste the address from section 1 into the field Opsamler-adresse (collector address), without
/webhook. - Paste your
OFFLIST_KEYinto the field Opsamler-nøgle (collector key) and save. Restart Claude.
Then ask e.g.:
- "How many times did I charge the car in the last month, and how much CO₂ did it emit?"
- "How far have I driven this week?"
- "Add the car's history to my dashboard."
Good to know:
- First data: The first reading comes when the car changes, e.g. when you plug it in to charge.
- CO₂: Calculated for charges in the last 31 days, from the grid's CO₂ in exactly the hours the car charged.
- Where the data is: In the Cloudflare database and in
history.jsonin your Offlist folder on the computer, so the history works even if the collector is down. - Stop collecting: Turn off the webhook in Smartcar's dashboard, and delete the worker and the database in Cloudflare.
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.
- Go to https://eloverblik.dk and log in with MitID as a private person.
- Choose Datadeling (data sharing) in the menu (on some screens it says API-adgang or Del data).
- Click Opret token (create token), give it a name, e.g. Offlist for Claude, and click Opret (create).
- Copy the key. It is long and shown only once.
- 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.:
- "How much power did we use in the house last month, and what did it cost?"
- "Add the household's power use to my dashboard."
Good to know:
- The first time, a year is fetched. It can take a few minutes, especially in the morning when Eloverblik is busy. After that, new data is fetched at most every 6 hours when you open the dashboard.
- One day's delay: Eloverblik gets meter data from the grid company the day after.
- The key is valid for a year. Claude tells you ("What is set up?") when it expires within a month, or if Eloverblik rejects it. Then make a new one and paste it in the same place.
- CO₂ and cost are calculated hour by hour from the grid in your part of the country (found from the meter's postcode). The cost is an estimate: spot price plus a fixed surcharge for grid tariff, taxes and the power supplier, incl. VAT.
- The car at home: The extension never reads the car's location, so it does not know where the car charges. By default, all the car's charges count as at home and are subtracted from the home's consumption, so they are not counted twice. If the car charges elsewhere, say e.g. "The car charges at home 60 % of the time" or "The car never charges at home".
- Stop: Delete the key in the extension's settings and under Datadeling on eloverblik.dk. Also delete the folder
husstandin your Offlist folder.
Where is my data?
Everything is in the folder .offlist-for-claude in your home folder:
settings.json: price area and dashboardscar.json: which Smartcar user and car are connected. Only you can read the file, and it contains no keys.history.json: the car's history from your collector, if you have onehistorik/: power price and CO₂ hour by hour for the last year, which Offlist's modules calculate onhusstand/: the household's consumption hour by hour from Eloverblik, if you have entered a key (not the key itself)cache/: copies of power prices and CO₂, so Energinet is not asked again at every start
Claude Desktop stores your keys (ENTSO-E, Smartcar and Eloverblik) securely in the extension's settings. Offlist for Claude sends nothing to Offlist.
Troubleshooting
- "The licence key is missing or invalid": Copy the whole key from the email again, including the part after the dots, and paste it under Settings → Extensions → Offlist for Claude → Licensnøgle. Restart Claude afterwards.
- "Energinet is not answering right now": Energinet limits how often you may ask. Wait a minute.
- "needs an ENTSO-E token": You asked about the Nordics without an ENTSO-E key. See All of Europe.
- Smartcar: "redirect_uri mismatch": The Redirect URI in Smartcar must be exactly
http://localhost:4747/smartcar/callback. - "Eloverblik rejected the key": The key has expired or been deleted. Make a new one on eloverblik.dk under Datadeling and paste it into Eloverblik-nøgle.
- "The collector rejected the key":
OFFLIST_KEYin Cloudflare and Opsamler-nøgle in the extension must be exactly the same. - The collector gets nothing from Smartcar: See the Logs tab on the webhook in Smartcar's dashboard. If the collector answers 401,
SMARTCAR_MANAGEMENT_TOKENdoes not match. - The dashboard does not open: It only runs while Claude Desktop is open and the extension is turned on.