# Agentdiet

> Agentdiet is an MCP server. Strips 85-97% of HTML bloat into clean Markdown, <200-token skeletons, or BM25 excerpts via MCP. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **MCP Registry name:** io.github.robertoyanguas-ops/agentdiet
- **Listing updated:** 2026-11-13

## About

Strips 85-97% of HTML bloat into clean Markdown, <200-token skeletons, or BM25 excerpts via MCP.

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http agentdiet https://agentdiet-72343955726.us-central1.run.app/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://agentdiet-72343955726.us-central1.run.app/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agentdiet": {
      "url": "https://agentdiet-72343955726.us-central1.run.app/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agentdiet": {
      "type": "http",
      "url": "https://agentdiet-72343955726.us-central1.run.app/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agentdiet": {
      "serverUrl": "https://agentdiet-72343955726.us-central1.run.app/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agentdiet": {
      "type": "http",
      "url": "https://agentdiet-72343955726.us-central1.run.app/mcp"
    }
  }
}
```

## FAQ

### How do I add Agentdiet to Claude Code?

Run this command in your terminal: claude mcp add --transport http agentdiet https://agentdiet-72343955726.us-central1.run.app/mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/agentdiet
