Scan your whole stack
From OX Research Newsroom
Latest version: v0.5.1
Octopus Energy (octopus-mcp) was last scanned on 27 Nov 2026 at version 0.5.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.5.1 LATEST | 27 Nov 2026 | No rules fired |
| 0.5.0 | 17 Nov 2026 | No rules fired |
| 0.4.0 | 15 Nov 2026 | No rules fired |
| 0.3.2 | 13 Nov 2026 | Not shown |
| 0.3.1 | 22 Oct 2026 | Not shown |
Findings for v0.5.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.5.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Talk to your energy.
An open-source Model Context Protocol server for Octopus Energy customers in the UK. It lets Claude and other AI assistants read your smart meter usage, costs, tariffs and bills, find the cheapest Agile half-hours and, if you allow it, manage Intelligent Octopus EV charging and join Saving Sessions, all from one small Docker container.
Quick start · Documentation · Tool reference · Contributing
[!NOTE] octopus-mcp is an unofficial, independent community project. It is not affiliated with, endorsed by or supported by Octopus Energy. It uses the public customer APIs with your own API key.
"How much did I spend on electricity last week, and when should I run the dishwasher tonight?" Last week you used 58.4 kWh for £11.92, including £2.66 of standing charges, an average of 15.9p/kWh on Agile. Wednesday was the priciest day: you used 4.1 kWh between 4pm and 7pm, when prices were over 30p. Tonight the cheapest two hours are 01:30 to 03:30 at an average of 7.8p/kWh, so a 1.5 kWh dishwasher cycle would cost about 12p, against 46p if you started it now.
Ask about your energy in plain English. The assistant picks from 26 tools to look things up and, if you allow it, make changes. Some examples:
ghcr.io/mattoddie/octopus-mcp) for linux/amd64 and linux/arm64, about 20 MB. It's a single static Go binary on a distroless base, with no shell or package manager, running as a non-root user with nothing to write. It serves Streamable HTTP for a long-running service, or stdio for docker run -i. Each release also has plain binaries for macOS, Linux and Windows on amd64 and arm64 to run on their own, and for Claude Desktop there's a one-click extension bundle (.mcpb) that needs no Docker.You need Docker, an Octopus Energy account (with a smart meter for usage data) and an MCP client such as Claude Code.
1. Get your API key from Personal details → API access in your Octopus account. Note your account number (A-1234ABCD) too.
2. Set up and start the server.
mkdir octopus-mcp && cd octopus-mcp
curl -fsSLO https://raw.githubusercontent.com/mattoddie/octopus-mcp/main/compose.yaml
curl -fsSL https://raw.githubusercontent.com/mattoddie/octopus-mcp/main/example.env -o .env
# Edit .env: set OCTOPUS_API_KEY, OCTOPUS_ACCOUNT
# and a random MCP_AUTH_TOKEN (e.g. `openssl rand -hex 32`)
docker compose up -d
docker compose exec octopus-mcp /octopus-mcp status # checks the API key
3. Connect your assistant.
claude mcp add --transport http octopus http://<docker-host>:8080/mcp \
--header "Authorization: Bearer <MCP_AUTH_TOKEN>"
Now ask "What tariff am I on, and what's my electricity price right now?" in Claude Code.
Using Claude Desktop on a Mac or Windows PC? You don't need Docker at all. Download the .mcpb bundle for your computer from the latest release, open it, and enter your API key in the settings. See Claude Desktop.
Using VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i, or a release binary without Docker. On macOS or Linux: brew install mattoddie/tap/octopus-mcp.
octopus-mcp is listed in the MCP Registry as io.github.mattoddie/octopus-mcp, so clients that install from the registry can find it there, with the Docker image and the bundles.
Out of the box the assistant can look but not touch. To let it change Intelligent Octopus charging settings, start a bump charge and join Saving Sessions, add this to .env and restart:
OCTOPUS_ALLOW_WRITES=true
OCTOPUS_TOOLSETS=account,consumption,tariffs,intelligent,octoplus # optional: expose fewer tools
Octopus API keys can't be limited to read-only, so this switch, enforced by octopus-mcp, is what keeps the assistant read-only. Read Security before turning it on. To keep a record of every change the assistant makes, set OCTOPUS_AUDIT_LOG to a file path (see Audit log).
| Toolset | What's covered |
|---|---|
account |
The account overview (properties, MPAN/MPRN, meter serials, smart meter device IDs, current tariffs), balance, bills and transactions |
consumption |
Smart meter usage for electricity import and export and gas, by half-hour, hour, day, week or month, with cost estimates; what your real usage would have cost on other tariffs; solar and export summaries with net cost and self-consumption; live demand from a Home Mini |
tariffs |
Products on sale, prices by region, half-hourly unit rates (Agile, Go and more), standing charges, the cheapest times to use electricity, the greenest times from the regional carbon intensity forecast, charging and heating schedules for batteries, heat pumps and cars, region by postcode. No account needed |
intelligent |
Intelligent Octopus cars and chargers: status, schedule, planned and completed charging slots; with writes, target and ready-by time, bump charge, smart control |
octoplus |
Octoplus points, Saving Sessions with rewards and results; with writes, joining a session |
raw |
Escape hatches: any GraphQL query (mutations only with writes) and any REST GET. Opt-in: only enabled when named in OCTOPUS_TOOLSETS, for example all,raw |
See the tool reference for every tool and argument. Ready-made prompts like energy_report, plan_cheap_usage and compare_tariffs chain the tools together for common jobs.
The docs are also published at octopus-mcp.mattoddie.dev/docs, with search.
| 🚀 Getting started | Step-by-step setup, from API key to first question |
| 🔌 Connecting MCP clients | Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode |
| ⚙️ Configuration | Every environment variable, how authentication works, Docker secrets, toolsets |
| 🐳 Deployment | Compose, image tags, upgrades, TLS reverse proxy, hardening, running without Docker |
| 💬 Using octopus-mcp | Example conversations, prompts, units, cost estimates, gas in m³, EV charging, Saving Sessions |
| 🧰 Tool reference | Every tool and prompt, generated from the code |
| 🛡️ Security | Threat model, the API key, safe write setups |
| 📡 Compatibility | The Octopus APIs, meters and tariffs, and known gaps |
| 🩹 Troubleshooting | Common errors and how to fix them |
| 🛠️ Development | Architecture, adding a tool, testing |
Contributions are very welcome, whether that's bug reports, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.
MIT © Matt Oddie
octopus-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Octopus Energy Ltd or Kraken Technologies Ltd. "Octopus Energy", "Agile Octopus", "Intelligent Octopus", "Octoplus" and related names are trademarks of their owners and are used here only to describe what the software works with.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.