Agent Cost Allocator MCP — multi-tenant LLM cost attribution for chargeback billing. Companion to agent-token-budget. Splits one agent's spend across many tenants for invoicing. By MEOK AI Labs.
Project description
Agent Cost Allocator MCP
🧱 Part of the MEOK A2A Substrate (£499/mo)
See meok.ai/a2a.
Multi-tenant LLM cost attribution for chargeback billing
The product
Splits one agent's spend across many tenants for chargeback billing. Without cost attribution, agentic SaaS providers can't bill customer A for £X and customer B for £Y based on real LLM usage. This MCP solves that with a signed per-tenant ledger.
Companion to agent-token-budget-mcp (per-session caps) — that MCP stops spending, this one attributes it back.
Tools
| Tool | Purpose |
|---|---|
open_ledger(ledger_id?, currency, period_label?) |
New monthly ledger |
record_charge(ledger_id, tenant_id, model, input/output_tokens, product_code?) |
Record one billable call |
tenant_chargeback_summary(ledger_id, tenant_id) |
Signed invoice-ready summary |
full_ledger_summary(ledger_id) |
Grand total + tenant ranking |
product_breakdown(ledger_id, product_code) |
Per-product COGS across all tenants |
list_ledgers() |
All open ledgers |
Use cases
- Multi-tenant agent SaaS — bill customer-level usage
- Internal IT cross-charging across departments
- Reseller white-label — split MEOK gateway costs across resellers' customers
- Customer support COGS — "agent used £X across N tickets for customer Y"
- Per-product economics — "compliance-scan costs us £0.04/call, sells for £0.50, gross margin 92%"
Sister MCPs
Part of the MEOK A2A pack:
agent-token-budget-mcp— caps spend per sessionbft-progress-council-mcp— halts loopsagent-rate-limiter-mcp— throttle callsagent-audit-logger-mcp— hash-chained logagent-commerce-protocol-mcp— Stripe ACP for invoicing the chargebacks
Full catalogue: meok.ai/anthropic-registry
Protocol coverage + Universal PAYG
| Option | Price |
|---|---|
| Self-host MIT | £0 |
| Universal PAYG | £29/mo + £0.0002/call |
| A2A Substrate | £499/mo |
| Universe | £1,499/mo |
| Defence | £4,990/mo |
Buy: https://meok.ai/a2a
Licence
MIT. By MEOK AI Labs (CSOAI LTD, UK Companies House 16939677).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_cost_allocator_mcp-1.0.1.tar.gz.
File metadata
- Download URL: agent_cost_allocator_mcp-1.0.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc42cb170f5ee53c12fc97541e7cd6f9249d6f38120fedf1d2b554a07bb27f0f
|
|
| MD5 |
69289cdcf912f9d007155cfe704f7488
|
|
| BLAKE2b-256 |
1f175d22dfb02d15f5ad520c18aa781efcfeb553777e5474574f827d2a767215
|
File details
Details for the file agent_cost_allocator_mcp-1.0.1-py3-none-any.whl.
File metadata
- Download URL: agent_cost_allocator_mcp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74da355987e13a83bd2cda99175f5706fd336ae17a9754dc001bd15ca72a8cfa
|
|
| MD5 |
053e99e515d75a3762bd381a896d51d8
|
|
| BLAKE2b-256 |
e66c9f252ba1da885b1065c33a218ec9070eaaab5c082d11b483a294381abaf6
|