io.github.lazymac2x/ai-token-counter
up checked
Unclaimed · Unverified
Agent searches it appeared in, last 30 days: 0. Run this server? Claim the listing: verified label, uptime alerts and analytics.
Publisher-provided description
Cloudflare Workers MCP server: ai-token-counter
Summary by lookupd
Count tokens in text or chat messages, estimate AI API call costs, and look up model pricing and context windows.
Install
Claude Code, remote (streamable-http)
claude mcp add --transport http ai-token-counter https://api.lazy-mac.com/ai-token-counter/mcp
Codex, remote (streamable-http)
codex mcp add ai-token-counter --url https://api.lazy-mac.com/ai-token-counter/mcp
Cursor, remote (streamable-http) → .cursor/mcp.json
{
"mcpServers": {
"ai-token-counter": {
"url": "https://api.lazy-mac.com/ai-token-counter/mcp"
}
}
}Other clients: docs. Or tell your agent: Set up lookupd for me: read https://lookupd.com/agent.md and follow it.
Tools (4 tools)
Publisher-provided text
count_tokensCount tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).estimate_costEstimate 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_pricingGet input/output pricing per 1M tokens for a specific AI model.list_modelsList all supported AI models with their pricing and context windows.
Details
- Version: 1.0.0
- Transports: streamable-http
- Uptime (7 days): 100%
- Median latency: 601 ms
- First indexed:
- Last seen in registry:
- Repository: https://github.com/lazymac2x/ai-token-counter-api
Badge for your README
Shows this live status and links here; updates hourly.
[](https://lookupd.com/servers/io.github.lazymac2x/ai-token-counter)
- 62092 servers
- Last crawl: 2026-11-11T17:38:11.606Z
- API base:
https://api.lookupd.com - MCP URL:
https://api.lookupd.com/mcp