Skip to content

ai-token-counter MCP server

io.github.lazymac2x/ai-token-counterlazymac2xstreamable-httpv1.0.0Scanned

Cloudflare Workers MCP server: ai-token-counter

4 tools: 1 change things and 3 only read.

Tools: 0 delete, 0 irreversible, 1 write, 3 read.
  • Reads private data · 1
  • Reads text others write · 1
  • Can send data out · 0
  • No findings

Tools listed without sign-in. Remote posture

Anlyon alternative

1 of these tools change something. Run those as governed actions.

Declare what an action changes, and Anlyon puts it under a shared limit, binds every approval to the exact request, and grades the outcome. It works on any HTTPS API you can describe as an action.

Anlyon Radar does not run, proxy or govern this MCP server. A tool your own code calls directly is not routed through Anlyon and is not governed by it.

Import an OpenAPI spec →

What the ai-token-counter MCP server can do

The ai-token-counter MCP server is published by the GitHub account lazymac2x. It has 4 tools. It can create or change data (1 tool: estimate_cost), but cannot delete data. 3 tools only read.

1 tool reads private data (count_tokens); 1 tool brings in text other people can write (count_tokens).

None of the fixed checks matched anything in its tool definitions. That is not a safety guarantee.

Its remote endpoint lists its tools without sign-in.

Last scanned Nov 21, 2026, version 1.0.0.

Tools

Grouped by what each tool does, most consequential first. Open one for its reasons and full description; descriptions are the publisher's own words.

4 tools

Changes things 1Claude Code: ask
  • estimate_costEstimate the cost of an AI API call given model and token counts or text.No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    Description, as the server wrote it
    Estimate the cost of an AI API call given model and token counts or text. Returns input/output/total cost and optional monthly projection.
Only reads 3Show 3 read-only tools
  • count_tokensCount tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).Reads private dataReads text others writeNo findings

    Why it is in this group

    • The name "count_tokens" says "count": a word for reading.

    What it can reach

    • private-dataThe description's first sentence says "count" and "chat": it reads messages.
    • untrusted-inputThe description's first sentence says "count" and "chat": it reads messages, which other people can write.
    Description, as the server wrote it
    Count tokens for a text string or chat messages array for any supported AI model (GPT-4o, Claude, Gemini, Mistral, Llama).
  • get_model_pricingGet input/output pricing per 1M tokens for a specific AI model.No findings

    Why it is in this group

    • The name "get_model_pricing" says "get": a word for reading.
    Description, as the server wrote it
    Get input/output pricing per 1M tokens for a specific AI model.
  • list_modelsList all supported AI models with their pricing and context windows.No findings

    Why it is in this group

    • The name "list_models" says "list": a word for reading.
    Description, as the server wrote it
    List all supported AI models with their pricing and context windows.

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Exfil surface

Which tools read private data, which read text someone else can write, and which can send data out. One of each is a path a prompt injection can use.

No private-data, untrusted-input, outbound path in this server alone: no tool is tagged outbound.

Reads private data1
Reads files, mail, messages, databases, secrets, calendars or repositories.
Reads text others write1
Brings in text someone else can write: web pages, inbound email, messages, issues and comments.
Can send data out0
Can carry data to people or systems: it sends, posts or publishes, or takes a recipient, channel or URL.

Other servers in the same agent add their own tools to these paths. Audit your whole setup to see them together.

Remote posture

What anyone on the internet sees at the remote endpoint: an anonymous initialize and tools/list, and the public OAuth metadata.

Tools listed without sign-in

Looked at Nov 20, 2026, 19:28 UTC, unchanged since Oct 22, 2026. No credentials were sent and no tool was called. What is looked at.

