ai-budget-planner
Cloudflare Workers MCP server: ai-budget-planner
我該用這個嗎
品質與安全性
A
根據工具定義與協定合規性的自動化分析。
上下文成本
~504Token(工具定義)
~690 B典型回應大小
極小的注意力影響(128k 上下文的 0.39%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"ai-budget-planner": {
"url": "https://api.lazy-mac.com/ai-budget-planner/mcp"
}
}
}遠端端點
https://api.lazy-mac.com/ai-budget-planner/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟡create_budget(name, department, monthly_limit_usd, providers, api_key)
Create a monthly LLM budget allocation for a team or department
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Human-readable budget name"
},
"department": {
"type": "string",
"description": "Department or team name"
},
"monthly_limit_usd": {
"type": "number",
"description": "Monthly spend cap in USD"
},
"providers": {
"type": "array",
"items": {
"type": "string"
},
"description": "LLM providers to track: openai, anthropic, google, mistral, cohere"
},
"api_key": {
"type": "string",
"description": "API key for the request"
}
},
"required": [
"name",
"monthly_limit_usd"
]
}🟢get_budget(budget_id, api_key)
Get current utilisation, spend breakdown by provider, and alert status for a budget
輸入結構描述
{
"type": "object",
"properties": {
"budget_id": {
"type": "string",
"description": "Budget ID from create_budget (format: bgt_xxx)"
},
"api_key": {
"type": "string",
"description": "API key for the request"
}
},
"required": [
"budget_id"
]
}🟢get_budget_alerts(budget_id, api_key)
List all threshold alerts triggered for a budget (50%, 75%, 90%, 100%)
輸入結構描述
{
"type": "object",
"properties": {
"budget_id": {
"type": "string",
"description": "Budget ID"
},
"api_key": {
"type": "string",
"description": "API key for the request"
}
},
"required": [
"budget_id"
]
}🟢weekly_report(department, provider, api_key)
Get a 7-day LLM spend digest broken down by department and provider
輸入結構描述
{
"type": "object",
"properties": {
"department": {
"type": "string",
"description": "Filter by department name (optional)"
},
"provider": {
"type": "string",
"description": "Filter by provider name (optional)"
},
"api_key": {
"type": "string",
"description": "API key for the request"
}
}
}🟢department_report(department, api_key)
Get month-to-date spend, utilisation, and alert status per department
輸入結構描述
{
"type": "object",
"properties": {
"department": {
"type": "string",
"description": "Filter to a single department (optional)"
},
"api_key": {
"type": "string",
"description": "API key for the request"
}
}
}🟢list_providers
List supported LLM providers, their models, and blended cost estimates per 1M tokens
輸入結構描述
{
"type": "object",
"properties": {}
}社群
證據
近期觀測
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具
已驗證未記錄版本6 個工具