Search / com.apished/token-counter
Token Counter
not classifiedCounts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.
v1.0.0 · active · website · descriptor JSON · versions
Search / com.apished/token-counter
Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name.
v1.0.0 · active · website · descriptor JSON · versions
{
"mcpServers": {
"token-counter": {
"type": "http",
"url": "https://apished.com/mcp/v1/tokens"
}
}
}claude mcp add --transport http token-counter https://apished.com/mcp/v1/tokens[mcp_servers.token-counter]
url = "https://apished.com/mcp/v1/tokens"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"token-counter": {
"type": "remote",
"url": "https://apished.com/mcp/v1/tokens",
"enabled": true
}
}
}{
"mcpServers": {
"token-counter": {
"type": "http",
"url": "https://apished.com/mcp/v1/tokens"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=token-counter&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYXBpc2hlZC5jb20vbWNwL3YxL3Rva2VucyJ9"
}{
"servers": {
"token-counter": {
"type": "http",
"url": "https://apished.com/mcp/v1/tokens"
}
}
}{
"mcpServers": {
"token-counter": {
"httpUrl": "https://apished.com/mcp/v1/tokens"
}
}
}extensions:
"token-counter":
enabled: true
name: "token-counter"
type: streamable_http
uri: "https://apished.com/mcp/v1/tokens"
timeout: 300
protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28protocol.statelessonly applies to 2026-07-28 serversprotocol.transportstreamable HTTPprotocol.list_ttlonly applies to 2026-07-28 serversauth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky onestools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: tokens_count (readOnlyHint, destructiveHint, idempotentHint, openWorldHint)tools.token_costabout 123 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changesno tool changes in 30 daysstability.rug_pullno tool changed its meaning under the same namedeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+dns-namespace +website -unreachable(2 failures) ~updated-63d-ago -no-repository
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://apished.com/mcp/v1/tokens streamable-http | none | no (2 failures) | 92% | 476 ms | 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05 | 2026-10-19 |
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. |
Schemas: list_tools.
And 4 more from this publisher.
{
"name": "com.apished/token-counter",
"title": "Token Counter",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://apished.com/mcp/v1/tokens",
"type": "streamable-http"
}
],
"version": "1.0.0",
"websiteUrl": "https://apished.com",
"description": "Counts tokens under OpenAI-compatible (tiktoken) encodings, by model or encoding name."
}