api-payload-auditor

Cloudflare Workers MCP server: api-payload-auditor

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
100%
命名品質
80%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~404Token(工具定義)
~722 B典型回應大小
極小的注意力影響(128k 上下文的 0.32%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "api-payload-auditor": {
      "url": "https://api.lazy-mac.com/api-payload-auditor/mcp"
    }
  }
}

遠端端點

https://api.lazy-mac.com/api-payload-auditor/mcpstreamable-http

它能做什麼

工具清單

工具(4)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢payload_analyze(payload)

Analyze a JSON API response payload structure — field count, size in bytes, max nesting depth, type distribution, null field count, and redundancy signals (empty arrays, null values).

輸入結構描述

{
  "type": "object",
  "properties": {
    "payload": {
      "type": "object",
      "description": "JSON API response payload to analyze"
    }
  },
  "required": [
    "payload"
  ]
}
⚪field_prune_suggest(payload, threshold)

Identify and suggest unnecessary fields for removal from a JSON payload. Flags debug/temp/internal/deprecated fields, null values, empty arrays, and _ prefix fields.

輸入結構描述

{
  "type": "object",
  "properties": {
    "payload": {
      "type": "object",
      "description": "JSON payload to audit for bloat"
    },
    "threshold": {
      "type": "number",
      "description": "Importance threshold 0-100 (default 60). Fields scored below this are flagged."
    }
  },
  "required": [
    "payload"
  ]
}
🟢bandwidth_cost_calc(payloadSizeBytes, monthlyRequests, region)

Calculate cloud API egress bandwidth costs for a given payload size and monthly traffic. Returns cost at 25%, 50%, and 75% reduction scenarios.

輸入結構描述

{
  "type": "object",
  "properties": {
    "payloadSizeBytes": {
      "type": "number",
      "description": "Payload size in bytes"
    },
    "monthlyRequests": {
      "type": "number",
      "description": "Monthly API request volume (default 1,000,000)"
    },
    "region": {
      "type": "string",
      "description": "Cloud region: us, eu, ap, sa, af, me, or AWS region codes"
    }
  },
  "required": [
    "payloadSizeBytes"
  ]
}
⚪compare_payloads(original, optimized)

Compare an original payload to an optimized version. Returns size reduction %, removed field paths, and depth change.

輸入結構描述

{
  "type": "object",
  "properties": {
    "original": {
      "type": "object",
      "description": "Original (before optimization) payload"
    },
    "optimized": {
      "type": "object",
      "description": "Optimized (after pruning) payload"
    }
  },
  "required": [
    "original",
    "optimized"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具