Argus API Spend
Track API spend, credit balances and runway across OpenAI, Anthropic, OpenRouter and 25 more.
我該用這個嗎
品質與安全性
發現項目(7)
- HIGH
- MEDIUM在 list_available_providers 中
- LOW在 get_overview 中
- LOW在 get_provider 中
- LOW在 get_advisories 中
- LOW在 get_cost_accuracy 中
- LOW在 sync_connection 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"argus": {
"url": "https://api.argus.town/mcp"
}
}
}遠端端點
https://api.argus.town/mcpstreamable-http它能做什麼
工具清單
工具(10)
🟢list_connections
List the org's connected providers and status.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢get_overview
Cross-provider rollup: balance, burn rate, days-to-zero, month-to-date spend, projection, rate-limit headroom.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢get_provider(connectionId)
Full metrics + rate-limit snapshots for one connection id.
輸入結構描述
{
"type": "object",
"properties": {
"connectionId": {
"type": "string"
}
},
"required": [
"connectionId"
]
}🟢get_rate_limit_status
Latest rate-limit headroom and error rate across the org's providers.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢get_advisories
All current advisories (top-up, upgrade, near-limit, spend-spike) across providers.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢get_cost_accuracy
Cost-accuracy state per provider: whether itemized costs are exact, estimated, or unreconciled, with the drift % between Argus's itemized total and the provider's own reported spend.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢get_request_costs(provider, limit)
Recent itemized per-request costs for a provider (model, tokens, cost in USD, provenance). Args: provider (string), limit (number, default 25, max 100).
輸入結構描述
{
"type": "object",
"properties": {
"provider": {
"type": "string",
"description": "Provider id, e.g. 'openrouter'"
},
"limit": {
"type": "number"
}
},
"required": [
"provider"
]
}🟢list_available_providers
Providers that can be connected with an API key (poll plane). Anything else can still be tracked by sending telemetry — see https://argus.town/docs/ingest.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢connect_provider(provider, secret, credential_type, label)
Connect a provider to THIS project with a credential. Validates the credential against the provider before storing it (encrypted), then queues the initial sync. Args: provider (id from list_available_providers), secret (the provider API key), credential_type (optional), label (optional). Only pass secrets your operator gave you for this purpose.
輸入結構描述
{
"type": "object",
"properties": {
"provider": {
"type": "string"
},
"secret": {
"type": "string"
},
"credential_type": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"provider",
"secret"
]
}⚪sync_connection(connection_id)
Queue an immediate balance/usage/plan refresh for one connection. Args: connection_id.
輸入結構描述
{
"type": "object",
"properties": {
"connection_id": {
"type": "string"
}
},
"required": [
"connection_id"
]
}社群
證據