api-response-cost-analyzer

Cloudflare Workers MCP server: api-response-cost-analyzer

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
85%
Vollständigkeit des Schemas
100%
Qualität der Benennung
85%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (2)

  • LOWTool 'estimate_cost' description lacks action verbin estimate_cost
  • LOWTool 'compare_models' description lacks action verbin compare_models

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~290Tokens (Tool-Definitionen)
~649 BTypische Antwortgröße
Minimale Auswirkung auf die Aufmerksamkeit (0.23% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "api-response-cost-analyzer": {
      "url": "https://api.lazy-mac.com/api-response-cost-analyzer/mcp"
    }
  }
}

Remote-Endpunkte

https://api.lazy-mac.com/api-response-cost-analyzer/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (4)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢analyze_response(content)

Analyze API response content and estimate token count

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "object"
      ],
      "description": "API response content"
    }
  },
  "required": [
    "content"
  ]
}
⚪estimate_cost(content, model, input_tokens)

Estimate API response cost for a specific LLM model

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "object"
      ],
      "description": "API response content"
    },
    "model": {
      "type": "string",
      "description": "Model ID (gpt-4, claude-3.5-sonnet, etc)"
    },
    "input_tokens": {
      "type": "number",
      "description": "Optional input token count"
    }
  },
  "required": [
    "content",
    "model"
  ]
}
⚪compare_models(content, input_tokens, models)

Compare API response costs across multiple LLM models

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "object"
      ],
      "description": "API response content"
    },
    "input_tokens": {
      "type": "number",
      "description": "Optional input token count"
    },
    "models": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of model IDs to compare"
    }
  },
  "required": [
    "content"
  ]
}
🟢optimize_payload(content)

Get optimization suggestions to reduce API response cost

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "object"
      ],
      "description": "API response content"
    }
  },
  "required": [
    "content"
  ]
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet4 Tools
verifiziertVersion nicht aufgezeichnet4 Tools