PluginBench
MCP Server

Token Counter MCP Server

com.apished/token-counter

What is the Token Counter MCP server?

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

How to install Token Counter

Copy-paste configuration for popular MCP clients.

transport: http
Config generated by PluginBench — verify against the source before use.
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "token-counter": {
      "url": "https://apished.com/mcp/v1/tokens"
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "token-counter": {
      "serverUrl": "https://apished.com/mcp/v1/tokens"
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "token-counter": {
      "type": "http",
      "url": "https://apished.com/mcp/v1/tokens"
    }
  }
}
Claude Desktop
Claude Desktop connects to remote servers via the mcp-remote bridge.
{
  "mcpServers": {
    "token-counter": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://apished.com/mcp/v1/tokens"
      ]
    }
  }
}
Claude Code
claude mcp add --transport http token-counter https://apished.com/mcp/v1/tokens

Related MCP servers

Validates PESEL/NIP/REGON/IBAN/Luhn/ISBN/EAN/SWIFT-BIC/VAT; RPN calc, date math, hashing, tokens

Validates Luhn, IBAN, ISBN, EAN/UPC, SWIFT/BIC, and EU VAT checksums and formats.

Date arithmetic: day differences, business days, age, leap years, day-of-week, add/subtract.

Computes MD5, SHA1, SHA256, SHA512, and CRC32 digests from text, base64, or hex input.

Validates Polish PESEL, NIP, and REGON checksums; PESEL also decodes birth date and sex.

Regex matching, email/URL format validation, and JSON Schema validation.