Docs & AI · Official remote MCP server

The Token Counter MCP server,
connected in one click.

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

Use this server

Add Token Counter to your AI in one minute

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/tokens

Run in your terminal, then restart Claude Code.

Token Counter · https://apished.com/mcp/v1/tokens

What you can do

What your AI can do with Token Counter

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.

Security check

How secure is the Token Counter MCP server?

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.

A100/100

Security grade A

gate scanned 1 tools on Sep 3, 2026 for prompt injection and risky tool definitions — nothing to flag.

Verified directory serverToken Counter · apished.com

Official endpoint

Operated by Token Counter (apished.com) at its documented MCP endpoint — not a third-party mirror or community re-host.

No sign-in needed

This server only exposes public data — no account and no credentials are involved when you connect.

Scanned before it goes live

gate checks every tool for prompt injection, hidden instructions, data-exfiltration hints, and over-broad permissions before the server is available through your gateway.

Watched for drift

If Token Counter adds or changes tools later, gate re-scans and alerts you — before your AI acts on the change.

How it works

Connected in three steps

01

Connect your gate

Add one gateway URL to Claude, ChatGPT, or any MCP client. One-time setup, about two minutes.

02

Pick Token Counter

Choose Token Counter in the gate directory. No sign-in needed.

03

Use it anywhere

Token Counter's tools are live in every AI client you've connected — with rules and logging built in.

Connect Token Counter free

Free to start · No credit card · No hosting needed

Straight from the server

The actual tools Token Counter exposes

Fetched live from the official endpoint and re-checked daily by gate — not marketing copy.

tokens_countCounts tokens under an OpenAI-compatible (tiktoken) encoding. Provide exactly one of model (e.g. "gpt-4o") or encoding ("o200k_base" or "cl1

Author

Who runs the Token Counter MCP server?

Server facts

The Token Counter MCP server at a glance

Endpointhttps://apished.com/mcp/v1/tokens
Operated byToken Counter (apished.com)
CategoryDocs & AI
Sign-inNone — public data only
Available in gateYes — one-click connect
Works withClaude, ChatGPT, Cursor & any MCP client
FAQ

Questions, answered

Is there an official Token Counter MCP server?

Yes — 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.

How do I connect Token Counter to Claude or ChatGPT?

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.

Do I need to host anything?

No. Token Counter runs the server, and gate is fully managed. You just connect one URL — there's nothing to install, deploy, or maintain.

Is the Token Counter MCP server safe to connect?

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.

Is it free?

Yes — you can get started with gate for free and connect Token Counter in minutes. No credit card required.

More servers

Connect more than just Token Counter

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

Give your AI Token Counter — safely.

One URL. All MCPs. Full control. Free to start.

Get started free