Skip to content

Connect an AI assistant ​

With Plus, an AI assistant can read what Runsten keeps about your cars and answer your questions about it, in your words. Runsten hosted serves it through MCP, the protocol these assistants use to reach other services.

What to ask ​

  • How much did charging cost me last month, at home and elsewhere?
  • What was my consumption in January, compared with June?
  • Which trips used the most energy this summer?
  • How has my battery's capacity changed over the past year?
  • How much does the car lose while parked?

The assistant finds the figures itself, in your trips, charges and statistics.

Before you start ​

  • Plus, or its 14-day trial: see the pricing. On Free, the assistant connects, but each question gets an answer pointing to Plus.
  • An assistant that speaks MCP, such as claude.ai, ChatGPT, Claude Code or Cursor. Those below are only examples.

Runsten's address is the same for all: https://my.runsten.app/api/mcp. You find it in Runsten, Settings, API access, Manage the connected assistants.

Claude.ai and ChatGPT ​

  1. In the assistant's settings, add a custom connector with the address https://my.runsten.app/api/mcp. Depending on your subscription with its provider, this option may not be offered.
  2. The assistant sends you to Runsten: sign in if needed, check what it will be able to read, then Allow.
  3. You are back in the assistant, where Runsten shows among the connectors.

No password or token is handed to the assistant: Runsten gives it read access, which you withdraw whenever you like.

Claude Code ​

In a terminal:

sh
claude mcp add --transport http runsten https://my.runsten.app/api/mcp

Add --scope user to have it in all your projects. Then, in Claude Code, /mcp, choose runsten and sign in: the browser opens Runsten, where you click Allow.

With a personal access token ​

For Cursor, a script, or an assistant that does not offer this sign-in, send a token instead.

  1. In Runsten, open Settings, then API access.
  2. New access token: name it after the assistant, such as “Cursor”, and choose when it expires.
  3. Create the token, and copy it: it starts with rst_ and is not shown again.

Anyone who has the token can read your data: keep it as you would a password.

In Cursor, add Runsten to ~/.cursor/mcp.json, for all your projects, or to a project's .cursor/mcp.json:

json
{
  "mcpServers": {
    "runsten": {
      "url": "https://my.runsten.app/api/mcp",
      "headers": {
        "Authorization": "Bearer rst_…"
      }
    }
  }
}

In a project's file, keep the token out of the repository: write "Bearer ${env:RUNSTEN_TOKEN}" and set RUNSTEN_TOKEN in your environment. Elsewhere, the header is the same: Authorization: Bearer rst_….

What the assistant reads ​

  • Your cars, with their model and variant, the latest readings (state of charge, range, odometer, charging) and the battery's health.
  • Your trips and charges, with their times, distance, energy, consumption, state of charge and cost, and the places by their name and address.
  • Your statistics, by day, week or month, and your places, with their name and tariff.

And what it does not:

  • Your positions. The coordinates of your trips, charges, places and car are removed from every answer; only place names and addresses remain.
  • Anything to change. The assistant cannot edit, delete or act on the car. It reads what Runsten has recorded, without contacting the car.
  • More than you see. It reads your account as you do in Runsten.

What it reads is sent to the assistant's provider when you ask, and that provider processes it under its own terms: see the privacy policy. Runsten records each call, which tool and when, never what was asked or answered, and keeps that record 30 days.

Disconnect an assistant ​

In Runsten, Settings, API access, Manage the connected assistants, then Disconnect next to the assistant: it loses access at once. For a token, Revoke next to the token, in API access.

Then remove Runsten from the assistant: its connector, claude mcp remove runsten, or its entry in mcp.json.