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 个工具