McDonald's Assistant for Openclaw

An automated AI skill for querying McDonald's coupons, managing discounts, and accessing real-time nutritional data via MCP integration.

hi-yu
v1.0.0
Feb 5, 2026
0
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install mcdonald-cn

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install mcdonald-cn using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is McDonald's Assistant?

The McDonald's Assistant is a specialized toolset designed for Openclaw Skills that bridges AI agents with the McDonald's MCP service. It provides a robust interface for users to interact with lifestyle and fast-food data, allowing for seamless automation of tasks that typically require manual app navigation. This skill empowers developers to build agents that can intelligently suggest meals based on caloric needs or ensure users never miss a promotional discount by automating the coupon binding process.

By integrating this module into your Openclaw Skills environment, you gain programmatic access to event calendars, store-specific offers, and detailed macro-nutrient breakdowns. The skill utilizes secure JSON-RPC 2.0 calls to interact with official endpoints, ensuring that the data presented by the AI is both accurate and timely.

McDonald's Assistant Use Cases

  • Automatically scanning and claiming all available discount coupons for a user account.
  • Planning healthy meals by querying energy, protein, and fat content for specific menu items.
  • Checking the promotional calendar to find the best days for specific menu deals.
  • Integrating real-time fast food data into lifestyle and fitness tracking bots.

How McDonald's Assistant Works

  1. The AI agent detects a McDonald's related intent such as "find coupons" or "how many calories are in a Big Mac."
  2. The skill initializes a connection to the McDonald's MCP server using the configured MCD_TOKEN.
  3. A POST request is sent via curl containing a JSON-RPC 2.0 payload to the specified tool method.
  4. The MCP service processes the request and returns structured data regarding coupons, nutrition, or events.
  5. The agent parses the result and presents it to the user in a developer-friendly format like Markdown tables or organized lists.

McDonald's Assistant Setup

To utilize this skill within the Openclaw Skills ecosystem, you must first obtain an API Token from the official MCP portal.

  1. Register and log in at https://mcp.mcd.cn to retrieve your Token.
  2. Set your environment variables:
# Required: Set your personal access token
export MCD_TOKEN="YOUR_TOKEN_HERE"

# Optional: Set a custom MCP URL if different from default
export MCD_MCP_URL="https://mcp.mcd.cn"

McDonald's Assistant Data Schema & Taxonomy

The skill processes and returns data using a structured taxonomy to ensure compatibility with various AI models. Key data structures include:

Category Attributes
Coupon Data name, discount_amount, expiration_date, usage_conditions
Nutrition Data item_name, energy_kcal, protein_g, fat_g, carbohydrate_g, sodium_mg
Event Info campaign_name, start_time, end_time, description
System Info current_timestamp, rpc_status, error_codes

McDonald's Assistant Advanced Features

  • Bulk coupon binding: Use the auto-bind-coupons tool to claim every available offer in a single operation.
  • Smart meal pairing: Leverage nutritional data to programmatically calculate total calories for custom meal sets.
  • Temporal awareness: Automatically calls now-time-info to verify if a specific promotion is active before recommending it.
  • Multi-page coupon retrieval: Supports pagination for users with extensive lists of claimed rewards.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*