Mcd Optimizer skill

Picks a McDonald's China order for budget, calories, party size and restrictions, claiming coupons first and verifying prices.

  • 111 ★ on the repository
  • Last commit
  • MIT
Skill

Extended access

Why this level

  • The script uses a personal MCP token and by default really claims coupons into the wallet.
All reasons and checks

linghuchong6668/mcd-optimizer

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/mcd-optimizer

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The script uses a personal MCP token and by default really claims coupons into the wallet.

This is third-party code. Review the repository files before installing.

What it does

The skill solves order selection under constraints: budget, calories per person, party size and excluded foods. All data comes live from the McDonald's China MCP server: menu, prices, nutrition and coupons. It first claims available coupons, then solves with them and verifies the price through `calculate-price`. It returns three options: cheapest, most filling in kcal per yuan, and balanced on protein and sodium. `scripts/optimizer.py` uses only the Python standard library. The skill never places an order, it only calculates.

Who it is for. Fans of McDonald's China who watch budget and calories, and developers studying a skill example built on top of someone else's MCP server.

Good fit when

  • Two people want to fit 70 yuan and 800 kcal per person.
  • An organizer orders a team lunch with a no-spicy condition.
  • A developer studies how the skill handles MCP quirks: coupon items outside the menu and a line silently dropping without a coupon.
  • A calculation with and without the coupon must be compared.

Not a fit when

  • You need automatic ordering: the skill does not place orders.
  • You have no McDonald's China MCP token.
  • You need exact medical nutrition advice.

Example request

Find a McDonald's Shanghai order for two: budget 70 yuan, at most 800 kcal per person, show three options.

Limitations

Needs an `MCD_MCP_TOKEN` for the McDonald's China server; how to get it is described in `M-China/mcd-mcp-server`. The project was made for a contest and is not an official McDonald's product. Automatic coupon claiming is on by default and really adds coupons to the wallet: add `--no-claim` to avoid it. Prices follow the `calculate-price` response and may differ from the app. Nutrition data is not medical advice.

How to disable. Delete the skill folder from the agent's skills directory and remove `MCD_MCP_TOKEN` from the environment. Claimed coupons stay in the app wallet.

FAQ

Does the skill order food by itself?

No. It only uses data queries and price calculation, with no order-placing tools.

Does it claim coupons?

Yes, `auto-bind-coupons` really adds coupons to the wallet. Disable it with `--no-claim`.

Why does the price differ from the app?

The total comes from `calculate-price`: terms depend on time, store and added cards. Another hour can give a different sum.

Are dependencies needed?

No, Python 3.9 and the standard library are enough.

Which options does it return?

Three: cheapest within the calorie floor, most filling in kcal per yuan, and balanced on protein and sodium.

Discussion

No questions or reviews yet.

Skills

An agent skill that goes through McDonald's China menus and coupons and picks the lowest-priced order

SkillBroad access1.3KRepository stars

Skill and CLI that name the cheapest way to order food at McDonald's China and show the outcome before an order is created

SkillBroad access134Repository stars

A skill that plans a China McDonald's order under a budget and sodium limit, checks store coupons and never orders.

SkillMinimal access582Repository stars

A skill on the McDonald's China MCP: turns a budget and wishes into up to three menus with official prices, leftover budget and coupon terms

SkillExtended access1.3KRepository stars

A McDonald's China MCP skill finds coupons and prices the cheapest order by budget or calories, ordering only on the user's word.

SkillExtended access418Repository stars

McDonald's China ordering skill: picks a restaurant, asks party size and budget, offers three sets with price checks

SkillBroad access123Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialRepository starsMain difference
Mcd Optimizer (this card)no111
mcd-budget-mealno1,327picks a budget order; Mcd Optimizer solves for calories, party size and restrictions and verifies the coupon price
mcd-nutrition-expertno104answers about dish nutrition; this one calculates a whole order by budget and calories

README in short

The README explains two MCP quirks: a coupon item is absent from the menu, and pricing without the coupon silently drops the line. The script guards against it by checking line counts and rechecking the budget.

README badge

Report a problem