Token Counter is an MCP server published by com.apished, hosted at apished.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 1 tool, including tokens_count.
Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.
30 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
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 tokenizer.
| Parameter | Type | Description |
|---|---|---|
| text * | string | |
| model | string | e.g. gpt-4o; exactly one of model/encoding |
| encoding | string | o200k_base or cl100k_base; exactly one of model/encoding |
{
"name": "tokens_count",
"description": "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 tokenizer.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
},
"model": {
"type": "string",
"description": "e.g. gpt-4o; exactly one of model/encoding"
},
"encoding": {
"type": "string",
"description": "o200k_base or cl100k_base; exactly one of model/encoding"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"tokens"
],
"properties": {
"tokens": {
"type": "integer"
},
"encoding": {
"type": "string"
}
},
"additionalProperties": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.