Serveur MCP

zero-core-budget

io.github.meltingpixelsai/zero-core-budget

Ce que fait ce MCP

Registers agents, enforces spending limits, checks proposed expenditures, records spend, and reports ROI and budget usage.

check_spend
Pre-spend budget approval check. Verifies daily/weekly/category limits, estimates ROI from historical data, and suggests cheaper alternatives. Call this BEFORE paying for any service.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['agent_id', 'service_id', 'amount_usd', 'category'], 'properties': {'agent_id': {'type': 'string', 'description': 'Your agent identifier (must be registered first)'}, 'category': {'enum': ['security', 'trading', 'social', 'content', 'data', 'infrastructure', 'other'], 'type': 'string', 'description': 'Spending category'}, 'amount_usd': {'type': 'number', 'minimum': 0, 'description': "Amount you're about to spend in USD"}, 'service_id': {'type': 'string', 'description': "Service you want to pay for (e.g. 'harvey-tools/scrape_url')"}}, 'additionalProperties': False}
get_spending_report
Detailed spending analytics report. Returns total spent, category breakdown, top services with ROI, and optimization recommendations. Use to understand spending patterns and find inefficiencies.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['agent_id', 'period'], 'properties': {'period': {'enum': ['day', 'week', 'month'], 'type': 'string', 'description': 'Report period'}, 'agent_id': {'type': 'string', 'description': 'Your agent identifier'}}, 'additionalProperties': False}
health
Check Harvey Budget server status, uptime, and payment network configuration.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
list_tools
List all available Harvey Budget tools with pricing and input requirements. Use this for discovery.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}, 'additionalProperties': False}
register_agent
Register an agent with daily and weekly budget limits. Free tool - call this before using check_spend or report_spend. Upserts if agent already exists.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['agent_id', 'daily_limit_usd', 'weekly_limit_usd'], 'properties': {'agent_id': {'type': 'string', 'description': 'Unique agent identifier (e.g. your wallet address or agent name)'}, 'category_limits': {'type': 'object', 'description': 'Optional per-category weekly limits (e.g. {security: 1.0, content: 2.0})', 'additionalProperties': {'type': 'number'}}, 'daily_limit_usd': {'type': 'number', 'maximum': 10000, 'minimum': 0.001, 'description': 'Maximum daily spending in USD'}, 'weekly_limit_usd': {'type': 'number', 'maximum': 100000, 'minimum': 0.001, 'description': 'Maximum weekly spending in USD'}}, 'additionalProperties': False}
report_spend
Record a completed spend with optional outcome tracking. Call this AFTER paying for a service to track spending and build ROI history.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['agent_id', 'service_id', 'amount_usd', 'category'], 'properties': {'agent_id': {'type': 'string', 'description': 'Your agent identifier'}, 'category': {'enum': ['security', 'trading', 'social', 'content', 'data', 'infrastructure', 'other'], 'type': 'string', 'description': 'Spending category'}, 'amount_usd': {'type': 'number', 'minimum': 0, 'description': 'Amount spent in USD'}, 'service_id': {'type': 'string', 'description': 'Service that was used'}, 'value_received': {'type': 'string', 'description': 'Description of value received'}, 'outcome_success': {'type': 'boolean', 'description': 'Whether the service call succeeded'}}, 'additionalProperties': False}
Ajouté
get_spending_report
17 September 2026 12:45
Ajouté
report_spend
17 September 2026 12:45
Ajouté
check_spend
17 September 2026 12:45
Ajouté
register_agent
17 September 2026 12:45
Ajouté
health
17 September 2026 12:45
Ajouté
list_tools
17 September 2026 12:45