Skip to content
VS Code

Imperium RAG-Diet — Web & Document Context Distiller (85-97% Token Savings) for VS Code

dev.agentdiet/rag-diet

Strips 85-97% of HTML/DOM boilerplate into clean Markdown, skeletons, or BM25-ranked RAG chunks.

client:VS Code transport:streamable-http tools:4

Install Imperium RAG-Diet — Web & Document Context Distiller (85-97% Token Savings) in VS Code

.vscode/mcp.json

{
  "servers": {
    "rag-diet": {
      "type": "http",
      "url": "https://rag-diet.agentdiet.dev/mcp"
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

What VS Code can do once it is connected

Imperium RAG-Diet — Web & Document Context Distiller (85-97% Token Savings) in other clients