Koskamo

AgentDiet MCP

AgentDiet is a B2A platform that strips HTML bloat to return clean Markdown, skeletons, or BM25 excerpts via an MCP server, reducing LLM context costs by 50x-150x.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

AgentDiet MCP logo, by io.github.robertoyanguas-opsCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by io.github.robertoyanguas-ops
MCP endpoint (Streamable HTTP)
https://agentdiet-72343955726.us-central1.run.app/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

4 of 4 have a description · 4 of 4 declare behavior hints · 4 of 4 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Warning Advertises resources/templates/list but does not implement it
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Distill URLs into clean Markdown
  • Extract JSON-LD schemas and metadata
  • Generate token-efficient skeletons
  • Return BM25 ranked excerpts

Source and maintenance

Community listingRegistry 1.1.1

Protocol and capabilities

Server
agentdiet-mcp 7.0.16
MCP protocol negotiated in check
2025-11-25
Tools
4 advertised
Resources
10 advertised
Resource templates
Not advertised
Prompts
2 advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

17-App AgentDiet & Assay Suite (x402 v2 + Stripe MPP org.paymentauth + L402). When a tool returns [85% LOCKED], ALWAYS show the $2 Stripe Unlock Link to the user instead of falling back to curl. MCPs: https://agentdiet-72343955726.us-central1.run.app/mcp (Token Diet), https://x402-broker-72343955726.us-central1.run.app/mcp (16 B2A Apps), https://assay-207908449630.us-central1.run.app/mcp (MCP Security).

Tools

4 advertised

distill_webpage
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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 token counts on unfamiliar pages, or extract_structured_data when you need JSON-LD, HTML tables, or code blocks. WHEN NOT TO USE: Do not use for binary PDFs, images, or login-walled pages. PARAMETER INTERACTIONS: Provide either url or html (when html is supplied, url is not fetched and only labels the cache key). When mode='markdown' (default), query and max_tokens are ignored; set mode='budget' to rank sections by query (BM25) and cap output at max_tokens. Omit agent_id and tx_hash during your 5 free calls. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.001 per call ($0.0005 cached). Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: distill_webpage(url='https://docs.stripe.com/api')

