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

tako-mcp

v1.0.0

Published

MCP server for Octopus Energy API

Readme

tako-mcp

Octopus Energy Japan GraphQL API の MCP サーバー。

電力の使用量・コスト見積、契約情報、料金プランなどを MCP ツール経由で取得できます。Claude をはじめとする LLM でのエネルギー使用状況の分析に活用できます。

特徴

  • 30分単位の電力消費量・コスト見積の取得
  • アカウント・契約情報の取得(プロダクト・基本料金含む)
  • 郵便番号からのエリア情報検索
  • プライバシー重視: 住所等の個人情報はツールレスポンスから除外

必要条件

  • Node.js 22+
  • Octopus Energy Japan のアカウント(メールアドレス・パスワード)

使い方

デフォルトは stdio トランスポートで動作します。

[email protected] OCTOPUS_PASSWORD=your-password OCTOPUS_ACCOUNT_NUMBER=A-AAAA1111 npx tako-mcp

HTTP モード

--http フラグで Streamable HTTP トランスポートに切り替えられます。

[email protected] OCTOPUS_PASSWORD=your-password OCTOPUS_ACCOUNT_NUMBER=A-AAAA1111 npx tako-mcp --http

PORT 未指定時は空きポートが自動選択されます。

環境変数

| 変数名 | 必須 | 説明 | |---|---|---| | OCTOPUS_EMAIL | Yes | Octopus Energy Japan のログインメールアドレス | | OCTOPUS_PASSWORD | Yes | Octopus Energy Japan のログインパスワード | | OCTOPUS_ACCOUNT_NUMBER | Yes | アカウント番号(例: A-AAAA1111) | | PORT | No | HTTP モード時のポート番号(デフォルト: 自動選択) |

MCP ツール一覧

| ツール | 説明 | 認証 | |---|---|---| | get_account_info | アカウント・契約情報(プロダクト・基本料金含む、住所は除外) | 必要 | | get_electricity_consumption | 30分単位の電力消費量・コスト見積 | 必要 | | get_postal_areas | 郵便番号からエリア情報を検索 | 不要 |

クライアント設定

Claude Desktop / Claude Code

{
  "mcpServers": {
    "tako-mcp": {
      "command": "npx",
      "args": ["-y", "tako-mcp"],
      "env": {
        "OCTOPUS_EMAIL": "[email protected]",
        "OCTOPUS_PASSWORD": "your-password",
        "OCTOPUS_ACCOUNT_NUMBER": "A-AAAA1111"
      }
    }
  }
}

HTTP モード

{
  "mcpServers": {
    "tako-mcp": {
      "type": "http",
      "url": "http://localhost:<port>/mcp"
    }
  }
}

開発

npm install
npm run dev        # tsx で起動
npm run build      # tsup でバンドル
npm run typecheck  # 型チェック
npm run check      # Lint & フォーマット (Biome)

ライセンス

MIT