# Token Diet MCP

> Token Diet MCP is a paid API for AI agents from api.m2mcent.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-12).

Reduces token usage by compressing, trimming, or optimizing text/prompt data sent to LLMs

## Facts

- Endpoint: POST https://api.m2mcent.com/token-diet-mcp/api/process?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-diet-mcp-5a838ef1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4mDS6jIAma-R9IGkfYgJF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability token-diet-mcp-5a838ef1 -d '<json body>'
```

Example prompt: Can you run this through Token Diet to reduce its token count before I send it to GPT-4? Here's the text: 'As a highly experienced and knowledgeable assistant with many years of practice in the field, I will now proceed to explain the following concept in great detail...'

## When to prefer this

Choose this endpoint when you need to reduce token usage before sending text to an LLM, particularly when working with large documents, verbose prompts, or context-window constraints. Ideal for agents that want to cut LLM API costs or stay within token limits without manually rewriting input.

## Known failure modes

- Empty or missing 'data' field returns a validation error
- Extremely large input strings may be rejected or truncated
- Non-text binary data in the 'data' field may cause processing errors
- Payment failure (x402) blocks the request before processing
- Ambiguous or already-minimal input may return unchanged or minimally modified text

## How this service works

The premier global index of 1,069 monetized MCP nodes across 205 specialized subdomains. Gasless USDC runtime settlements via x402 V2 Spec on Base L2. Save 95% token context.

## Output

Returns a token-optimized or compressed version of the input text string, reducing overall token count while preserving semantic content or key information.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-diet-mcp-5a838ef1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.m2mcent.com](https://www.zero.xyz/host/api.m2mcent.com/llms.txt)
