MCP-Server

api-response-cost-analyzer

io.github.lazymac2x/api-response-cost-analyzer
Entwicklertools Öffentlich und erreichbar MCP 2026-07-28

Was dieses MCP kann

Estimates token and LLM costs for API responses, compares models, and suggests payload optimizations.

analyze_response
Analyze API response content and estimate token count
Eingabeschema
{'type': 'object', 'required': ['content'], 'properties': {'content': {'type': ['string', 'object'], 'description': 'API response content'}}}
compare_models
Compare API response costs across multiple LLM models
Eingabeschema
{'type': 'object', 'required': ['content'], 'properties': {'models': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Array of model IDs to compare'}, 'content': {'type': ['string', 'object'], 'description': 'API response content'}, 'input_tokens': {'type': 'number', 'description': 'Optional input token count'}}}
estimate_cost
Estimate API response cost for a specific LLM model
Eingabeschema
{'type': 'object', 'required': ['content', 'model'], 'properties': {'model': {'type': 'string', 'description': 'Model ID (gpt-4, claude-3.5-sonnet, etc)'}, 'content': {'type': ['string', 'object'], 'description': 'API response content'}, 'input_tokens': {'type': 'number', 'description': 'Optional input token count'}}}
optimize_payload
Get optimization suggestions to reduce API response cost
Eingabeschema
{'type': 'object', 'required': ['content'], 'properties': {'content': {'type': ['string', 'object'], 'description': 'API response content'}}}
Hinzugefügt
optimize_payload
17. September 2026 12:43
Hinzugefügt
compare_models
17. September 2026 12:43
Hinzugefügt
estimate_cost
17. September 2026 12:43
Hinzugefügt
analyze_response
17. September 2026 12:43