api-payload-auditor

Cloudflare Workers MCP server: api-payload-auditor

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
100%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~404Tokens (tool definitions)
~722 BTypical response size
Minimal attention impact (0.32% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

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

Remote endpoints

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

What it can do

Tool inventory

Tools (4)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢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).

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

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

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded4 tools
verifiedversion not recorded4 tools
verifiedversion not recorded4 tools