Enedis Linky MCP Server

<ul> <li>🦫 <b>Go</b> (latest version recommended)</li> <li>🔑 <b>Conso API token</b> — register for free at conso.boris.sh</li> <li>🆔 <b>PRM

Local serverstdioGo

What is the Enedis Linky MCP server?

Most monitoring and observability work still happens through a UI a human drives. Enedis Linky MCP server moves it into the conversation instead. 🦫 Go (latest version recommended) 🔑 Conso API token — register for free at conso.boris.sh 🆔 PRM number — your 14-digit Linky meter identifier (found on your electricity bill) .

The short version

  • 5 MCP tools — covering Linky consumption, load curve, max power, and solar production data
  • Bearer token authentication — via the free Conso API proxy
  • Automatic retry — with exponential backoff on transient errors
  • Rate-limit awareness — — respects the 5 req/s and 10k req/h limits
  • Dual MCP transports — — stdio for Claude Desktop, sse for HTTP clients
  • Structured logging — — JSON logs via log/slog with configurable levels

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

The tools it exposes

The server publishes 5 tools. What each one is for:

  • get_daily_consumption — Daily electricity consumption (Wh) for a date range
  • get_load_curve — 30-minute average power readings (W)
  • get_max_power — Maximum power reached each day (VA)
  • get_daily_production — Daily solar production (Wh) for solar installations
  • get_production_load_curve — 30-minute average production power readings (W)

What it needs from you

Configuration is passed through the environment: CONSO_API_TOKEN, LINKY_PRM, MCP_TRANSPORT, PORT, LINKY_DASHBOARD, CONSO_API_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Among the monitoring and observability options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Enedis Linky's toolset — get_daily_consumption, get_load_curve, get_max_power and 2 more — is a fair guide to whether it matches your workflow. It is maintained by mjrgr; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Enedis Linky's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
get_daily_consumptionDaily electricity consumption (Wh) for a date range
get_load_curve30-minute average power readings (W)
get_max_powerMaximum power reached each day (VA)
get_daily_productionDaily solar production (Wh) for solar installations
get_production_load_curve30-minute average production power readings (W)

How to install the Enedis Linky MCP server

{
  "mcpServers": {
    "linky": {
      "command": "/absolute/path/to/bin/enedis-linky-mcp-server",
      "env": {
        "CONSO_API_TOKEN": "your_token_here",
        "LINKY_PRM": "12345678901234"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
CONSO_API_TOKENCredential the server authenticates with.Yes
LINKY_PRMConfiguration value read at startup.Optional
MCP_TRANSPORTConfiguration value read at startup.Optional
PORTConfiguration value read at startup.Optional
LINKY_DASHBOARDConfiguration value read at startup.Optional
CONSO_API_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Enedis Linky to get daily consumption.
  • Use Enedis Linky to get load curve.
  • Use Enedis Linky to get max power.

Frequently asked questions

It connects Enedis Linky to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (get_daily_consumption, get_load_curve, get_max_power, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Enedis Linky directly.