obs_record_token_usage
sessionId, inputTokens, outputTokens, model
How to use it
obs_record_token_usage is exposed by the Agent Observability MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the obs_record_token_usage tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Agent Observability
$
npx agent-obs@latest setupOther tools in Agent Observability (5)