mcp-registry/io.github.lazymac2x/ai-token-counter · v2.0.0
As of 2026-10-21 10:53 UTC, the Lazymac2x Ai Token Counter MCP server is up with a Glimind reliability score of 95/100 (grade A). Over the last 30 days it answered 100% of Glimind's liveness checks. It had 1 outage in 90 days, with a median recovery of 8 minutes.
Cloudflare Workers MCP server: ai-token-counter
Claude Code
claude mcp add --transport http lazymac2x-ai-token-counter-mcp-server https://api.lazy-mac.com/ai-token-counter/mcp
Claude Desktop · Windsurf · Cline (mcpServers JSON)
{
"mcpServers": {
"lazymac2x-ai-token-counter-mcp-server": {
"type": "http",
"url": "https://api.lazy-mac.com/ai-token-counter/mcp"
}
}
}
Third-party server, listed as discovered. Review its source before installing.
4 of 4 tool(s) carry no readOnlyHint/destructiveHint annotations.
Annotate read-only tools with {"readOnlyHint": true}. Agents and gateways can then run them without a confirmation prompt, and route around destructive ones. How to fix →
Negotiates MCP 2024-11-05. Structured output, tool output schemas and elicitation arrived in 2025-06-18.
Upgrade the MCP SDK and negotiate 2025-06-18 or newer. How to fix →
No tool declares an outputSchema.
Declare outputSchema and return structuredContent (MCP 2025-06-18+). Agents can then parse results without guessing, and chain tools reliably. How to fix →
Paste-ready definitions with the problems above fixed. Changes marked verify need a human look. All of them as JSON: /v1/readiness/mcp-registry%2Fio.github.lazymac2x%2Fai-token-counter/fixes
{
"name": "count_tokens",
"description": "Count tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).",
"inputSchema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Plain text to count tokens for."
},
"model": {
"type": "string",
"description": "Model ID, e.g. gpt-4o, claude-sonnet-4. Defaults to gpt-4o."
},
"messages": {
"type": "array",
"items": {
"type": "object"
},
"description": "Chat messages array in OpenAI/Anthropic format."
}
}
},
"annotations": {
"readOnlyHint": true
}
}{
"name": "estimate_cost",
"description": "Estimate the cost of an AI API call given model and token counts or text. Returns input/output/total cost and optional monthly projection.",
"inputSchema": {
"type": "object",
"required": [
"model"
],
"properties": {
"text": {
"type": "string",
"description": "Text to tokenize for input (if input_tokens not given)."
},
"model": {
"type": "string",
"description": "Model ID, e.g. gpt-4o, claude-opus-4, gemini-2.0-flash."
},
"input_tokens": {
"type": "integer",
"description": "Number of input tokens."
},
"output_tokens": {
"type": "integer",
"description": "Number of output tokens."
},
"requests_per_day": {
"type": "number",
"description": "If given, adds daily/monthly/yearly cost projection."
}
}
},
"annotations": {
"readOnlyHint": true
}
}{
"name": "get_model_pricing",
"description": "Get input/output pricing per 1M tokens for a specific AI model.",
"inputSchema": {
"type": "object",
"required": [
"model"
],
"properties": {
"model": {
"type": "string",
"description": "Model ID, e.g. gpt-4o, claude-haiku-3, llama-3-70b."
}
}
},
"annotations": {
"readOnlyHint": true
}
}Get an email or webhook when this server's readiness drops by 10+ points, tool-poisoning text appears, or a tool breaks:
curl -X POST https://glimind.com/v1/subscriptions -H 'content-type: application/json' -d '{"tools":["mcp-registry/io.github.lazymac2x/ai-token-counter"],"email":"[email protected]"}'Agents: watch_tool({"toolId": "mcp-registry/io.github.lazymac2x/ai-token-counter"}) over MCP.
estimate_cost ~194 tokenscount_tokens ~140 tokensget_model_pricing ~75 tokenslist_models ~44 tokensStatic checks of the advertised tools/list (schema, descriptions, annotations, tool-poisoning patterns, names, size) plus observed protocol, uptime, latency and contract changes. Read-only: no tool is ever called. Weights: schema 15, docs 20, safety 15, efficiency 15, compatibility 15, protocol 5, reliability 10, stability 5. Token counts are estimates (~3.6 characters per token).
Operator? Fix these, then re-check live. Embed the readiness badge:
[](https://glimind.com/server/mcp-registry%2Fio.github.lazymac2x%2Fai-token-counter?ref=badge)
<a href="https://glimind.com/server/mcp-registry%2Fio.github.lazymac2x%2Fai-token-counter?ref=badge"><img src="https://glimind.com/v1/readiness/badge/mcp-registry%2Fio.github.lazymac2x%2Fai-token-counter.svg" alt="MCP agent-readiness"></a>
.. image:: https://glimind.com/v1/readiness/badge/mcp-registry%2Fio.github.lazymac2x%2Fai-token-counter.svg :target: https://glimind.com/server/mcp-registry%2Fio.github.lazymac2x%2Fai-token-counter?ref=badge :alt: MCP agent-readiness
Glimind records every version of this server's tool definitions in a signed, append-only transparency log. Current manifest sha256:4a705e7c9b441ab1…, first seen 2026-10-17, included at leaf 16374 of 39,099. Version history · verify what your client received.
Compare: most reliable ml servers · most reliable finance servers
Glimind tells agents whether a server is up right now and how to call it, then fails over to a live alternative when it isn't.
Claude Code
claude mcp add --transport http glimind https://glimind.com/mcp
Claude Desktop · Windsurf · Cline (mcpServers JSON)
{
"mcpServers": {
"glimind": {
"type": "http",
"url": "https://glimind.com/mcp"
}
}
}
As of 2026-10-21 10:53 UTC, the Lazymac2x Ai Token Counter MCP server is up with a Glimind reliability score of 95/100 (grade A). Over the last 30 days it answered 100% of Glimind's liveness checks. It had 1 outage in 90 days, with a median recovery of 8 minutes.
Lazymac2x Ai Token Counter MCP server advertises 4 tools, including count_tokens, estimate_cost, get_model_pricing, list_models.
Point your MCP client at this streamable-http endpoint: https://api.lazy-mac.com/ai-token-counter/mcp
Glimind scanned all 4 tool definitions for tool-poisoning patterns — hidden or invisible characters, instructions that override the model, concealment from the user, requests to read credential or MCP config files, conversation exfiltration and cross-tool shadowing — and found none. This checks what the server tells the model, not what its code does; review the source before granting access to sensitive data.
Status page: 90-day uptime, every outage and how long it lasted.
Claim this listing to get the Verified operator marker, a remediation checklist and owner analytics, or embed the live badge from any of the tool pages above. Maintainers: alerts, deploy attestation and monthly reports.
Status is an automated estimate from Glimind's liveness checks (handshake and tool listing only; no tool is ever called) and may lag or differ from your network. Glimind is not affiliated with this server or its operator. Operator? Request a correction or opt out at https://glimind.com/opt-out.