Skip to main content
CodeLint.Dev AI · Dev · Finance

AI Engineering Tools — Tokens, Cost, MCP & Agents

Tooling for the practical questions of building on language models: how many tokens, how much money, which model — and the config, schemas and discovery files that agents and MCP servers need.

32 tools · Reviewed by Mimamsa, Founder & Engineer, CodeLint.Dev

Agents, MCP & tool use

Agent Readiness Check Enter a site and see what it publishes for AI crawlers, language models and agents — robots.txt rules by crawler purpose, sitemap, llms.txt, an MCP server, an A2A agent card and a UCP profile — and what is broken or missing.MCP Server Tester Connect to a remote MCP server, see which protocol revision it speaks, list and call its tools, and read every request and response with the departures from the spec called out.A2A Agent Tester Fetch an A2A agent’s card from its well-known URL, validate it, send the agent a message in A2A 1.0 or 0.3, and check the reply.LLM Stream Viewer Paste a raw streamed response from Claude, OpenAI or Gemini and see the message it adds up to — text, reasoning, tool calls and token usage — and where the stream was cut off or malformed.MCP Config Generator Describe an MCP server once and get the right config file for Claude, Cursor, VS Code and other clients — each uses a different file, key and shape. Also validates a config you already have.Tool Schema Converter Convert a function/tool definition between the OpenAI, Anthropic, Gemini and MCP formats, and lint it for the mistakes that make a model ignore or misuse a tool.A2A Agent Card Builder Build and validate the agent card an Agent2Agent (A2A) agent publishes at its well-known URL so other agents can discover its skills.llms.txt Generator Create or check an llms.txt file — the Markdown index that points a language model at the parts of a site worth reading.AI Crawler robots.txt Builder Decide which AI crawlers may train on, index or fetch your site — by purpose, not by guesswork — and generate the robots.txt rules.

Agentic commerce

Calculators & analysis

Prompt engineering

Reference guides

Background

Working with language models involves a set of calculations that are tedious, easy to get wrong, and expensive when you do. How many tokens is this prompt? Will it fit alongside the retrieved documents and the expected response? What does that cost at a million calls a month, and how does that change if you switch providers?

The counters and calculators here answer those directly, using the real tokenizers rather than the word-count-times-1.3 heuristic that quietly under-counts code and badly under-counts non-Latin scripts. Tokenization is not uniform: the same passage in English, Japanese and Hindi can differ by a factor of three or more in token count, which turns into a direct and often unexpected cost difference.

The reference guides cover the concepts underneath — how tokenization actually works, what temperature and top-p do to a distribution and why changing both at once makes results hard to reason about, how embeddings behave, and where agent frameworks help versus add moving parts.

The agent tools deal with the plumbing that has grown up around tool use: the Model Context Protocol, which every client configures slightly differently; tool definitions, which each provider wants in its own JSON shape; and the discovery files — A2A agent cards, llms.txt, robots.txt rules for AI crawlers — that let other software find what you have built. CodeLint runs all of these itself: its own MCP server and agent card are documented on the agents page and make a working reference.

A standing caveat: model names, prices and context limits change frequently, sometimes monthly. The comparison and pricing pages carry the date they were last checked. Confirm anything cost-critical against the provider’s own pricing page before you commit to a budget.

Rough token arithmetic

Useful for a first estimate. Verify with the token counter before sizing a budget — the variance across content types is large:

ContentApproximate tokensNote
English prose~0.75 tokens per wordThe figure most rules of thumb are based on
Source code~1.5–2× prosePunctuation, indentation and identifiers all split heavily
JSON payloads~2× the equivalent proseBraces, quotes and repeated key names dominate
CJK text~1–1.5 tokens per characterFar denser than the per-word intuition suggests
Indic scriptsUp to 3–4× EnglishFrequently split to nearly one token per byte

In-depth guides

Long-form articles covering the standards and formulas behind these tools.

Frequently asked questions

Why does the token count differ from what my provider bills?
Two reasons. First, providers count the full request, which includes the chat template — role markers, message delimiters and any injected system content — that a bare text counter does not see; expect a small fixed overhead per message. Second, different model families use different tokenizers, so the same text genuinely produces different counts on different models. Use the counter for planning and the provider’s usage dashboard for reconciliation.
Is my prompt sent anywhere when I use these tools?
No. Tokenization runs locally in your browser using the tokenizer implementation itself, not an API call. The counter, cost calculator, context planner and prompt tools never transmit your text, which is what makes them safe for prompts containing proprietary content or customer data.
How current is the pricing and model data?
Each comparison and pricing page shows when it was last checked. Provider pricing changes often, and new model versions appear on no fixed schedule, so treat these figures as a planning baseline rather than a quote. For anything contractual, confirm against the provider’s own pricing page.
Does a bigger context window mean I should use it?
Not automatically. Cost scales with tokens actually sent, so filling a large window on every call gets expensive quickly, and retrieval quality often degrades as irrelevant content crowds the prompt — attention is finite regardless of the stated limit. A focused prompt with well-chosen retrieved passages generally beats one that pads the window because the space is available.

Other tool categories