MCP server
AgentDiet AI Token Diet & Context Window Distiller Official
dev.agentdiet/agentdiet
Checked 25 Oct 2026, 20:29 UTC · Connected to it and listed its tools
Strips 85-97% of HTML/DOM bloat into clean Markdown or JSON with cryptographic ROI proof.
Working at last checkVerified publisher: agentdiet.devAbout 2,511 tokens per request once connected4 tools
https://agentdiet.dev/mcp
At a glance
- Type
- MCP server
- Publisher
- agentdiet.dev (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 4
- Token cost
- About 2,511 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 25 Oct 2026, 20:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http agentdiet https://agentdiet.dev/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.agentdiet] url = "https://agentdiet.dev/mcp"
Gemini CLI
{"mcpServers":{"agentdiet":{"httpUrl":"https://agentdiet.dev/mcp"}}}
Cursor
{"mcpServers":{"agentdiet":{"url":"https://agentdiet.dev/mcp"}}}
VS Code
{"servers":{"agentdiet":{"type":"http","url":"https://agentdiet.dev/mcp"}}}
Antigravity
agy mcp add agentdiet https://agentdiet.dev/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"agentdiet","server_url":"https://agentdiet.dev/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"agentdiet","server_url":"https://agentdiet.dev/mcp"}
Tools
distill_webpage~882 tokens
Fetch a public HTTP(S) web page (or accept raw HTML) and distill its main prose into clean Markdown, stripping 85-97% of HTML/JS/CSS boilerplate. WHEN TO USE: Call this tool to read full or query-filtered article and documentation text; call recon_webpage_skeleton first to preview headings and tokenextract_structured_data~656 tokens
Extract machine-readable structured data from a web page: Schema.org JSON-LD objects, OpenGraph metadata, HTML tables parsed as JSON row arrays, fenced code blocks, section headings, and links. WHEN TO USE: Call this tool for pricing tables, API specifications, product metadata, or code snippets; usget_agent_wallet_status~317 tokens
Inspect an agent's account ledger: remaining free trial calls (out of 5), prepaid USD balance, cumulative spend, total API calls, and total LLM tokens saved. WHEN TO USE: Call before a batch of paid tool executions or after completing a Stripe or USDC top-up to confirm your balance. WHEN NOT TO USE:recon_webpage_skeleton~656 tokens
Extract an ultra-compact structural outline (under ~200 tokens) of a web page listing its H1-H4 headings and exact token count per section without returning body prose. WHEN TO USE: Call this tool first on long or unfamiliar pages to inspect structure and token cost before calling distill_webpage (w
Browse
Related MCP servers
- Minia2a
minia2a.uk — hosted MCP over streamable HTTP: call 1,600+ x402 pay-per-call APIs, USDC on Base. - FarsiTools (paid)
Persian and Iranian utilities for agents: Jalali dates, national ID, IBAN, holidays. Paid via x402. - AgentDiet Zero-Bloat A2A Live Web Search & Tech News Grounding
Executes live Google News RSS + HackerNews Algolia search queries and returns clean, token-pruned. - IranTools (paid)
Persian and Iranian utilities for agents plus text tooling. Paid via x402 or MPP. - Swiss Army
22 utility tools (x402 USDC on Base): currency, PDF, image, GDPR. Free health. - Agent Toolbox
13 free utility tools for AI agents: web text, markdown, hashing, IDs, dates, units, JSON. - Htmlpdf Transform Mcp
Htmlpdf Transform Mcp connects AI agents to real public APIs via MCP. Tools include - Anansi Haven
Free home base for AI agents: memory, job board, agent directory, safe commons and free tools.
Badge for your README
[](https://aptlynx.net/servers/dev.agentdiet/agentdiet)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents