TokenTally by Harlo is an MCP server published by dev.workers.mike-tusa.tokentally, hosted at tokentally.mike-tusa.workers.dev. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 4 tools, including count_tokens, truncate_to_budget, chunk_text, estimate_cost.
Count tokens (o200k/cl100k), truncate to a budget, chunk text for RAG and estimate LLM cost.
29 connections through 4 shared values. Tap any node.
Count tokens for text in o200k_base and cl100k_base side by side, plus approximate Claude/Gemini/Llama counts with method notes. OpenAI counts (o200k_base, cl100k_base) are exact for those tokenizers. Claude, Gemini and Llama counts are APPROXIMATE (proxy encoding; real tokenizers differ, often by 10-20%, and newer Claude tokenizers by ~30% or more). Cost estimates use a dated price table (prices_as_of 2026-10-27) and are estimates, not live billing. Stateless: text is not stored or logged; no URL fetching. Max input is 256 KB. A single unbroken run of characters near that cap may hit a CPU timeout (503); normal text at the cap is supported.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text (≤256 KB). URLs are not fetched. |
{
"name": "count_tokens",
"title": "Count tokens",
"description": "Count tokens for text in o200k_base and cl100k_base side by side, plus approximate Claude/Gemini/Llama counts with method notes. OpenAI counts (o200k_base, cl100k_base) are exact for those tokenizers. Claude, Gemini and Llama counts are APPROXIMATE (proxy encoding; real tokenizers differ, often by 10-20%, and newer Claude tokenizers by ~30% or more). Cost estimates use a dated price table (prices_as_of 2026-10-27) and are estimates, not live billing. Stateless: text is not stored or logged; no URL fetching. Max input is 256 KB. A single unbroken run of characters near that cap may hit a CPU timeout (503); normal text at the cap is supported.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text (≤256 KB). URLs are not fetched."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": 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.
Inferred from the host name and headers: what a server runs on, not who runs it.
Truncate text to max_tokens (keep start or end) for an encoding or model.
| Parameter | Type | Description |
|---|---|---|
| keep | string | one of ["start","end"] |
| text * | string | Text (≤256 KB). URLs are not fetched. |
| model | string | |
| encoding | string | one of ["o200k_base","cl100k_base"] |
| max_tokens * | integer |
{
"name": "truncate_to_budget",
"title": "Truncate to token budget",
"description": "Truncate text to max_tokens (keep start or end) for an encoding or model.",
"inputSchema": {
"type": "object",
"required": [
"text",
"max_tokens"
],
"properties": {
"keep": {
"enum": [
"start",
"end"
],
"type": "string"
},
"text": {
"type": "string",
"description": "Text (≤256 KB). URLs are not fetched."
},
"model": {
"type": "string"
},
"encoding": {
"enum": [
"o200k_base",
"cl100k_base"
],
"type": "string"
},
"max_tokens": {
"type": "integer"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Split text into token-bounded chunks on paragraph/sentence boundaries with character offsets, token counts and optional overlap.
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text (≤256 KB). URLs are not fetched. |
| model | string | |
| encoding | string | one of ["o200k_base","cl100k_base"] |
| chunk_tokens | integer | |
| overlap_tokens | integer |
{
"name": "chunk_text",
"title": "Chunk text for RAG",
"description": "Split text into token-bounded chunks on paragraph/sentence boundaries with character offsets, token counts and optional overlap.",
"inputSchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text (≤256 KB). URLs are not fetched."
},
"model": {
"type": "string"
},
"encoding": {
"enum": [
"o200k_base",
"cl100k_base"
],
"type": "string"
},
"chunk_tokens": {
"type": "integer"
},
"overlap_tokens": {
"type": "integer"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Estimate USD cost per model from text or input_tokens plus output_tokens using a dated price table (prices_as_of 2026-10-27). Estimates, not live billing.
| Parameter | Type | Description |
|---|---|---|
| text | string | Text (≤256 KB). URLs are not fetched. |
| models | array | |
| input_tokens | integer | |
| output_tokens | integer |
{
"name": "estimate_cost",
"title": "Estimate LLM cost",
"description": "Estimate USD cost per model from text or input_tokens plus output_tokens using a dated price table (prices_as_of 2026-10-27). Estimates, not live billing.",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text (≤256 KB). URLs are not fetched."
},
"models": {
"type": "array",
"items": {
"type": "string"
}
},
"input_tokens": {
"type": "integer"
},
"output_tokens": {
"type": "integer"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}TokenTally counts tokens for text across o200k_base and cl100k_base side by side, truncates text to a token budget, chunks text for RAG on paragraph/sentence boundaries with offsets, and estimates cost per model. OpenAI counts (o200k_base, cl100k_base) are exact for those tokenizers. Claude, Gemini and Llama counts are APPROXIMATE (proxy encoding; real tokenizers differ, often by 10-20%, and newer Claude tokenizers by ~30% or more). Cost estimates use a dated price table (prices_as_of 2026-10-27) and are estimates, not live billing. Stateless: text is not stored or logged; no URL fetching. Max input is 256 KB. A single unbroken run of characters near that cap may hit a CPU timeout (503); normal text at the cap is supported.
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.