Octopus Energy MCP
An unofficial, open-source Model Context Protocol server that allows AI assistants to interact with Octopus Energy accounts. It provides tools to query smart meter usage, costs, Agile prices, tariffs, bills, and manage EV charging or Saving Sessions via a Docker container.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Query half-hourly electricity and gas consumption with cost estimates
- Find the cheapest time slots for running appliances using Agile prices
- Manage Intelligent Octopus EV charging targets and preferences
- Join Octopus Saving Sessions to earn rewards
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/mattoddie/octopus-mcp:0.5.0
{
"transport": "stdio",
"identifier": "ghcr.io/mattoddie/octopus-mcp:0.5.0",
"registryType": "oci",
"environmentVariables": [
{
"name": "MCP_TRANSPORT",
"value": "stdio",
"description": "The image serves HTTP by default; this runs it over stdio."
},
{
"name": "OCTOPUS_API_KEY",
"isRequired": true,
"description": "Your Octopus API key, from Personal details → API access in your Octopus account. It starts sk_live_."
},
{
"name": "OCTOPUS_ACCOUNT",
"description": "Your account number, like A-1234ABCD. Optional when the key can see only one account."
},
{
"name": "OCTOPUS_ALLOW_WRITES",
"format": "boolean",
"default": "false",
"description": "true lets the assistant change Intelligent Octopus charging and join Saving Sessions. false is read-only."
},
{
"name": "OCTOPUS_TOOLSETS",
"description": "Comma-separated toolsets to expose: account, consumption, tariffs, intelligent, octoplus, raw. Empty means all, which leaves out raw: name it (all,raw) to enable it."
},
{
"name": "OCTOPUS_AUDIT_LOG",
"description": "stderr, or a file path, to record every change the assistant makes as a JSON line. A file needs a volume."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"octopus-energy-mcp-0-5-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_TRANSPORT=<YOUR_MCP_TRANSPORT>",
"-e",
"OCTOPUS_API_KEY=<YOUR_OCTOPUS_API_KEY>",
"-e",
"OCTOPUS_ACCOUNT=<YOUR_OCTOPUS_ACCOUNT>",
"-e",
"OCTOPUS_ALLOW_WRITES=<YOUR_OCTOPUS_ALLOW_WRITES>",
"-e",
"OCTOPUS_TOOLSETS=<YOUR_OCTOPUS_TOOLSETS>",
"-e",
"OCTOPUS_AUDIT_LOG=<YOUR_OCTOPUS_AUDIT_LOG>",
"ghcr.io/mattoddie/octopus-mcp:0.5.0"
],
"env": {
"MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
"OCTOPUS_API_KEY": "<YOUR_OCTOPUS_API_KEY>",
"OCTOPUS_ACCOUNT": "<YOUR_OCTOPUS_ACCOUNT>",
"OCTOPUS_ALLOW_WRITES": "<YOUR_OCTOPUS_ALLOW_WRITES>",
"OCTOPUS_TOOLSETS": "<YOUR_OCTOPUS_TOOLSETS>",
"OCTOPUS_AUDIT_LOG": "<YOUR_OCTOPUS_AUDIT_LOG>"
}
}
}
}Cline
{
"mcpServers": {
"octopus-energy-mcp-0-5-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_TRANSPORT=<YOUR_MCP_TRANSPORT>",
"-e",
"OCTOPUS_API_KEY=<YOUR_OCTOPUS_API_KEY>",
"-e",
"OCTOPUS_ACCOUNT=<YOUR_OCTOPUS_ACCOUNT>",
"-e",
"OCTOPUS_ALLOW_WRITES=<YOUR_OCTOPUS_ALLOW_WRITES>",
"-e",
"OCTOPUS_TOOLSETS=<YOUR_OCTOPUS_TOOLSETS>",
"-e",
"OCTOPUS_AUDIT_LOG=<YOUR_OCTOPUS_AUDIT_LOG>",
"ghcr.io/mattoddie/octopus-mcp:0.5.0"
],
"env": {
"MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
"OCTOPUS_API_KEY": "<YOUR_OCTOPUS_API_KEY>",
"OCTOPUS_ACCOUNT": "<YOUR_OCTOPUS_ACCOUNT>",
"OCTOPUS_ALLOW_WRITES": "<YOUR_OCTOPUS_ALLOW_WRITES>",
"OCTOPUS_TOOLSETS": "<YOUR_OCTOPUS_TOOLSETS>",
"OCTOPUS_AUDIT_LOG": "<YOUR_OCTOPUS_AUDIT_LOG>"
}
}
}
}VS Code
{
"servers": {
"octopus-energy-mcp-0-5-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_TRANSPORT=<YOUR_MCP_TRANSPORT>",
"-e",
"OCTOPUS_API_KEY=<YOUR_OCTOPUS_API_KEY>",
"-e",
"OCTOPUS_ACCOUNT=<YOUR_OCTOPUS_ACCOUNT>",
"-e",
"OCTOPUS_ALLOW_WRITES=<YOUR_OCTOPUS_ALLOW_WRITES>",
"-e",
"OCTOPUS_TOOLSETS=<YOUR_OCTOPUS_TOOLSETS>",
"-e",
"OCTOPUS_AUDIT_LOG=<YOUR_OCTOPUS_AUDIT_LOG>",
"ghcr.io/mattoddie/octopus-mcp:0.5.0"
],
"env": {
"MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
"OCTOPUS_API_KEY": "<YOUR_OCTOPUS_API_KEY>",
"OCTOPUS_ACCOUNT": "<YOUR_OCTOPUS_ACCOUNT>",
"OCTOPUS_ALLOW_WRITES": "<YOUR_OCTOPUS_ALLOW_WRITES>",
"OCTOPUS_TOOLSETS": "<YOUR_OCTOPUS_TOOLSETS>",
"OCTOPUS_AUDIT_LOG": "<YOUR_OCTOPUS_AUDIT_LOG>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"octopus-energy-mcp-0-5-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_TRANSPORT=<YOUR_MCP_TRANSPORT>",
"-e",
"OCTOPUS_API_KEY=<YOUR_OCTOPUS_API_KEY>",
"-e",
"OCTOPUS_ACCOUNT=<YOUR_OCTOPUS_ACCOUNT>",
"-e",
"OCTOPUS_ALLOW_WRITES=<YOUR_OCTOPUS_ALLOW_WRITES>",
"-e",
"OCTOPUS_TOOLSETS=<YOUR_OCTOPUS_TOOLSETS>",
"-e",
"OCTOPUS_AUDIT_LOG=<YOUR_OCTOPUS_AUDIT_LOG>",
"ghcr.io/mattoddie/octopus-mcp:0.5.0"
],
"env": {
"MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>",
"OCTOPUS_API_KEY": "<YOUR_OCTOPUS_API_KEY>",
"OCTOPUS_ACCOUNT": "<YOUR_OCTOPUS_ACCOUNT>",
"OCTOPUS_ALLOW_WRITES": "<YOUR_OCTOPUS_ALLOW_WRITES>",
"OCTOPUS_TOOLSETS": "<YOUR_OCTOPUS_TOOLSETS>",
"OCTOPUS_AUDIT_LOG": "<YOUR_OCTOPUS_AUDIT_LOG>"
}
}
}
}Let your agent find its tools
Find servers like Octopus Energy MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.