# ai-token-counter MCP server

Cloudflare Workers MCP server: ai-token-counter

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-lazymac2x-ai-token-counter
- Repository: https://github.com/lazymac2x/ai-token-counter-api

## Install
- Endpoint: https://api.lazy-mac.com/ai-token-counter/mcp
- Auth: Not captured

## Setup notes
- Remote endpoint: https://api.lazy-mac.com/ai-token-counter/mcp

## Tools
- count_tokens - Count tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama). Endpoint: https://api.lazy-mac.com/ai-token-counter/mcp
- 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. Endpoint: https://api.lazy-mac.com/ai-token-counter/mcp
- get_model_pricing - Get input/output pricing per 1M tokens for a specific AI model. Endpoint: https://api.lazy-mac.com/ai-token-counter/mcp
- list_models - List all supported AI models with their pricing and context windows. Endpoint: https://api.lazy-mac.com/ai-token-counter/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.lazymac2x
- Version: 1.0.0
- Runtime: Streamable Http
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: May 16, 2026
- Source: https://registry.modelcontextprotocol.io
