Skip to content

Feature: Token reporting usage #46

Open
@fmunteanu

Description

@fmunteanu

First, thank you for the great product, it works wonders. I was wondering if is possible to implement a token reporting usage, on each prompt? Something like Zed does, see 13/200k screenshot.

Image

Claude's Suggested Implementation

My ask:

Please review https://github.com/rusiaaman/wcgw and determine if is possible to implement a token reporting usage, within Claude Desktop:
* Add logging within the wcgw Python code (e.g., in `/src/wcgw/client/mcp_server`)
* Estimate token counts locally using a tokenizer (e.g., Anthropic’s tokenizer or a compatible one) for inputs and outputs processed through the MCP
* Output the usage result into each Claude Desktop conversation prompt

Image

As a side note, it might be beneficial to enable Discussions into your repository, for general questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions