mcpField
T

Token Counter

Remote
apished.comAI & Agents

About Token Counter

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

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://apished.com/mcp/v1/tokens
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

1
ParameterTypeRequiredDescription
textstringYes
modelstringNoe.g. gpt-4o; exactly one of model/encoding
encodingstringNoo200k_base or cl100k_base; exactly one of model/encoding

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.