npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@paulczar/sigen-api-mcp

v0.1.2

Published

MCP server for SigenCloud API — read station data, energy flow, history, and alarms

Readme

@paulczar/sigen-api-mcp

MCP server for the SigenCloud API — read station data, energy flow, alarms, operational modes, and smart loads from your Sigenergy ESS system via the cloud.

Prerequisites

  • A SigenCloud account (the same one you use with the mySigen app)
  • A developer app registration — see docs/sigencloud-api.md for setup instructions (free, just email Sigenergy)

Usage

Basic usage

# Password auth (required for all tools)
npx -y @paulczar/sigen-api-mcp --cloud-user [email protected] --cloud-pass your-password

# Optional region (defaults to aus)
npx -y @paulczar/sigen-api-mcp --cloud-user [email protected] --cloud-pass your-password --cloud-region eur

# With AppKey/AppSecret (enables cloud_history tool — experimental, user/pass auth is better tested)
npx -y @paulczar/sigen-api-mcp --cloud-user [email protected] --cloud-pass your-password --app-key YOUR_APP_KEY --app-secret YOUR_APP_SECRET

Environment variables

All arguments can also be set in a .env file:

[email protected]
SIGEN_PASSWORD=your-password
SIGEN_REGION=aus
SIGEN_APP_KEY=your_app_key_here
SIGEN_APP_SECRET=your_app_secret_here

Then run with no args:

npx -y @paulczar/sigen-api-mcp

CLI args take precedence over env vars. The AppKey/AppSecret are optional — if omitted, cloud_history will try password-based Northbound auth as a fallback.

Note: The AppKey/AppSecret auth path is not as thoroughly tested as the regular user/password auth. Most tools work with user/pass only — stick with that unless you specifically need cloud_history.

MCP client config

{
  "mcpServers": {
    "sigen-api-mcp": {
      "command": "npx",
      "args": ["-y", "@paulczar/sigen-api-mcp", "--cloud-user", "[email protected]", "--cloud-pass", "your-password"]
    }
  }
}

Tools

| Tool | Description | |------|-------------| | cloud_station_info | Station details: PV/battery capacity, serial numbers, on-grid status, location | | cloud_energy_flow | Real-time energy flow: PV production, load, battery charge/discharge, grid import/export | | cloud_operational_modes | List available EMS modes and their descriptions | | cloud_current_mode | Current active EMS mode with parameters | | cloud_history | Historical daily energy data (requires Northbound API AppKey/AppSecret — experimental) | | cloud_smart_loads | Smart load / diversion device status | | cloud_alarms | Alarm list with severity, type, and timestamp |

Authentication

Two separate auth systems are used depending on the endpoint:

| Auth | Endpoints | Method | |------|-----------|--------| | SigenCloud API (user) | Most read tools | OAuth2 password grant with AES-encrypted password | | Northbound API (developer) | cloud_history | AppKey:AppSecret via /openapi/auth/login/key, or password fallback |

For the SigenCloud API, your password is encrypted client-side using the app secret before being sent over HTTPS. Credentials are never stored — they're held in memory for the session lifetime.

For the Northbound API, provide an AppKey and AppSecret (from your developer app registration). If omitted but cloud_history is called, it falls back to password-based Northbound auth using your SigenCloud credentials. See docs/sigencloud-api.md for developer app setup instructions.

Experimental: The AppKey/AppSecret path works for auth and basic endpoints (mode switching, query settings), but cloud_history in particular has shown inconsistent results during testing — some calls return data, others return "Access restriction" errors. User/pass auth for the core tools is the well-tested path.

License

MIT