Weight Class
Calories and protein at 100 US restaurant chains, from each chain's own numbers, plus USDA foods.
Hosted MCP Server
npx add-mcp 'https://api-production-174d.up.railway.app/api/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
In short: Weight Class has a free, read-only MCP server that AI assistants such as Claude, ChatGPT, Perplexity, Mistral and Grok can use to answer nutrition questions with published numbers: restaurant items from each chain's own nutrition information, and everyday foods from USDA FoodData Central. It needs no account and doesn't keep what you ask.
The server's address: https://api-production-174d.up.railway.app/api/mcp
Listed in the official MCP Registry as io.github.TayoAki/weight-class and on Glama.
In Claude: add Weight Class in one click, then choose Add. Every other assistant and plan is below.
On this page:
What you can ask
- "What are the highest-protein things at Chick-fil-A under 400 calories?"
- "Which Starbucks drinks have the most protein per calorie?"
- "Find me a grilled chicken sandwich under 500 calories at a fast-food chain."
- "How many calories and how much protein are in 170 g of plain nonfat Greek yogurt?"
The tools
| Tool | What it does |
|---|---|
list_restaurants | The chains Weight Class has, with how many items each and the guide they come from |
find_restaurant_items | One chain's items, filtered by calories, protein and kind (meal, side, drink, dessert or extra) and sorted by protein per calorie, most protein or fewest calories |
search_restaurant_dishes | A dish by name across every chain, with the same filters |
lookup_food | A USDA food per 100 g, per household measure and for a weight you give |
search and fetch | The same data in the two-tool form ChatGPT's deep research and Microsoft 365 Copilot use: search returns results with a page to cite, fetch the full numbers of one |
All six only read: none of them changes anything, so they work on plans that allow read-only connectors. Every restaurant result carries the page its numbers come from and the day they were checked.
See it answer
A two-minute video runs the eight test cases of the ChatGPT plugin review against the live server: each question, the tool call it should trigger and the server's real answer.
Claude
| Plan | How to add Weight Class |
|---|---|
| Free | One custom connector is allowed: use the one-click link, or the steps for Pro |
| Pro, Max, Ultra | Customize → Connectors → + Add → Add custom connector. Name it "Weight Class", paste https://api-production-174d.up.railway.app/api/mcp, choose Continue, then Add |
| Team, Enterprise | An owner adds it: Organization settings → Connectors → Add → Custom → Web. Members then choose Connect in Customize → Connectors, and Team members can request it |
| Claude apps on iPhone and Android | Add it on the web or the desktop app; it then works in the mobile apps too |
Choose "No sign-in" if Claude asks. (Claude's help)
ChatGPT
| Plan | How to add Weight Class |
|---|---|
| Pro | chatgpt.com/plugins → + → Add custom MCP server. Paste https://api-production-174d.up.railway.app/api/mcp, choose No authentication, then Create as a plugin and install it. Pro runs read tools only, and every Weight Class tool is read-only |
| Business | Admins and owners add it the same way and publish it to the workspace; members install it |
| Enterprise, Edu | Admins, owners or members with the permission add it ("Create plugins with MCPs" is off by default); only admins publish |
| Plus | If Add custom MCP server appears under Plugins, follow the Pro steps; OpenAI doesn't list it for Plus yet |
| Free, Go | No custom servers by URL. These plans use plugins from ChatGPT's own directory; until Weight Class is listed there, see No connectors on your plan? |
Custom servers are added on chatgpt.com on the web. Deep research can use the server too: it has the search and fetch tools deep research looks for. (OpenAI's help)
Perplexity
| Plan | How to add Weight Class |
|---|---|
| Pro, Max | Plugins → Add custom → Add MCP connector → Remote. Paste https://api-production-174d.up.railway.app/api/mcp, set authentication to None, and under Advanced choose Streamable HTTP |
| Enterprise | An admin adds it in Organization settings → Connectors → Custom connector; members can add their own only if the admin allows it |
| Free | Not available on the Free plan |
Mistral Vibe
Mistral Vibe was called Le Chat.
| Plan | How to add Weight Class |
|---|---|
| Free, Pro, Student | Connectors → + Add Connector → Custom MCP Connector. Name it "Weight Class", paste https://api-production-174d.up.railway.app/api/mcp, choose No authentication, then Connect. The account owner is its administrator |
| Team, Enterprise | An administrator adds it the same way |
Grok
On grok.com, open Connectors → New Connector → Custom, paste https://api-production-174d.up.railway.app/api/mcp and save. On Business and Enterprise plans, an admin adds it with + Add Connector → Other.
Gemini
| Account | How to add Weight Class |
|---|---|
| Personal Google account, 18 or over, in the US | On gemini.google.com: Settings → Connected Apps → Custom apps → Add a custom app, with activity history on and English as the language. Google's guide covers apps that use a sign-in, so one without a sign-in, like Weight Class, may not be accepted yet |
| Work or school account | Not available. With Gemini Enterprise, an admin can add it as a custom MCP data store (Streamable HTTP, No authentication) |
Microsoft Copilot
| Version | How to add Weight Class |
|---|---|
| Microsoft 365 Copilot (work) | An admin adds a custom federated connector with https://api-production-174d.up.railway.app/api/mcp and No Auth; it uses the search and fetch tools |
| Copilot Studio | Tools → Add a tool → Model Context Protocol, authentication None |
| Copilot (personal) | Not available: it connects only to Microsoft's and Google's own services |
Developer apps
Any app that connects to a remote MCP server over Streamable HTTP can use the address, with no key.
| App | Setup |
|---|---|
| Claude Code | claude mcp add --transport http weight-class --scope user https://api-production-174d.up.railway.app/api/mcp (connectors added on claude.ai also appear when you're signed in) |
| Cursor, LM Studio | In mcp.json: {"mcpServers": {"weight-class": {"url": "https://api-production-174d.up.railway.app/api/mcp"}}} |
| VS Code | code --add-mcp '{"name": "weight-class", "type": "http", "url": "https://api-production-174d.up.railway.app/api/mcp"}', or in .vscode/mcp.json: {"servers": {"weight-class": {"type": "http", "url": "https://api-production-174d.up.railway.app/api/mcp"}}} |
| Codex | In ~/.codex/config.toml: [mcp_servers.weight-class] then url = "https://api-production-174d.up.railway.app/api/mcp" |
| Gemini CLI | In ~/.gemini/settings.json: {"mcpServers": {"weight-class": {"httpUrl": "https://api-production-174d.up.railway.app/api/mcp"}}} (there, url means the older SSE transport) |
| Goose | goose session --with-streamable-http-extension "https://api-production-174d.up.railway.app/api/mcp" |
No connectors on your plan?
Ask your assistant with web search on, for example "Chick-fil-A highest protein per calorie, Weight Class". The restaurant pages on this site are public, with every chain's numbers, sources and dates, so ChatGPT search, Perplexity, Gemini and Copilot can find and cite them on any plan.
What the server receives and keeps
The assistant sends the words the tools need: a chain's name, a dish, a food and the limits you set. Weight Class uses them only to answer, doesn't store them and can't link them to you. The server's log keeps the tool that was used, how many results it returned and the name the assistant's app gives itself, and the IP address a request comes from (usually the assistant's own server) is held briefly in memory to limit how often requests can be made. Your conversation stays with your assistant, under its own privacy policy. The details are in the Privacy Policy.
Where the numbers come from
Restaurant items: how we get the restaurant numbers. Foods: USDA FoodData Central (FNDDS), which is in the public domain. They are general nutrition facts, not medical advice.