protogrid

Search / io.github.lazymac2x/ai-token-counter

ai-token-counter

not classified

Cloudflare Workers MCP server: ai-token-counter

v1.0.0 · active · repository · descriptor JSON · versions

Not classified yet.The remote endpoints have not been probed successfully, or the listing has nothing to connect to.
Quality79good
Trust65of 100
Uptime, 30 days96%
Latency p50241 ms

Connect

8 clients · secrets stay placeholders
{
  "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

Quality 79 / 100good

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2024-11-05; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene71 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • fail
    tools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
  • fail
    tools.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); …
  • pass
    tools.token_costabout 368 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
stability100 · weight 15
  • pass
    stability.changesno tool changes in 30 days
  • pass
    stability.rug_pullno tool changed its meaning under the same name
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

4 tools, about 368 tokens to load them all · tool set cce2e4728e27 · checked 2026-10-20 12:45 UTC

Tool changes

No 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.

Trust 65 / 100

provenance80
liveness28
freshness65
hygiene100

+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.

Endpoints

remoteauthreachableuptime 30dp50protocollast ok
https://api.lazy-mac.com/ai-token-counter/mcp streamable-httpnoneno (1 failures)96%241 ms2024-11-052026-10-19

Tools (4)

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.

Schemas: list_tools.

Similar MCP servers

More from io.github.lazymac2x

And 48 more from this publisher.

Official server.json
{
  "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"
}