ai-rate-limit-tracker
Cloudflare Workers MCP server: ai-rate-limit-tracker
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~317Token(工具定義)
~580 B典型回應大小
極小的注意力影響(128k 上下文的 0.25%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"ai-rate-limit-tracker": {
"url": "https://api.lazy-mac.com/ai-rate-limit-tracker/mcp"
}
}
}遠端端點
https://api.lazy-mac.com/ai-rate-limit-tracker/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢get_provider_limits(provider, model)
Get published rate limit specs (RPM, TPM, RPD, context window) for an AI provider and optional model.
輸入結構描述
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"description": "openai | anthropic | gemini | groq | cohere | mistral | together | deepseek"
},
"model": {
"type": "string",
"description": "Model name (optional)"
}
},
"required": [
"provider"
]
}🟢list_providers
List all AI providers supported by the tracker with their models and default limits.
輸入結構描述
{
"type": "object",
"properties": {},
"required": []
}🟢track_usage(api_key, provider, model, tokens_used, latency_ms)
Record an AI API call and get real-time usage counters plus warnings if approaching limits.
輸入結構描述
{
"type": "object",
"properties": {
"api_key": {
"type": "string",
"description": "Your tracker API key"
},
"provider": {
"type": "string"
},
"model": {
"type": "string"
},
"tokens_used": {
"type": "integer"
},
"latency_ms": {
"type": "integer"
}
},
"required": [
"api_key",
"provider"
]
}🟢get_forecast(api_key, provider, model, rate_rpm)
Forecast when rate limits will be exhausted and get scheduling recommendations.
輸入結構描述
{
"type": "object",
"properties": {
"api_key": {
"type": "string"
},
"provider": {
"type": "string"
},
"model": {
"type": "string"
},
"rate_rpm": {
"type": "number",
"description": "Your actual request rate (requests/min)"
}
},
"required": [
"api_key",
"provider"
]
}社群
證據
近期觀測
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具