TokenTally by Harlo
v0.1.0Count tokens (o200k/cl100k), truncate to a budget, chunk text for RAG and estimate LLM cost.
Endpoint health
online- Last checked
- 11/20/2026, 10:15:43 AM
- Latency
- 105 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:dev.workers.mike-tusa.tokentally%2Ftokentally
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"dev.workers.mike-tusa.tokentally/tokentally": {
"url": "https://tokentally.mike-tusa.workers.dev/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
4 shown · authentication unknown
Chunk text for RAG
chunk_text
Split text into token-bounded chunks on paragraph/sentence boundaries with character offsets, token counts and optional overlap.
Schema valid · SHA-256 f087a4c254a7…
View input schema
{ "type": "object", "properties": { "text": { "type": "string", "description": "Text (≤256 KB). URLs are not fetched." }, "chunk_tokens": { "type": "integer" }, "overlap_tokens": { "type": "integer" }, "encoding": { "type": "string", "enum": [ "o200k_base", "cl100k_base" ] }, "model": { "type": "string" } }, "required": [ "text" ] }Count tokens
count_tokens
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.
Schema valid · SHA-256 cdcda809435e…
View input schema
{ "type": "object", "properties": { "text": { "type": "string", "description": "Text (≤256 KB). URLs are not fetched." } }, "required": [ "text" ] }
Connections
streamable-http
https://tokentally.mike-tusa.workers.dev/mcp