Reachable
yes
HTTP status of an anonymous initialize
200
tools/list served without credentials
yes
Tools that change things, listed without credentials
1
Protocol version
2024-11-05
WWW-Authenticate on 401
not observed
resource_metadata in WWW-Authenticate
not observed
RFC 9728 protected resource metadata
https://api.lazy-mac.com/.well-known/oauth-protected-resource/ai-token-counter/mcp
Authorization servers
not observed
Legacy HTTP+SSE transport
no
Dynamic client registration
not observed
Client ID metadata documents
not observed
  • WarnThe whole server

    The endpoint served tools/list without credentials, and the list has 1 tool that changes things (1 write). Whether a call also works without credentials was not tested: tools are never called.

    Matched text

    https://api.lazy-mac.com/ai-token-counter/mcp: tools/list returned 4 tools to an anonymous client, including estimate_cost (write)

    What this check looks for

Findings

Matches of fixed checks, with the text they matched.

No check matched anything in these tool definitions. That is not a safety guarantee.

History

Changes to its tool definitions and to its remote endpoint, newest first.

No change seen yet. Its tools are rescanned every day, and a remote endpoint is looked at once a week.

Install

Pinned to version 1.0.0. Values in angle brackets are yours to fill in.

claude mcp add --transport http ai-token-counter 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

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change or a way out, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__ai-token-counter__count_tokens",
      "mcp__ai-token-counter__get_model_pricing",
      "mcp__ai-token-counter__list_models"
    ],
    "ask": [
      "mcp__ai-token-counter__estimate_cost"
    ],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. A read that can send data out (it takes a URL, say) asks first too. It assumes the server is installed as ai-token-counter. Review it before you use it.

Capability tags behind 1 rule
  • mcp__ai-token-counter__count_tokens private-data, untrusted-input

Pin

Keep the decision: fail CI when the tools change, follow every change, or show a badge.

Pin in CI

Fail a build when the tools you reviewed are not the tools the server serves today.

curl -s "https://radar.anlyon.com/api/v1/servers/io.github.lazymac2x/ai-token-counter/verify?hash=2625fa109d89e1e23bb09adee0a201c8553f23cb839d26a0f6e19fd84cdfd081" | jq -e '.changed == false'

Pinned hash 2625fa109d89, from Nov 21, 2026, 13:18 UTC.

Watch

Get told when its tools change: a new tool, a new description, a new class.

https://radar.anlyon.com/servers/io.github.lazymac2x/ai-token-counter/changes.xml

An Atom feed. Works in any feed reader or Slack's RSS app.

Badge

Anlyon Radar badge for io.github.lazymac2x/ai-token-counter
[![Anlyon Radar](https://radar.anlyon.com/badge/io.github.lazymac2x/ai-token-counter.svg)](https://radar.anlyon.com/servers/io.github.lazymac2x/ai-token-counter)

Source: MCP Registry · repository. Synced Oct 21, 2026, 18:38 UTC.

ai-token-counter MCP server: questions and answers

Answered from the scan above, not from the publisher's description.

Is the ai-token-counter MCP server safe?

No scan can promise that. What its definitions show: 4 tools, 1 of which can change, send or delete something, and 0 findings from fixed checks. Allow the reads, ask before each change, and deny the deletes; the permissions block on this page does that.

Can the ai-token-counter MCP server delete data?

No tool is classed as destructive: going by their definitions, none of them deletes, cancels or revokes anything.

Can the ai-token-counter MCP server do things that cannot be undone?

No tool is classed as irreversible: none of them sends, pays, publishes or merges, going by their definitions.

What tools does the ai-token-counter MCP server have?

4 tools: 1 write, 3 read. estimate_cost, count_tokens, get_model_pricing and list_models.

Does the ai-token-counter MCP server need sign-in or OAuth?

Its remote endpoint listed its tools to an anonymous client, without sign-in.

Does the ai-token-counter MCP server send data to outside services?

None of its tools sends, posts or publishes, or takes a recipient, channel or URL.

Has the ai-token-counter MCP server changed its tools?

Not since Anlyon Radar started tracking it. Last scanned Nov 21, 2026.