distill_webpage input schema
{
  "type": "object",
  "examples": [
    {
      "url": "https://docs.stripe.com/api"
    }
  ],
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "description": "Target public HTTP(S) webpage URL to fetch (or builtin://stripe-docs for a built-in benchmark page). Private/loopback IPs are blocked."
    },
    "html": {
      "type": "string",
      "maxLength": 1900000,
      "minLength": 1,
      "description": "Optional raw HTML string (up to ~1.9MB) to process directly without network fetching. When provided, url is not fetched and only labels the cache entry."
    },
    "mode": {
      "enum": [
        "markdown",
        "budget"
      ],
      "type": "string",
      "default": "markdown",
      "description": "Extraction mode: 'markdown' (default) returns the full cleaned page; 'budget' returns only sections matching query within max_tokens."
    },
    "query": {
      "type": "string",
      "maxLength": 99999,
      "minLength": 1,
      "description": "BM25 relevance keywords used to rank and filter page sections. Required for focused filtering when mode='budget'; ignored when mode='markdown'."
    },
    "tx_hash": {
      "type": "string",
      "maxLength": 256,
      "minLength": 10,
      "description": "Optional on-chain Base Mainnet (0x...) or Solana SPL USDC transaction hash. Omit unless settling an individual call directly on-chain instead of using an agd_pass_ key in agent_id."
    },
    "agent_id": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1,
      "description": "Optional agent identifier or prepaid agd_pass_ session key. Omit during your 5 free trial calls to use an ID automatically derived from your client IP, or pass your agd_pass_ key after topping up."
    },
    "max_tokens": {
      "type": "integer",
      "default": 400,
      "maximum": 16000,
      "minimum": 50,
      "description": "Maximum output token ceiling (50-16000, default 400). Enforced only when mode='budget'; ignored when mode='markdown'."
    }
  },
  "additionalProperties": false
}
distill_webpage output schema
{
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "data": {
      "type": "object",
      "description": "Structured tool output payload."
    },
    "status": {
      "type": "string",
      "description": "Execution status ('ok' or 'payment_required')."
    },
    "roi_proof": {
      "type": "object",
      "description": "Token compression and cost-savings verification metrics."
    }
  }
}
distill_webpage annotations
{
  "title": "Distill webpage",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
recon_webpage_skeleton
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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 (with mode='budget' and a focused query). WHEN NOT TO USE: Do not use when you already need full Markdown prose (use distill_webpage) or structured tables and JSON-LD (use extract_structured_data). PARAMETER INTERACTIONS: Provide either url or html (when html is supplied, url is not fetched and only labels the cache key). Omit agent_id and tx_hash during your 5 free calls. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.0002 per call. Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: recon_webpage_skeleton(url='https://docs.stripe.com/api')

recon_webpage_skeleton input schema
{
  "type": "object",
  "examples": [
    {
      "url": "https://docs.stripe.com/api"
    }
  ],
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "description": "Target public HTTP(S) webpage URL to fetch (or builtin://stripe-docs for a built-in benchmark page). Private/loopback IPs are blocked."
    },
    "html": {
      "type": "string",
      "maxLength": 1900000,
      "minLength": 1,
      "description": "Optional raw HTML string (up to ~1.9MB) to process directly without network fetching. When provided, url is not fetched and only labels the cache entry."
    },
    "tx_hash": {
      "type": "string",
      "maxLength": 256,
      "minLength": 10,
      "description": "Optional on-chain Base Mainnet (0x...) or Solana SPL USDC transaction hash. Omit unless settling an individual call directly on-chain instead of using an agd_pass_ key in agent_id."
    },
    "agent_id": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1,
      "description": "Optional agent identifier or prepaid agd_pass_ session key. Omit during your 5 free trial calls to use an ID automatically derived from your client IP, or pass your agd_pass_ key after topping up."
    }
  },
  "additionalProperties": false
}
recon_webpage_skeleton output schema
{
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "data": {
      "type": "object",
      "description": "Structured tool output payload."
    },
    "status": {
      "type": "string",
      "description": "Execution status ('ok' or 'payment_required')."
    },
    "roi_proof": {
      "type": "object",
      "description": "Token compression and cost-savings verification metrics."
    }
  }
}
recon_webpage_skeleton annotations
{
  "title": "Recon webpage skeleton",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
extract_structured_data
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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; use distill_webpage for narrative Markdown or recon_webpage_skeleton for a lightweight heading outline. WHEN NOT TO USE: Do not use for narrative prose extraction or binary files. PARAMETER INTERACTIONS: Provide either url or html (when html is supplied, url is not fetched and only labels the cache key). Omit agent_id and tx_hash during your 5 free calls. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.001 per call ($0.0005 cached). Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: extract_structured_data(url='https://docs.stripe.com/api')

extract_structured_data input schema
{
  "type": "object",
  "examples": [
    {
      "url": "https://docs.stripe.com/api"
    }
  ],
  "required": [
    "url"
  ],
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "description": "Target public HTTP(S) webpage URL to fetch (or builtin://stripe-docs for a built-in benchmark page). Private/loopback IPs are blocked."
    },
    "html": {
      "type": "string",
      "maxLength": 1900000,
      "minLength": 1,
      "description": "Optional raw HTML string (up to ~1.9MB) to process directly without network fetching. When provided, url is not fetched and only labels the cache entry."
    },
    "tx_hash": {
      "type": "string",
      "maxLength": 256,
      "minLength": 10,
      "description": "Optional on-chain Base Mainnet (0x...) or Solana SPL USDC transaction hash. Omit unless settling an individual call directly on-chain instead of using an agd_pass_ key in agent_id."
    },
    "agent_id": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1,
      "description": "Optional agent identifier or prepaid agd_pass_ session key. Omit during your 5 free trial calls to use an ID automatically derived from your client IP, or pass your agd_pass_ key after topping up."
    }
  },
  "additionalProperties": false
}
extract_structured_data output schema
{
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "data": {
      "type": "object",
      "description": "Structured tool output payload."
    },
    "status": {
      "type": "string",
      "description": "Execution status ('ok' or 'payment_required')."
    },
    "roi_proof": {
      "type": "object",
      "description": "Token compression and cost-savings verification metrics."
    }
  }
}
extract_structured_data annotations
{
  "title": "Extract structured data",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_agent_wallet_status
Advertised by the server during the last successful anonymous check.
Advertised read-only

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: Do not use to process web content, execute marketplace tools, or submit payments; use the other tools on this server for execution. PARAMETER INTERACTIONS: Omit agent_id to inspect the default trial account derived from your client IP, or pass your explicit agent_id or agd_pass_ session key to check a specific funded wallet. Free and read-only: never charges a fee or consumes a free trial call. Example: get_agent_wallet_status(agent_id='example')

get_agent_wallet_status input schema
{
  "type": "object",
  "examples": [
    {
      "agent_id": "example"
    }
  ],
  "properties": {
    "agent_id": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1,
      "description": "Optional Agent ID or agd_pass_ session key to inspect. Omit to check the default wallet derived from your client IP."
    }
  },
  "additionalProperties": false
}
get_agent_wallet_status output schema
{
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "data": {
      "type": "object",
      "description": "Structured tool output payload."
    },
    "status": {
      "type": "string",
      "description": "Execution status ('ok' or 'payment_required')."
    },
    "roi_proof": {
      "type": "object",
      "description": "Token compression and cost-savings verification metrics."
    }
  }
}
get_agent_wallet_status annotations
{
  "title": "Get agent wallet status",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

2 advertised

distill-url-to-markdown

Advertised by the server during the last successful anonymous check.

Distill a bloated webpage URL into clean, token-efficient Markdown.

url
Webpage URL to distill (required)
bm25-budget-research

Advertised by the server during the last successful anonymous check.

Extract only the sections matching a query within a strict token budget.

url
Webpage URL to distill (required)
query
BM25 search query (required)

Resources

10 advertised

widget-result — Execution Output & ROI Proof Card

Advertised by the server during the last successful anonymous check.

Interactive card rendering distilled Markdown or structured B2A JSON output alongside token savings and SHA-256 ROI proof.

widget-result URI
ui://agentdiet/v1/result

MIME type: text/html;profile=mcp-app

widget-marketplace — X402-Broker 8,300+ Tool Explorer

Advertised by the server during the last successful anonymous check.

Interactive catalog table of 8,300+ indexed MCP, A2A, and x402 endpoints with SLA trust scores and per-call pricing.

widget-marketplace URI
ui://agentdiet/v1/marketplace

MIME type: text/html;profile=mcp-app

widget-wallet — Agent Wallet & Quota Ledger

Advertised by the server during the last successful anonymous check.

Interactive balance card displaying remaining free trial calls, prepaid agd_pass_ USD credit, and cumulative token savings.

widget-wallet URI
ui://agentdiet/v1/wallet

MIME type: text/html;profile=mcp-app

docs-llms-txt — AgentDiet LLM System Prompt & Quickstart

Advertised by the server during the last successful anonymous check.

Machine-readable integration guide for autonomous agents calling AgentDiet over MCP, A2A, and HTTP 402.

docs-llms-txt URI
agentdiet://docs/llms-txt

MIME type: text/markdown

docs-openapi — OpenAPI 3.1 Specification

Advertised by the server during the last successful anonymous check.

Complete REST API specification for all 24 AgentDiet B2A endpoints and billing routes.

docs-openapi URI
agentdiet://docs/openapi

MIME type: application/json

pricing-x402 — x402 v2 Base & Solana USDC Settlement Terms

Advertised by the server during the last successful anonymous check.

Base Mainnet USDC (0xec5275d5b03bc390fca63d902d0b2d0db2eb5573) and Solana SPL USDC per-call rates and EIP-3009 parameters.

pricing-x402 URI
agentdiet://pricing/x402

MIME type: application/json

pricing-mpp — Stripe Machine Payments Protocol (MPP) Challenges

Advertised by the server during the last successful anonymous check.

JSON-RPC _meta org.paymentauth challenge schema and $2.00 Stripe session pass top-up flow.

pricing-mpp URI
agentdiet://pricing/mpp

MIME type: application/json

rubric-tdqs — 6-Dimension Tool Documentation Quality Rubric

Advertised by the server during the last successful anonymous check.

Specification of parameter constraints, disambiguation guidelines, output schemas, and safety annotations.

rubric-tdqs URI
agentdiet://rubric/tdqs

MIME type: text/markdown

docs-a2a-card — A2A v1.0 JWS-Signed Agent Card

Advertised by the server during the last successful anonymous check.

Ed25519 JWS-signed AgentCard discovery manifest and supported JSON-RPC skill interfaces.

docs-a2a-card URI
agentdiet://docs/a2a-card

MIME type: application/json

docs-mcp-lock — SHA-256 Tool Schema Integrity Policy

Advertised by the server during the last successful anonymous check.

Canonical SHA-256 tools/list hash verification rules to prevent silent tool poisoning and schema drift.

docs-mcp-lock URI
agentdiet://docs/mcp-lock

MIME type: text/markdown

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (41 of 41 checks answered)

  1. 2026-11-18: 5 of 5 checks answered
  2. 2026-11-19: 4 of 4 checks answered
  3. 2026-11-20: 3 of 3 checks answered
  4. 2026-11-21: 4 of 4 checks answered
  5. 2026-11-22: 4 of 4 checks answered
  6. 2026-11-23: 3 of 3 checks answered
  7. 2026-11-24: 4 of 4 checks answered
  8. 2026-11-25: 4 of 4 checks answered
  9. 2026-11-26: 4 of 4 checks answered
  10. 2026-11-27: 4 of 4 checks answered
  11. 2026-11-28: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
762 ms
95th percentile latency
843 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 672 ms · 4 tool(s), 10 resource(s), 2 prompt(s); warnings: Advertises resources/templates/list but does not implement it
  • · probe · passed · 852 ms · metadata changed · 4 tool(s), 10 resource(s), 2 prompt(s); warnings: Advertises resources/templates/list but does not implement it

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http agentdiet-mcp-run https://agentdiet-72343955726.us-central1.run.app/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add agentdiet-mcp-run --url https://agentdiet-72343955726.us-central1.run.app/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable agentdiet-mcp-run in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "agentdiet-mcp-run": {
      "url": "https://agentdiet-72343955726.us-central1.run.app/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "agentdiet-mcp-run": {
      "type": "streamableHttp",
      "url": "https://agentdiet-72343955726.us-central1.run.app/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start agentdiet-mcp-run and inspect its tools.
VS Code configuration
{
  "servers": {
    "agentdiet-mcp-run": {
      "type": "http",
      "url": "https://agentdiet-72343955726.us-central1.run.app/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http agentdiet-mcp-run https://agentdiet-72343955726.us-central1.run.app/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://agentdiet-72343955726.us-central1.run.app/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "agentdiet-mcp-run": {
      "serverUrl": "https://agentdiet-72343955726.us-central1.run.app/mcp"
    }
  }
}

Let your agent find its tools

Find servers like AgentDiet MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.