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.
textrequiredmodelencodingcom.apishedPublished by apished.comOfficial publisherv1.0.0Updated Oct 24, 2026
Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.
The publisher's own server: APIShed
Lets an assistant count tokens for text using OpenAI-compatible tiktoken encodings, chosen by model name or encoding name.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/com.apished%2Ftoken-counter/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"token-counter": {
"type": "http",
"url": "https://apished.com/mcp/v1/tokens"
}
}
}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.
textrequiredmodelencoding83% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.
A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.
com.apishedOfficial publisher
APIShed is a remote utility server giving an assistant deterministic helpers for validation, encoding, hashing, date math, regex, CSV and network CIDR work.
com.apishedOfficial publisher
Remote MCP server with one tool that returns the real current date and time in a chosen format and IANA timezone.
com.apishedOfficial publisher
A remote MCP server that lets an assistant generate cryptographically random integers within a chosen range.
com.apishedOfficial publisher
A remote MCP server with seven small text utilities: character lookup, counting, reversal, palindrome checks, sorting, word counts and text statistics.
com.apishedOfficial publisher
A remote MCP server that evaluates Reverse Polish Notation (postfix) expressions, letting an assistant compute arithmetic, trig, logarithms and bitwise results.