CostMCP exposes MCP tools so Cursor, Claude, ChatGPT, and other agents can log costs and query spend.

Transports

Local stdioRemote HTTP
Package / pathpackages/mcp-serverhttps://mcp.costmcp.com
AuthCOSTMCP_API_KEYOAuth cmcp_at_... or API key
Tools45 (+ get_monthly_summary)
Best forCursor / Claude DesktopHosted agents needing OAuth
Agent URL: paste https://mcp.costmcp.com into ChatGPT / Claude / Cursor remote MCP configs.

Tool summary

ToolPermissionPurpose
log_usagelog_usageRecord usage events
add_expenseadd_expensesLog purchases / invoices
get_project_spendread_summariesProject drill-down
get_budget_statusread_summariesBudget remaining
get_monthly_summaryread_summariesMonthly rollup (remote only)

Safety defaults

  • ✅ Log usage, add expenses, read summaries, estimate (reserved)
  • ❌ Delete records, bulk export, change billing settings

Local stdio

Cursor / Claude Desktop config

Remote HTTP

OAuth-protected https://mcp.costmcp.com