Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name. Connect the official Token Counter MCP server to Claude, ChatGPT, or Cursor through gate — one gateway URL, no config files, security-checked.
Free to start · No credit card · No hosting needed
Pick your client. Copy, paste, done — or let gate handle sign-ins and policies for you.
claude mcp add --transport http token-counter https://apished.com/mcp/v1/tokensRun in your terminal, then restart Claude Code.
Token Counter · https://apished.com/mcp/v1/tokens
Real prompts you can type the moment it's connected — no setup, no docs to read.
“Use “tokens_count”: Counts tokens under an OpenAI-compatible (tiktoken) encoding. Provide exactly one of model (e.g. "gpt-4o") or encoding ("o200k_base" or "cl1.”
Every server in the gate directory has to pass the same four checks before your AI can touch it. Here's how Token Counter holds up.
gate scanned 1 tools on Sep 3, 2026 for prompt injection and risky tool definitions — nothing to flag.
Operated by Token Counter (apished.com) at its documented MCP endpoint — not a third-party mirror or community re-host.
This server only exposes public data — no account and no credentials are involved when you connect.
gate checks every tool for prompt injection, hidden instructions, data-exfiltration hints, and over-broad permissions before the server is available through your gateway.
If Token Counter adds or changes tools later, gate re-scans and alerts you — before your AI acts on the change.
Add one gateway URL to Claude, ChatGPT, or any MCP client. One-time setup, about two minutes.
Choose Token Counter in the gate directory. No sign-in needed.
Token Counter's tools are live in every AI client you've connected — with rules and logging built in.
Free to start · No credit card · No hosting needed
Fetched live from the official endpoint and re-checked daily by gate — not marketing copy.
tokens_count — Counts tokens under an OpenAI-compatible (tiktoken) encoding. Provide exactly one of model (e.g. "gpt-4o") or encoding ("o200k_base" or "cl1
https://apished.com/mcp/v1/tokensYes — Token Counter operates its own remote MCP server at apished.com. gate connects you to that official endpoint and adds security scanning, per-tool access rules, and an activity log on top.
Add gate's gateway URL to your AI client once, then pick Token Counter in the directory. No account or sign-in is needed. From then on, Token Counter's tools are available in every client you've connected to gate.
No. Token Counter runs the server, and gate is fully managed. You just connect one URL — there's nothing to install, deploy, or maintain.
It's the vendor's official endpoint, and gate scans its tools for prompt injection and hidden instructions before it goes live, re-checks it whenever it changes, and lets you allow, block, or require approval for every single tool.
Yes — you can get started with gate for free and connect Token Counter in minutes. No credit card required.
Every server below works through the same gateway URL — connect once, add tools anytime.
Set up Token Counter in: Claude · Claude Code · ChatGPT · Cursor · VS Code