lazymac2x avatar

Api Response Cost Analyzer

lazymac2x/api-response-cost-analyzer-api

The repository is essentially empty with no README or documentation visible, so we're working with the name alone here. This appears to be a tool for analyzing API responses to estimate token costs, likely helping you understand how expensive different API calls will be before you rack up a bill. Deployed as a Cloudflare Worker and accessible via streamable HTTP transport, it presumably takes API response data and calculates associated token usage or cost metrics. Without source code or documentation available, it's hard to say what specific APIs it supports or what format it expects, but the concept is straightforward: point it at API responses and get cost breakdowns. Useful if you're budgeting LLM API usage or trying to optimize expensive calls.

tools
4
transport
HTTP
last updated
May 16, 2026

Install

From registry metadata
$ npx add-mcp https://api.lazy-mac.com/api-response-cost-analyzer/mcp --name api-response-cost-analyzer

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http api-response-cost-analyzer https://api.lazy-mac.com/api-response-cost-analyzer/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 4 tools

Verified live against the running server on Nov 6, 2026.

analyze_responseAnalyze API response content and estimate token count1 params

Analyze API response content and estimate token count

Parameters* required
content*string | object
API response content
estimate_costEstimate API response cost for a specific LLM model3 params

Estimate API response cost for a specific LLM model

Parameters* required
content*string | object
API response content
input_tokensnumber
Optional input token count
model*string
Model ID (gpt-4, claude-3.5-sonnet, etc)
compare_modelsCompare API response costs across multiple LLM models3 params

Compare API response costs across multiple LLM models

Parameters* required
content*string | object
API response content
input_tokensnumber
Optional input token count
modelsarray
Array of model IDs to compare
optimize_payloadGet optimization suggestions to reduce API response cost1 params

Get optimization suggestions to reduce API response cost

Parameters* required
content*string | object
API response content

Sponsors

Readme

Details

Repository
github.com/lazymac2x/api-response-cost-analyzer-api
Category
Cloud & Infrastructure
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 6, 2026

More from lazymac2x

Related Cloud & Infrastructure MCP servers

View all
1lazymac2x avatarApi Schema Drift Detectorlazymac2x/api-schema-drift-detector-apiCloudflare Workers MCP server: api-schema-drift-detector0stars
2lazymac2x avatarBloglazymac2x/blog-apiCloudflare Workers MCP server: blog0stars
3lazymac2x avatarCitation Verifierlazymac2x/citation-verifier-apiCloudflare Workers MCP server: citation-verifier0stars
4lazymac2x avatarClaude Skill Validatorlazymac2x/claude-skill-validator-apiCloudflare Workers MCP server: claude-skill-validator0stars
5lazymac2x avatarCode Explainerlazymac2x/code-explainer-apiCloudflare Workers MCP server: code-explainer0stars
6lazymac2x avatarCode Pattern Risk Scannerlazymac2x/code-pattern-risk-scanner-apiCloudflare Workers MCP server: code-pattern-risk-scanner0stars