Weight Class

Calories and protein at 100 US restaurant chains, from each chain's own numbers, plus USDA foods.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
98%
Naming quality
97%
Poisoning risk
100%
Permission match
90%
Protocol compliance
100%

Findings (1)

  • LOWTool 'fetch' suggests web access but openWorldHint=falsein fetch

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~2,557Tokens (tool definitions)
~3.8 KBTypical response size
Moderate attention impact (2.00% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "weight-class": {
      "url": "https://api-production-174d.up.railway.app/api/mcp"
    }
  }
}

Remote endpoints

https://api-production-174d.up.railway.app/api/mcpstreamable-http

What it can do

Tool inventory

Tools (6)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢list_restaurants(query)

The US restaurant chains Weight Class has menus for, with how many items each and the guide they come from. Each chain's numbers are its own published nutrition information.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Part of a chain name, e.g. \"chick\" or \"starbucks\". Leave out to list all.",
      "type": "string",
      "maxLength": 60
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "restaurants": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "items": {
            "type": "number"
          },
          "checked_on": {
            "type": "string"
          },
          "guide_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "page_url": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "slug",
          "items",
          "checked_on",
          "guide_url",
          "page_url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "restaurants"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢find_restaurant_items(restaurant, max_calories, min_protein_g, kind, sort, ...)

Items on one chain's menu with its own published calories, protein, carbs, fat, fiber, sugars and sodium, filtered and sorted. Use it for questions like "high-protein orders at Chipotle under 600 calories" or "Starbucks drinks under 150 calories".

Input Schema

