agent-cost-mcp-server
A community MCP server that enables agents and developers to estimate, budget, and compare the cost of LLM work before and during execution. It provides tools to calculate model spend, compare models based on success rates, record spend to a local JSON ledger, and check budget status without requiring external API keys or network calls.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Estimate the cost of an LLM run before execution
- Compare models ranked by expected cost per successful task
- Record spend to a local JSON ledger
- Check if a task has exceeded its defined budget
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
agent-cost-mcp-server 0.1.1
{
"version": "0.1.1",
"transport": "stdio",
"identifier": "agent-cost-mcp-server",
"registryType": "pypi",
"environmentVariables": [
{
"name": "AGENT_COST_LEDGER_PATH",
"format": "filepath",
"description": "Optional path for the local spend-ledger file used by record_spend / budget_status."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"agent-cost-mcp-server": {
"command": "uvx",
"args": [
"agent-cost-mcp-server==0.1.1"
],
"env": {
"AGENT_COST_LEDGER_PATH": "<YOUR_AGENT_COST_LEDGER_PATH>"
}
}
}
}Cline
{
"mcpServers": {
"agent-cost-mcp-server": {
"command": "uvx",
"args": [
"agent-cost-mcp-server==0.1.1"
],
"env": {
"AGENT_COST_LEDGER_PATH": "<YOUR_AGENT_COST_LEDGER_PATH>"
}
}
}
}VS Code
{
"servers": {
"agent-cost-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"agent-cost-mcp-server==0.1.1"
],
"env": {
"AGENT_COST_LEDGER_PATH": "<YOUR_AGENT_COST_LEDGER_PATH>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"agent-cost-mcp-server": {
"command": "uvx",
"args": [
"agent-cost-mcp-server==0.1.1"
],
"env": {
"AGENT_COST_LEDGER_PATH": "<YOUR_AGENT_COST_LEDGER_PATH>"
}
}
}
}Let your agent find its tools
Find servers like agent-cost-mcp-server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.