{"uid":"cap_B1hKRY5DIc8Eoa1gSIF36","slug":"agentdiet-mcp-compiler-context-window-distiller-57235050","name":"AgentDiet MCP Compiler — Context Window Distiller","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/mcp-compiler?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"target":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Mg3ugpKbFATKQvMIKcFNU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compiles and distills AI context windows via MCP, reducing token usage by up to 85-91% through deterministic compression","exampleAgentPrompt":"Can you run my current agent context through AgentDiet's MCP compiler to strip the bloat — I want to see the compression ratio and get back a slimmed-down version that uses at least 85% fewer tokens?","exampleUseCases":[{"title":"Token cost reduction for long LLM sessions","prompt":"My conversation context has ballooned to 40k tokens and I'm burning through my budget — can you run it through AgentDiet's context distiller and show me how much compression I get?"},{"title":"Fitting context within model token limits","prompt":"I need to squeeze my agent's full working context into a 4k token window — use AgentDiet to compile and distill it down so it fits without losing the key information."},{"title":"A2A pipeline context optimization","prompt":"Before my agent sends its context to the next node in the pipeline, compress it with AgentDiet's MCP compiler so we're not wasting tokens on redundant content — show me the compression ratio when it's done."}],"resultDescription":"Returns a JSON object with a 'data' field containing the distilled context output, a 'status' field confirming success ('ok'), and an 'roi_proof' object showing the compression_ratio_pct (e.g. 91.4%) achieved by the distillation.","failureModes":["Missing or malformed 'input' object returns validation error","Invalid 'type' value (must be 'http') causes rejection","Unsupported method enum value causes schema validation failure","Payment not settled in USDC on Base causes x402 payment failure","Target URL unreachable results in upstream fetch error","Empty or trivially small context may return minimal compression ratio"],"whenToPreferThis":"Choose this endpoint when your AI agent or pipeline needs to reduce context window size before sending to an LLM, particularly in A2A or MCP workflows where token cost and context limits are a concern. Especially useful when compression ratios of 85-91% are needed and you want deterministic, paid-per-call distillation settled on-chain via x402/USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:47.512Z","isFirstParty":false,"canonicalSlug":"agentdiet-mcp-compiler-context-window-distiller-57235050"}