Skip to content
Back to search
90
MCP live MCP 2026-07-28 streamable-http

Token Counter

com.apished/token-counter

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

Watch this dependency Share evidence report
Uptime
80.0%
5 direct probes · 30d
Response
286ms
last probe
Tools
1
callable
Resources
0
readable
Prompts
0
available
Score: 90/100
Handshake verified by our own probe.
pass Answers the MCP handshake 50/50
The handshake and the list calls succeeded on the primary URL.
pass Lists tools, resources or prompts 30/30
1 tools, 0 resources, 0 prompts returned.
partial 3 or more catalogue items 0/10
1 item in total; 3 or more earns these points.
How to earn +10 points
Expose at least three tools, resources or prompts
Split a catch-all tool into focused ones, or publish your docs and templates as resources and prompts.
Docs →
pass Describes itself 10/10
86 characters; more than 30 earns these points.

Tools · 1

tokens_count

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.

How to use

Claude Desktop or claude.ai: add a custom connector (Customize → Connectors; on Team and Enterprise plans an owner adds it under Organization settings → Connectors) with this server URL: https://apished.com/mcp/v1/tokens

Cursor or Cline: add to your MCP config:

{
  "mcpServers": {
    "token_counter": {
      "url": "https://apished.com/mcp/v1/tokens",
      "transport": "streamable-http"
    }
  }
}