io.github.lazymac2x/ai-token-counter
Cloudflare Workers MCP server: ai-token-counter
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/lazymac2x/ai-token-counter-api
- Server address
https://api.lazy-mac.com/ai-token-counter/mcp(streamable-http)- Version
- 1.0.0
- Author
- lazymac2x (namespace verified by the registry)
- Source
- Official MCP registry (updated May 16, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Claude Code
In a terminal:
claude mcp add --transport http ai-token-counter https://api.lazy-mac.com/ai-token-counter/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://api.lazy-mac.com/ai-token-counter/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://api.lazy-mac.com/ai-token-counter/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"ai-token-counter": {
"url": "https://api.lazy-mac.com/ai-token-counter/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"ai-token-counter": {
"type": "http",
"url": "https://api.lazy-mac.com/ai-token-counter/mcp"
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 09:56 (test run by L’Atlas)
- Response time
- 373 ms (whole test)
- Tools found
- 4
- Announced name
- ai-token-counter 2.0.0
- Protocol
- MCP 2024-11-05
- Next test
- Dec 5, 2026
See the tools (4)
count_tokens
Count tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).estimate_cost
Estimate the cost of an AI API call given model and token counts or text. Returns input/output/total cost and optional monthly projection.get_model_pricing
Get input/output pricing per 1M tokens for a specific AI model.list_models
List all supported AI models with their pricing and context windows.
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.lazymac2x/ai-token-counter · L’Agora · Tested on
[io.github.lazymac2x/ai-token-counter — L’Agora](https://lagora.dev/en/entry/io.github.lazymac2x/ai-token-counter)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.lazymac2x/ai-token-counter)HTML
<a href="https://lagora.dev/en/entry/io.github.lazymac2x/ai-token-counter"><img src="https://lagora.dev/badge/io.github.lazymac2x/ai-token-counter.svg?lang=en" alt="io.github.lazymac2x/ai-token-counter on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.lazymac2x/smart-data-extractor Responds
io.github.lazymac2x/interactive-api-playground Responds
io.github.lazymac2x/graphql-rest-bridge Responds