Skip to main content
Glama
TMFNK

Meter MCP Server

by TMFNK

meter-mcp-server

Frozen meter-day classifier behind MCP. 90.0% eval vs 86.7% rules floor. Offline, small, and fast.

What it is

One sklearn logreg (C=1.0, 26 evidence features) exposed as 3 MCP tools:

  • classify_day - 96 x 15-min kWh plus meter reference returns label plus reason.

  • classify_batch - up to 31 days.

  • model_info - version, numbers, limits.

Labels: active, standby, off, unsure. unsure is a first-class abstention, never a forced call.

Status: Step 0 scaffold. classify_* are stubs until Step 1 vendors the frozen model.

Related MCP server: WorkloadTruth MCP Server

Setup

pip install -r requirements.txt
export PYTHONPATH="$PWD/src"
python3 -m pytest -q
bash reproduce.sh

STDIO (Claude Desktop, Code, Inspector)

export PYTHONPATH="$PWD/src"
python3 -m meter_mcp.server_stdio

HTTP + Docker

MCP_API_KEY=test python3 -m meter_mcp.server_http --port 8000
curl -s localhost:8000/healthz
docker build -t meter-mcp .
docker run -p 8000:8000 -e MCP_API_KEY=test meter-mcp

Eval

Sealed 30 day eval from the sibling repo: 90.0% (27/30), decline 36.7% at precision 0.727, validity 1.0, p50 0.77 ms per day, zero confident errors. Sibling: https://github.com/TMFNK/meter-day-classifier

What the numbers do not show: day labels are the benchmark, not a customer savings claim. Segment triage plus a real pilot come later.

Layout

See 2026-09-29-implementation-plan in the vault (20_Projects/40_mbitai-Meter-MCP).

License

Apache-2.0. See LICENSE and NOTICE. MbitAI, Munich.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI-powered analysis and prediction of household energy consumption through machine learning models, providing historical consumption breakdowns, price queries from Spanish electricity markets, and personalized energy optimization recommendations.
    -
  • A
    license
    A
    quality
    B
    maintenance
    Live and historical electricity prices, demand, generation mix and carbon intensity for 25 grid zones (US, Europe, GB, Australia). Hosted endpoint plus local stdio bridge; free sample mode, free API key, or x402 pay-per-call.
    6
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables streaming inference over utility meter telemetry with exactly-once tumbling windows and offline, in-process anomaly detection via stdio JSON-RPC, keeping regulated meter data within the customer boundary.
    -