Search / io.github.lazymac2x/ai-token-counter
ai-token-counter
not classifiedCloudflare Workers MCP server: ai-token-counter
v1.0.0 · active · repository · descriptor JSON · versions
Search / io.github.lazymac2x/ai-token-counter
Cloudflare Workers MCP server: ai-token-counter
v1.0.0 · active · repository · descriptor JSON · versions
{
"mcpServers": {
"ai-token-counter": {
"type": "http",
"url": "https://api.lazy-mac.com/ai-token-counter/mcp"
}
}
}claude mcp add --transport http ai-token-counter https://api.lazy-mac.com/ai-token-counter/mcp[mcp_servers.ai-token-counter]
url = "https://api.lazy-mac.com/ai-token-counter/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"ai-token-counter": {
"type": "remote",
"url": "https://api.lazy-mac.com/ai-token-counter/mcp",
"enabled": true
}
}
}{
"mcpServers": {
"ai-token-counter": {
"type": "http",
"url": "https://api.lazy-mac.com/ai-token-counter/mcp"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=ai-token-counter&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYXBpLmxhenktbWFjLmNvbS9haS10b2tlbi1jb3VudGVyL21jcCJ9"
}{
"servers": {
"ai-token-counter": {
"type": "http",
"url": "https://api.lazy-mac.com/ai-token-counter/mcp"
}
}
}{
"mcpServers": {
"ai-token-counter": {
"httpUrl": "https://api.lazy-mac.com/ai-token-counter/mcp"
}
}
}extensions:
"ai-token-counter":
enabled: true
name: "ai-token-counter"
type: streamable_http
uri: "https://api.lazy-mac.com/ai-token-counter/mcp"
timeout: 300
protocol.modernnewest supported version is 2024-11-05; 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: count_tokens (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); estimate_cost (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); get_model_pricing (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …tools.token_costabout 368 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.
+repository +namespace-matches-repo -unreachable(1 failures) ~updated-157d-ago
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://api.lazy-mac.com/ai-token-counter/mcp streamable-http | none | no (1 failures) | 96% | 241 ms | 2024-11-05 | 2026-10-19 |
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. |
Schemas: list_tools.
And 48 more from this publisher.
{
"name": "io.github.lazymac2x/ai-token-counter",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
"remotes": [
{
"url": "https://api.lazy-mac.com/ai-token-counter/mcp",
"type": "streamable-http"
}
],
"version": "1.0.0",
"repository": {
"url": "https://github.com/lazymac2x/ai-token-counter-api",
"source": "github"
},
"description": "Cloudflare Workers MCP server: ai-token-counter"
}