api-response-cost-analyzer

Cloudflare Workers MCP server: api-response-cost-analyzer

使うべきか

品質と安全性

A
説明の品質
85%
スキーマの完全性
100%
命名の品質
85%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(2)

  • LOWTool 'estimate_cost' description lacks action verbestimate_cost 内
  • LOWTool 'compare_models' description lacks action verbcompare_models 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~290トークン数(ツール定義)
~649 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.23%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "api-response-cost-analyzer": {
      "url": "https://api.lazy-mac.com/api-response-cost-analyzer/mcp"
    }
  }
}

リモートエンドポイント

https://api.lazy-mac.com/api-response-cost-analyzer/mcpstreamable-http

できること

ツール一覧

ツール(4)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢analyze_response(content)

Analyze API response content and estimate token count

入力スキーマ

{
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "object"
      ],
      "description": "API response content"
    }
  },
  "required": [
    "content"
  ]
}
⚪estimate_cost(content, model, input_tokens)

Estimate API response cost for a specific LLM model

入力スキーマ

{
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "object"
      ],
      "description": "API response content"
    },
    "model": {
      "type": "string",
      "description": "Model ID (gpt-4, claude-3.5-sonnet, etc)"
    },
    "input_tokens": {
      "type": "number",
      "description": "Optional input token count"
    }
  },
  "required": [
    "content",
    "model"
  ]
}
⚪compare_models(content, input_tokens, models)

Compare API response costs across multiple LLM models

入力スキーマ

{
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "object"
      ],
      "description": "API response content"
    },
    "input_tokens": {
      "type": "number",
      "description": "Optional input token count"
    },
    "models": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of model IDs to compare"
    }
  },
  "required": [
    "content"
  ]
}
🟢optimize_payload(content)

Get optimization suggestions to reduce API response cost

入力スキーマ

{
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "object"
      ],
      "description": "API response content"
    }
  },
  "required": [
    "content"
  ]
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件
検証済みバージョンは記録されていませんツール 4 件
検証済みバージョンは記録されていませんツール 4 件