mcpserver.lol
registry/token-counter
Connection check verified live · 20h ago

token-counter

Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.

Tools 1
GitHub stars
Installs / wk
Licence
Transport streamable-http
Last checked 20h ago

Tools & capabilities

1 tool

Read from the running server on 20h ago.

tokens_count text*modelencoding
Counts tokens under an OpenAI-compatible (tiktoken) encoding. Provide exactly one of model (e.g. "gpt-4o") or encoding ("o200k_base" or "cl100k_base"). No Claude/Anthropic tokenize…