io.github.lazymac2x/api-response-cost-analyzer
Official4 toolsby lazymac2x · JavaScript
Cloudflare Workers MCP server: api-response-cost-analyzer
Analyzes API response sizes and associated computational costs.
Captured live from the server via tools/list.
analyze_response
Analyze API response content and estimate token count
Parameters (1)
- contentstring | objectrequired
API response content
estimate_cost
Estimate API response cost for a specific LLM model
Parameters (3)
- contentstring | objectrequired
API response content
- modelstringrequired
Model ID (gpt-4, claude-3.5-sonnet, etc)
- input_tokensnumber
Optional input token count
compare_models
Compare API response costs across multiple LLM models
Parameters (3)
- contentstring | objectrequired
API response content
- input_tokensnumber
Optional input token count
- modelsarray
Array of model IDs to compare
optimize_payload
Get optimization suggestions to reduce API response cost
Parameters (1)
- contentstring | objectrequired
API response content
README not available yet.
Install
claude_desktop_config.json
{
"mcpServers": {
"api-response-cost-analyzer": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.lazy-mac.com/api-response-cost-analyzer/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.