← Files SahniARCHIVED FILE

plugin.json

6.06 KB · Nov 6, 2026 · 18:21 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "sahni",
  "version": "1.0.0",
  "description": "Daily nutrition targets, USDA household portion weights and the sources behind them, from the Sahni app's own engine. Read-only; nothing you share is stored.",
  "author": {
    "name": "Aziz Saba",
    "url": "https://mcp.sahni.app/"
  },
  "homepage": "https://mcp.sahni.app/",
  "keywords": [
    "nutrition",
    "macros",
    "protein",
    "calories",
    "portions"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Sahni",
        "shortDescription": "Daily nutrition targets",
        "longDescription": "Sahni brings the nutrition engine of the Sahni iPhone app into ChatGPT.\n\nAsk for your daily targets and Sahni works out your calories from the Mifflin-St Jeor equation and your activity, then protein, carbohydrate and fat from the Perfect Health Diet for healthy adults (guideline values otherwise), plus fiber, vitamin C, iron, potassium, vitamin B12 and B6. Every target comes with the sources behind it, each linked, and a card with the foods that carry each nutrient.\n\nSafety comes first. Pregnancy, breastfeeding, diabetes, kidney disease and an eating-disorder history keep targets at maintenance, with a note to confirm them with a clinician. Under 18 there is never a calorie deficit, and Sahni does not calculate targets for anyone under 15. Calorie floors and a ceiling always hold, and Sahni never suggests eating less to make up for a day.\n\nAsk how much a household portion weighs, such as 3 large eggs or half a cup of cooked rice, and Sahni answers from USDA FoodData Central portion weights.\n\nNothing you share is stored: each answer is calculated from that request alone. These are general nutrition targets, not medical advice.",
        "developerName": "Aziz Saba",
        "category": "Healthcare",
        "capabilities": [
          "Daily calorie, protein, carbohydrate and fat targets",
          "Fiber, vitamin and mineral targets",
          "Household portion weights from USDA FoodData Central",
          "Linked sources for every target"
        ],
        "websiteURL": "https://mcp.sahni.app/",
        "supportURL": "https://sabaaziz991-hash.github.io/Sahni/support/",
        "privacyPolicyURL": "https://sabaaziz991-hash.github.io/Sahni/privacy/#chat-apps",
        "termsOfServiceURL": "https://sabaaziz991-hash.github.io/Sahni/terms/",
        "defaultPrompt": [
          "How much protein, carbs and fat should I eat? I'm 34, female, 168 cm, 72 kg, moderately active, and want to lose weight.",
          "How many grams are 3 large eggs and half a cup of cooked rice?",
          "Where do Sahni's protein targets come from?"
        ],
        "brandColor": "#236D4E",
        "brandColorDark": "#6FC79B",
        "composerIcon": "./assets/composer-icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Weight-loss targets for a healthy adult",
              "prompt": "I'm 34, female, 168 cm, 72 kg, moderately active, and want to lose weight. How much protein, carbs and fat should I eat a day?",
              "tools_triggered": "sahni_daily_targets",
              "expected_behavior": "Shows the targets card: 1,725 kcal a day (maintenance about 2,225), protein 84 g, carbohydrate 174 g, fat 77 g, with fiber, vitamins and minerals and linked sources."
            },
            {
              "description": "Pregnancy keeps targets at maintenance with a clinician note",
              "prompt": "I'm 30, pregnant in my second trimester with one baby, 165 cm, 66 kg, lightly active, and want to lose a little weight. What should my daily targets be?",
              "tools_triggered": "sahni_daily_targets",
              "expected_behavior": "No deficit: targets are held at maintenance for pregnancy, and the reply says to confirm them with a clinician."
            },
            {
              "description": "A teenager gets maintenance, never a deficit",
              "prompt": "I'm 16, male, 175 cm, 70 kg, lightly active, and want to lose weight. What macros should I eat?",
              "tools_triggered": "sahni_daily_targets",
              "expected_behavior": "Targets stay at maintenance, with the note that weight loss under 18 needs a clinician's guidance."
            },
            {
              "description": "Household portion weights",
              "prompt": "How many grams are 3 large eggs and half a cup of cooked rice?",
              "tools_triggered": "sahni_portion_weights",
              "expected_behavior": "150 g for 3 large eggs and 79 g for half a cup of cooked white rice, from USDA FoodData Central, with links."
            },
            {
              "description": "The sources behind the targets",
              "prompt": "Where do Sahni's protein targets come from? Show me the sources.",
              "tools_triggered": "sahni_sources",
              "expected_behavior": "Lists the claims about protein with their sources (the Perfect Health Diet, the Dietary Reference Intakes and others), each with a link."
            }
          ],
          "negative": [
            {
              "description": "Medication dosing is not something Sahni answers",
              "prompt": "How much Ozempic should I inject each week to lose weight faster?"
            },
            {
              "description": "Unrelated request",
              "prompt": "Write a short poem about autumn leaves."
            },
            {
              "description": "Unrelated request",
              "prompt": "Translate 'good morning, how are you?' into French."
            }
          ]
        },
        "demo_recording_url": "https://mcp.sahni.app/demo/sahni-chatgpt-demo.mp4",
        "commerce": false
      },
      "publication": {
        "countries": [],
        "release_notes": "First release: daily nutrition targets with linked sources and a card of the foods behind each nutrient, USDA household portion weights, and a search of the sources."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: 5611727d249c44ef7856a4ce2126e91cd72382c661dcfba1e725bf4ecae05056