groupon

groupon is a skill for Claude Code, Codex from chrischall/groupon-mcp. It costs 59 tokens per session (661 once invoked), scanned A, original, MIT.

A terminal skill for finding and reading Groupon deals through Groupon's consumer GraphQL API. Groupon is a marketplace for discounted local services, travel, and products.

In plain words
What is it for?
Use it to search a city's deals, read one deal's details, or browse Groupon's categories.
Why use it?
It avoids needing a browser login, API key, or manually prepared GraphQL requests.

Skill for Claude CodeCodex

Part of the groupon-mcp plugin — 1 skill, 2 MCP servers shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/chrischall/groupon-mcp/groupon
Any agent
npx skills add chrischall/groupon-mcp --skill groupon
Clone the repo
git clone --depth 1 https://github.com/chrischall/groupon-mcp

Made for: Claude Code, Codex.

Or install groupon-mcp, the plugin that ships this one along with the rest of its 1 skill, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for groupon

README.md
[![agentmods](https://agentmods.dev/badge/skills/chrischall/groupon-mcp/groupon.svg)](https://agentmods.dev/skills/chrischall/groupon-mcp/groupon)
Your own site
<a href="https://agentmods.dev/skills/chrischall/groupon-mcp/groupon"><img src="https://agentmods.dev/badge/skills/chrischall/groupon-mcp/groupon.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 661 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00661
Opus 5 $0.00030 $0.00331
Sonnet 5 $0.00012 $0.00132
Haiku 4.5 $0.00006 $0.00066

Measured 5d ago against content hash 5c7d321d63a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

groupon scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Search and read Groupon deals from the terminal via curl — the consumer GraphQL API (deal search/browse, deal detail, category taxonomy). Anonymous, no key or login. Use when asked to find Groupon deals, loo
skills/groupon/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Groupon deals via curl

Groupon's consumer deal data comes from one GraphQL endpoint that answers a plain server-side curl with no cookies, no key, no login, no bot wall:

POST https://www.groupon.com/mobilenextapi/graphql
  -H 'content-type: application/json'
  -H 'apollographql-client-name: mobilenextapi'

Requests are a batched JSON array of Apollo persisted-query operations (operationName + variables + extensions.persistedQuery.sha256Hash, no query text — introspection is off and the server masks GraphQL errors as opaque 400 HTML, so you cannot hand-author queries). The response is a JSON array; .[0].data.<field> holds the payload. Ready-to-run bodies + jq recipes are in references/graphql-queries.md.

The three operations

Need Op Root field
Search / browse a city's deals BrowseDealFeed .[0].data.browseDealFeed.cards
One deal's full detail (options, price, reviews, fine print) getDeal .[0].data.getDeal
Category taxonomy GetMainNavigation .[0].data...

division is a Groupon city slug (new-york, chicago, syracuse, los-angeles, …). dealId for getDeal is a deal's permalink slug = the last path segment of a card's .url (https://www.groupon.com/deals/<dealId>).

Two failure modes

  • Empty / non-JSON 2xx → almost always a challenge interstitial; retry, don't JSON.parse it blind.
  • {"errors":[{"message":"PersistedQueryNotFound"}]} → the baked sha256Hash went stale (Groupon redeployed its frontend queries). Re-capture it:
    1. Open a Groupon search page in a signed-in-or-not browser, DevTools → Network.
    2. Filter for mobilenextapi/graphql, click the request whose payload operationName matches the one you need.
    3. Copy extensions.persistedQuery.sha256Hash from the request payload and replace the stale hash in references/graphql-queries.md. (The hash is a public query fingerprint, not a secret.)

Read the full file on GitHub · 50 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 50 lines · 59 tokens per session scan A 5c7d321d63a7

Subscribe to this mod's changes

groupon is a skill published in the GitHub repository chrischall/groupon-mcp (1 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 661 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories