octopus-mcp
An unofficial, open-source MCP server that connects AI assistants to Octopus Energy accounts. It provides 22 tools across 6 toolsets to query smart meter usage, costs, Agile prices, tariffs, bills, and manage EV charging or Saving Sessions. It runs in a Docker container, enforces read-only access by default, and uses the user's own API key.
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 to run appliances using Agile prices
- Manage EV charging targets and join Saving Sessions
- View account balance, bills, and current tariff details
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.3.2
{
"transport": "stdio",
"identifier": "ghcr.io/mattoddie/octopus-mcp:0.3.2",
"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."
},
{
"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-mcp-0-3-2": {
"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.3.2"
],
"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-mcp-0-3-2": {
"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.3.2"
],
"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-mcp-0-3-2": {
"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.3.2"
],
"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-mcp-0-3-2": {
"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.3.2"
],
"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-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.