Weight Class

Calorias e proteínas em 100 redes de restaurantes dos EUA, com base nos dados de cada rede, além de alimentos do USDA.

Servidor MCP hospedado

npx add-mcp 'https://api-production-174d.up.railway.app/api/mcp'

Instala no Claude Code, Codex, Cursor e outros

Documentação

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

ToolWhat it does
list_restaurantsThe chains Weight Class has, with how many items each and the guide they come from
find_restaurant_itemsOne 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_dishesA dish by name across every chain, with the same filters
lookup_foodA USDA food per 100 g, per household measure and for a weight you give
search and fetchThe 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.

Watch the video (MP4)

Claude

PlanHow to add Weight Class
FreeOne custom connector is allowed: use the one-click link, or the steps for Pro
Pro, Max, UltraCustomize → Connectors → + Add → Add custom connector. Name it "Weight Class", paste https://api-production-174d.up.railway.app/api/mcp, choose Continue, then Add
Team, EnterpriseAn 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 AndroidAdd 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

PlanHow to add Weight Class
Prochatgpt.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
BusinessAdmins and owners add it the same way and publish it to the workspace; members install it
Enterprise, EduAdmins, owners or members with the permission add it ("Create plugins with MCPs" is off by default); only admins publish
PlusIf Add custom MCP server appears under Plugins, follow the Pro steps; OpenAI doesn't list it for Plus yet
Free, GoNo 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

PlanHow to add Weight Class
Pro, MaxPlugins → 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
EnterpriseAn admin adds it in Organization settings → Connectors → Custom connector; members can add their own only if the admin allows it
FreeNot available on the Free plan

Mistral Vibe

Mistral Vibe was called Le Chat.

PlanHow to add Weight Class
Free, Pro, StudentConnectors → + 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, EnterpriseAn 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

AccountHow to add Weight Class
Personal Google account, 18 or over, in the USOn 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 accountNot available. With Gemini Enterprise, an admin can add it as a custom MCP data store (Streamable HTTP, No authentication)

Microsoft Copilot

VersionHow 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 StudioTools → 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.

AppSetup
Claude Codeclaude 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 StudioIn mcp.json: {"mcpServers": {"weight-class": {"url": "https://api-production-174d.up.railway.app/api/mcp"}}}
VS Codecode --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"}}}
CodexIn ~/.codex/config.toml: [mcp_servers.weight-class] then url = "https://api-production-174d.up.railway.app/api/mcp"
Gemini CLIIn ~/.gemini/settings.json: {"mcpServers": {"weight-class": {"httpUrl": "https://api-production-174d.up.railway.app/api/mcp"}}} (there, url means the older SSE transport)
Goosegoose 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.