Open-source long-horizon super agent harness that orchestrates sub-agents, memory, and sandboxes to research, code, and create across tasks lasting minutes to hours.
Ayzzz123/mcd-coupon-strategist
A McDonald's China MCP-based Skill that calculates the cheapest way to order at your store and flags coupons about to expire.
- Stars
- 576
- Forks
- 20
- Open issues
- 0
- Last commit
- 6 days ago
What is it?
mcd-coupon-strategist is a Python ordering-cost assistant built on the McDonald's China MCP server. For a single order, it pulls the current store's menu and the coupons available at that store, enumerates combinations of single items, meal sets, coupon stacks and add-on items, and prices each candidate through the MCP calculate-price tool. It then recommends the cheapest option and warns when adding items to reach a coupon threshold ends up costing more.
For longer-term spending, it reads past orders and the account's coupon list to report the value of coupons nearing expiry, average spend per order, and time-of-day spending patterns. It also checks points balances and expiry dates, and lists campaign dates alongside coupon validity. Coupon values are measured by calculate-price when a coupon code is available, otherwise estimated from menu prices; unknown values are reported as unknown rather than guessed.
The demo runs offline from recorded MCP responses in the fixtures folder and uses only the Python standard library, so it needs no token to try. Running it against the live server requires a McDonald's MCP token.
Key features
- 01Compares single-item, meal-set and coupon-based orders for the current store.
- 02Prices each candidate through the MCP calculate-price tool instead of estimating.
- 03Flags coupon stacking or add-on purchases that end up costing more.
- 04Reports coupons nearing expiry and their face value from past and current coupon data.
- 05Summarizes order history by average spend and time of day.
- 06Runs fully offline in demo mode with recorded responses.
Use cases
- Choosing the cheapest meal combination within a fixed budget at a McDonald's store.
- Checking whether it is worth using a coupon or adding items to meet its threshold.
- Tracking coupons and points that are about to expire on a McDonald's account.
- Learning how to build an MCP-based ordering workflow with a layered adapter design.
Quick start
- 1
Clone the repository
git clone https://github.com/Ayzzz123/mcd-coupon-strategist.git - 2
Enter the project directory
cd mcd-coupon-strategist - 3
Run the zero-config demo (no MCP token needed)
python demo.py
Things to know
- Live use requires a McDonald's China MCP Token obtained from open.mcd.cn.
- Savings estimates for coupons without a barcode or menu match may be reported as unknown.
Topics
FAQ
- What is mcd-coupon-strategist?
- A McDonald's China MCP-based Skill that calculates the cheapest way to order at your store and flags coupons about to expire. mcd-coupon-strategist is a Python ordering-cost assistant built on the McDonald's China MCP server. For a single order, it pulls the current store's menu and the coupons available at that store, enumerates combinations of single items, meal sets, coupon stacks and add-on items, and prices each candidate through the MCP calculate-price tool. It then recommends the cheapest option and warns when adding items to reach a coupon threshold ends up costing more.
- Is mcd-coupon-strategist free to use? What license does it have?
- mcd-coupon-strategist is open source under the MIT license. Check the license terms before using it in commercial products.
- Is mcd-coupon-strategist still maintained?
- Actively maintained. The last commit to mcd-coupon-strategist was on Oct 14, 2026.
- What can I use mcd-coupon-strategist for?
- Choosing the cheapest meal combination within a fixed budget at a McDonald's store. Checking whether it is worth using a coupon or adding items to meet its threshold. Tracking coupons and points that are about to expire on a McDonald's account. Learning how to build an MCP-based ordering workflow with a layered adapter design.
- How do I install mcd-coupon-strategist?
- Clone the repository: git clone https://github.com/Ayzzz123/mcd-coupon-strategist.git Enter the project directory: cd mcd-coupon-strategist Run the zero-config demo (no MCP token needed): python demo.py
- Where can I get mcd-coupon-strategist?
- The source code and installation instructions are on GitHub: https://github.com/Ayzzz123/mcd-coupon-strategist
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Self-hosted personal AI agent framework in Python with a browser WebUI, terminal client, chat app channels, tools, memory and MCP support.
Open-source agent chatbot platform that connects LLMs, plugins and agent tools to IM apps like QQ, Telegram, Slack and Discord.
An opinionated, batteries-included agent harness for Python that runs long multi-step tasks out of the box on LangGraph.
An open-source autonomous research agent that plans questions, gathers web and local sources, and writes cited reports with any LLM provider.
Agent-native memory infrastructure that turns LLM agent conversations and execution into persistent, structured memory for Python and TypeScript apps.