Skip to main content
Glama

Cloudzero Model Context Protocol Server

by burkestar

Cloudzero モデルコンテキストプロトコル (MCP) サーバー

大規模言語モデル (LLM) から Cloudzero のクラウド コスト データを参照します。

月ごとの差異をプロットするなど、コスト データについて質問します。

月間差分

仕組み

CloudZero v2 APIモデルコンテキストプロトコルMCP を使用します。

Claude DesktopでMCPサーバーが設定されると、起動時にバックグラウンドプロセスとして起動されます。MCPホストであるClaude Desktopは、MCPサーバーにinitiatizeリクエストを送信します。サーバーは、 promptsやツール呼び出し用のtoolsなどの機能で応答します。

サーバーは、CloudZero 固有のツールをいくつか実装しています。

  • get_costs``start_dateからend_dateまでの請求データを取得します。
  • 請求ディメンションのget_dimensions
  • 予算を一覧表示するにはlist_budgets使用します
  • list_insightsでインサイトを一覧表示する

MCP プロトコルは、リクエストとレスポンスに JSON-RPC 2.0 を使用します。

設定

Claude Desktopをインストールします:

uvをインストールする

プロジェクトの依存関係を設定します。

uv init uv sync

CloudZero API キーを生成します。

.envを次のように編集します。

CLOUDZERO_API_KEY=YOUR_SECRET_KEY

インストール

MCP サーバーを Claude Desktop にインストールするには:

uv run mcp install server.py

claude_desktop_config.jsonを編集して、 uvコマンドへの適切なパスを設定し、以下のようにUSERNAMEを更新します。

この設定ファイルは、Claude Desktop のSettings > Developer > Edit Configにあります。

"CloudZero": { "command": "/Users/USERNAME/.local/bin/uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "/Users/USERNAME/workspace/open_source/cloudzero-mcp/server.py" ] }

Claude Desktopを再起動してください。Desktopが起動すると、バックグラウンドでサーバープロセスが起動します。エラーが表示される場合がありますが、ログを確認して問題の原因を特定できます。

エラーがない場合は、「クラウド課金に使用できるツールは何ですか」と質問して、リストを確認してください。

利用可能なツール

詳細については、 Claude Desktop MCP のドキュメントを参照してください。

デバッグ

デバッグの場合、対話型 GUI を使用して MCP 開発サーバーを実行し、次の点を検査できます。

uv run mcp dev server.py

これは、Claude Desktop を継続的に再起動することなく、コード内のバグをトラブルシューティングするのに役立ちます。

MCP検査官

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

ユーザーが大規模言語モデルを通じて自然言語を使用して Cloudzero からクラウド コスト データを照会および分析できるようにするサーバー。

  1. 仕組み
    1. 設定
      1. インストール
        1. デバッグ

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            The server facilitates natural language interactions for exploring and understanding codebases, providing insights into data models and system architecture using a cost-effective, simple setup with support for existing Claude Pro subscriptions.
            Last updated -
            4
            18
            Python
            • Apple
          • A
            security
            A
            license
            A
            quality
            A command-line interface and API that allows users to analyze and visualize AWS cloud spending data by enabling Claude to query AWS Cost Explorer through natural language conversations.
            Last updated -
            4
            121
            Python
            MIT License
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            A server that enables LLMs like Claude to interact with Azure Cosmos DB databases through natural language queries, acting as a translator between AI assistants and database systems.
            Last updated -
            4
            2
            JavaScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            A server that enables LLMs (like Claude and VSCode Copilot) to interact with Azure Cosmos DB data through natural language queries, acting as a translator between AI assistants and your database.
            Last updated -
            3
            5
            1
            TypeScript
            MIT License
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/burkestar/cloudzero-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server