npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@striderlabs/mcp-mcdonalds

v0.1.0

Published

MCP server connector for McDonald's - browser automation with Playwright

Downloads

39

Readme

@striderlabs/mcp-mcdonalds

An MCP (Model Context Protocol) server for McDonald's — browse the menu, find nearby locations, manage a cart, place mobile orders, and check deals & rewards using Playwright browser automation.

Features

  • Search Menu — Search McDonald's menu items by name, category, or keyword
  • Find Restaurants — Locate nearby McDonald's with address, hours, and distance
  • Cart Management — Add items with customizations, view cart totals
  • Place Orders — Submit mobile pickup orders
  • Deals — Browse current McDonald's promotions
  • Rewards — Check MyMcDonald's points and available offers

Installation

npm install @striderlabs/mcp-mcdonalds
npx playwright install chromium

Usage

As an MCP server (Claude Desktop / Cursor / etc.)

Add to your MCP client config (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "mcdonalds": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-mcdonalds"]
    }
  }
}

Run directly

npx @striderlabs/mcp-mcdonalds

Tools

search_menu

Search McDonald's menu items.

Input: | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | query | string | Yes | Search term (e.g. "burger", "chicken", "breakfast") |

Example:

{ "query": "Big Mac" }

find_restaurant

Find nearby McDonald's locations.

Input: | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | location | string | Yes | Address, city, or ZIP code |

Example:

{ "location": "Chicago, IL" }

add_to_cart

Add a menu item to your cart.

Input: | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | menuItemId | string | Yes | Item ID from search_menu | | name | string | Yes | Display name | | price | number | Yes | Price per item (USD) | | quantity | number | No | Quantity (default: 1) | | customizations | object | No | Key-value customization pairs |

Example:

{
  "menuItemId": "big-mac",
  "name": "Big Mac",
  "price": 5.99,
  "quantity": 2,
  "customizations": { "Sauce": "Extra" }
}

view_cart

View current cart contents and totals.

No input required.


place_order

Place a mobile pickup order.

Input: | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | restaurantId | string | Yes | Restaurant ID from find_restaurant | | restaurantName | string | Yes | Restaurant name/address | | pickupTime | string | No | Pickup time (default: "ASAP") | | notes | string | No | Special instructions |

Example:

{
  "restaurantId": "rest_001",
  "restaurantName": "McDonald's - 123 Main St",
  "pickupTime": "12:30 PM"
}

Note: Full order placement requires McDonald's app authentication. The server generates an order ID and summary; complete payment through the McDonald's app.


get_deals

Get current McDonald's deals and promotions.

No input required.


get_rewards

Check MyMcDonald's rewards balance and offers.

Input: | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | includeOffers | boolean | No | Include available offers (default: true) |


How It Works

The server uses Playwright to automate a headless Chromium browser, navigating mcdonalds.com to fetch live menu data, restaurant locations, deals, and rewards information. A static fallback dataset is used when scraping is unavailable (e.g. network issues or layout changes).

Cart state is maintained in-memory for the duration of the MCP session.

Development

git clone https://github.com/markswendsen-code/mcp-mcdonalds
cd mcp-mcdonalds
npm install
npx playwright install chromium
npm run dev      # watch mode
npm run build    # production build

License

MIT