{
  "type": "object",
  "properties": {
    "restaurant": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60,
      "description": "The chain, e.g. \"Chick-fil-A\" or \"starbucks\"."
    },
    "max_calories": {
      "description": "Only items with at most this many calories.",
      "type": "integer",
      "minimum": 0,
      "maximum": 5000
    },
    "min_protein_g": {
      "description": "Only items with at least this many grams of protein.",
      "type": "number",
      "minimum": 0,
      "maximum": 300
    },
    "kind": {
      "description": "main (a meal), side, drink, dessert or extra; any by default.",
      "type": "string",
      "enum": [
        "main",
        "side",
        "drink",
        "extra",
        "dessert",
        "any"
      ]
    },
    "sort": {
      "description": "protein_per_calorie by default: items with 10 g of protein or more first, then the rest.",
      "type": "string",
      "enum": [
        "protein_per_calorie",
        "most_protein",
        "fewest_calories"
      ]
    },
    "limit": {
      "description": "How many items to return (10 by default, at most 25).",
      "type": "integer",
      "minimum": 1,
      "maximum": 25
    }
  },
  "required": [
    "restaurant"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "restaurant": {
      "type": [
        "string",
        "null"
      ]
    },
    "guide_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "page_url": {
      "type": "string"
    },
    "total": {
      "type": "number"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "restaurant": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "section": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "serving": {
            "type": "string"
          },
          "calories": {
            "type": "number"
          },
          "protein_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "carbs_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "fat_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "fiber_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "sugars_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "sodium_mg": {
            "type": [
              "number",
              "null"
            ]
          },
          "source_url": {
            "type": "string"
          },
          "checked_on": {
            "type": "string"
          }
        },
        "required": [
          "restaurant",
          "name",
          "section",
          "kind",
          "serving",
          "calories",
          "protein_g",
          "carbs_g",
          "fat_g",
          "fiber_g",
          "sugars_g",
          "sodium_mg",
          "source_url",
          "checked_on"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "restaurant",
    "total",
    "items"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢search_restaurant_dishes(query, max_calories, min_protein_g, kind, sort, ...)

Find a dish by name across the restaurant chains, e.g. "protein latte", "grilled chicken sandwich" or "burrito bowl", with each chain's own published numbers, closest names first. Optional limits on calories and protein, and a sort.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 80,
      "description": "The dish, optionally with the chain: \"big mac\", \"chipotle chicken bowl\"."
    },
    "max_calories": {
      "description": "Only items with at most this many calories.",
      "type": "integer",
      "minimum": 0,
      "maximum": 5000
    },
    "min_protein_g": {
      "description": "Only items with at least this many grams of protein.",
      "type": "number",
      "minimum": 0,
      "maximum": 300
    },
    "kind": {
      "description": "main (a meal), side, drink, dessert or extra; any by default.",
      "type": "string",
      "enum": [
        "main",
        "side",
        "drink",
        "extra",
        "dessert",
        "any"
      ]
    },
    "sort": {
      "description": "protein_per_calorie by default: items with 10 g of protein or more first, then the rest.",
      "type": "string",
      "enum": [
        "protein_per_calorie",
        "most_protein",
        "fewest_calories"
      ]
    },
    "limit": {
      "description": "How many items to return (10 by default, at most 25).",
      "type": "integer",
      "minimum": 1,
      "maximum": 25
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    },
    "total": {
      "type": "number"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "restaurant": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "section": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "serving": {
            "type": "string"
          },
          "calories": {
            "type": "number"
          },
          "protein_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "carbs_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "fat_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "fiber_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "sugars_g": {
            "type": [
              "number",
              "null"
            ]
          },
          "sodium_mg": {
            "type": [
              "number",
              "null"
            ]
          },
          "source_url": {
            "type": "string"
          },
          "checked_on": {
            "type": "string"
          }
        },
        "required": [
          "restaurant",
          "name",
          "section",
          "kind",
          "serving",
          "calories",
          "protein_g",
          "carbs_g",
          "fat_g",
          "fiber_g",
          "sugars_g",
          "sodium_mg",
          "source_url",
          "checked_on"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "query",
    "total",
    "items"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢lookup_food(query, grams, limit)

Calories, protein, carbs, fat and fiber of everyday foods from USDA FoodData Central (FNDDS): per 100 g, per household measure (1 cup, 1 large egg…), and for a weight you give.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 80,
      "description": "The food in plain words: \"greek yogurt plain nonfat\", \"banana\", \"chicken breast rotisserie\"."
    },
    "grams": {
      "description": "Also give the numbers for this many grams.",
      "type": "number",
      "minimum": 1,
      "maximum": 5000
    },
    "limit": {
      "description": "How many foods to return (5 by default).",
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "foods": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "per_100g": {
            "type": "object",
            "properties": {
              "grams": {
                "type": "number"
              },
              "calories": {
                "type": "number"
              },
              "protein_g": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "carbs_g": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "fat_g": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "fiber_g": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "grams",
              "calories",
              "protein_g",
              "carbs_g",
              "fat_g",
              "fiber_g"
            ],
            "additionalProperties": false
          },
          "portions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "grams": {
                  "type": "number"
                },
                "calories": {
                  "type": "number"
                },
                "protein_g": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "carbs_g": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "fat_g": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "fiber_g": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "portion": {
                  "type": "string"
                }
              },
              "required": [
                "grams",
                "calories",
                "protein_g",
                "carbs_g",
                "fat_g",
                "fiber_g",
                "portion"
              ],
              "additionalProperties": false
            }
          },
          "for_grams": {
            "type": "object",
            "properties": {
              "grams": {
                "type": "number"
              },
              "calories": {
                "type": "number"
              },
              "protein_g": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "carbs_g": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "fat_g": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "fiber_g": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "grams",
              "calories",
              "protein_g",
              "carbs_g",
              "fat_g",
              "fiber_g"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "name",
          "category",
          "per_100g",
          "portions"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "query",
    "source",
    "foods"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢search(query)

Search restaurant menu items at 100 US chains (each chain's own published numbers), the chains themselves and USDA foods. Returns results with an id, a title and a page; pass an id to fetch for the full numbers.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "A dish, a chain or a food: \"chick-fil-a grilled nuggets\", \"protein latte\", \"greek yogurt\"."
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "results"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢fetch(id)

The full nutrition numbers and source of one result from search: a restaurant item, a chain (its top meals by protein per calorie) or a USDA food.

Input Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 3,
      "maxLength": 80,
      "description": "An id from search, e.g. \"item:…\", \"chain:chick-fil-a\" or \"food:2705383\"."
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "metadata": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "id",
    "title",
    "text",
    "url"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded6 tools