octopus-mcp
An open-source Model Context Protocol server for Octopus Energy customers in the UK. It lets Claude and other AI assistants read smart meter usage, costs, tariffs and bills, find the cheapest Agile half-hours, and manage Intelligent Octopus EV charging and Saving Sessions via a small 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
- Check smart meter usage and costs
- Find cheapest Agile prices for appliances
- Manage Intelligent Octopus EV charging
- Join Saving Sessions
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.1
{
"transport": "stdio",
"identifier": "ghcr.io/mattoddie/octopus-mcp:0.3.1",
"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-1": {
"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.1"
],
"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-1": {
"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.1"
],
"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-1": {
"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.1"
],
"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-1": {
"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.1"
],
"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.