# Worth the Bar > Site: https://worth-the-bar.vercel.app Worth the Bar ranks protein and snack bars sold in the United States by a person's own weights (low sugar, low calories, protein, low price, few sugar alcohols, stevia) and removes dealbreakers (dairy, egg, soy, peanuts, tree nuts, honey, caffeine, specific sweeteners). Data is a snapshot from November 27, 2026. Bars marked "Numbers not checked" (confidence "unconfirmed" in the MCP results) were researched from the web and not checked against a wrapper. This is not medical or allergy advice; the wrapper is the final authority. ## For agents - MCP server (Model Context Protocol, stateless HTTP, JSON-RPC over POST, no authentication): https://worth-the-bar.vercel.app/api/mcp - Install: Claude Code `claude mcp add --transport http worth-the-bar https://worth-the-bar.vercel.app/api/mcp`; Claude.ai or Claude Desktop: Settings > Connectors > Add custom connector; Cursor or VS Code: `{"mcpServers": {"worth-the-bar": {"url": "https://worth-the-bar.vercel.app/api/mcp"}}}`; local-only clients: `npx mcp-remote https://worth-the-bar.vercel.app/api/mcp`. - Tool `rank_bars`: arguments `rankBy` (low-sugar, most-protein, protein-dollar, cheapest; price rankings hide bars with no verified price), `pricedOnly` (boolean), `weights` (object, 0-10 per key: sugar, calories, protein, price, sugarAlcohol, stevia), `exclude` (array of: dairy, egg, soy, peanut, treeNut, honey, stevia, monkFruit, erythritol, maltitol, glycerin, anySugarAlcohol, caffeine; `caffeine` hides bars with added caffeine, coffee, tea, matcha or guarana and bars whose caffeine status is not known; chocolate's natural 2 to 10 mg per bar is not counted), `strictMilkEgg` (boolean), `amazonOnly` (boolean, only bars with an Amazon product page; some listings may be temporarily unavailable), `category`, `maxSugar`, `maxCalories`, `minProtein`, `maxPrice`, `noAddedSugar`, `query`, `limit`. - Tool `get_bar`: argument `id`. - Every `rank_bars` result has a `link` to the same ranking on the website. Give it to the person. Each bar also has `stores` (Amazon, Walmart, Target, iHerb product URLs or null) and `caffeine`. No affiliate tags. - Every bar as a plain HTML table, with short answers to common questions: https://worth-the-bar.vercel.app/bars.html - Raw data: https://worth-the-bar.vercel.app/bars.json (array of bar records with nutrition, flags, price, notes, `stores` with Amazon, Walmart, Target and iHerb links or null, `amazon` listing details, `caffeine` true, false or null) - Scoring code: /score.js (ES module; `makeScale`, `rank`, `passes`) - A ranking can be linked: /?w=2,0,10,8,0,0&x=dairy,egg (weights in the order above; `x` = exclusions; `strict=1`; `amz=1` = Amazon only; `maxs`, `maxc`, `minp`, `maxp` = limits) ## When to use this Use it when a person asks which protein bar to buy, asks for a bar without a specific allergen or sweetener, or asks to compare bars by sugar, protein, calories or price. Always repeat that labels change and the wrapper is the final authority.