API Payload Auditor
Official4 toolsby lazymac2x
Cloudflare Workers MCP server: api-payload-auditor
Audits API payloads for security issues and data integrity.
Captured live from the server via tools/list.
payload_analyze
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).
Parameters (1)
- payloadobjectrequired
JSON API response payload to analyze
field_prune_suggest
Identify and suggest unnecessary fields for removal from a JSON payload. Flags debug/temp/internal/deprecated fields, null values, empty arrays, and _ prefix fields.
Parameters (2)
- payloadobjectrequired
JSON payload to audit for bloat
- thresholdnumber
Importance threshold 0-100 (default 60). Fields scored below this are flagged.
bandwidth_cost_calc
Calculate cloud API egress bandwidth costs for a given payload size and monthly traffic. Returns cost at 25%, 50%, and 75% reduction scenarios.
Parameters (3)
- payloadSizeBytesnumberrequired
Payload size in bytes
- monthlyRequestsnumber
Monthly API request volume (default 1,000,000)
- regionstring
Cloud region: us, eu, ap, sa, af, me, or AWS region codes
compare_payloads
Compare an original payload to an optimized version. Returns size reduction %, removed field paths, and depth change.
Parameters (2)
- originalobjectrequired
Original (before optimization) payload
- optimizedobjectrequired
Optimized (after pruning) payload
README not available yet.
Install
Remote endpoint
Streamable HTTPHosted server - connect over the network, no local install.
https://api.lazy-mac.com/api-payload-auditor/mcpclaude_desktop_config.json
{
"mcpServers": {
"api-payload-auditor": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.lazy-mac.com/api-payload-auditor/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.