Skip to main content
Glama

flipp-mcp

Unofficial MCP server for Flipp flyers and deals — grocery and retail sale prices, no API key required. Flyers are location-specific, so every flyer/item call takes a postal code.

Deploy to Cloudflare

Run it locally over stdio, or deploy it to Cloudflare Workers as a remote MCP server (stateless Streamable HTTP). Ships a flipp-deals Agent Skill so Claude and ChatGPT learn the deal-hunting workflow straight from the server.

Tools

Tool

What it does

search_items

Search deals by keyword near a postal code

get_item

Full detail for one item (price, sale story, dates, image)

list_flyers

Flyers near a postal code, optional merchant filter

get_flyer_items

Items in one flyer, optional query filter

list_merchants

Retailers Flipp tracks, optional query filter

get_nearby_stores

Physical stores carrying a given flyer

Postal codes: Canada A1A1A1 (e.g. M5V2T6), US 5-digit ZIP (e.g. 10001). locale is en (default) or fr. limit is 1–50.

Related MCP server: Daiso MCP Server

Quickstart (local)

npm install
npm run build
node dist/index.js        # stdio

Claude Desktop / Claude Code (claude_desktop_config.json):

{
  "mcpServers": {
    "flipp": {
      "command": "node",
      "args": ["<path-to>/flipp-mcp/dist/index.js"]
    }
  }
}

Remote (Cloudflare Workers)

One click (forks the repo to your account and wires up builds):

Deploy to Cloudflare

Or manually:

npx wrangler login
npm run deploy      # -> https://flipp-mcp.<your-subdomain>.workers.dev/mcp

Point any Streamable-HTTP MCP client at https://<your-worker>.workers.dev/mcp.

Auth (single password via OAuth 2.1)

The Worker is a spec-compliant OAuth 2.1 resource server. Set one password as a secret — it's entered once on the /authorize page, the client gets tokens via DCR + PKCE, no other infrastructure needed:

wrangler secret put FLIPP_MCP_PASSWORD   # type a long random value

Local dev: echo 'FLIPP_MCP_PASSWORD=dev-password' > .dev.vars (gitignored) then npm run dev:worker.

  • No password set → /mcp returns 401 (fail-closed). stdio is unaffected (local process, no auth).

  • Claude: add custom connector → sign in (OAuth + PKCE + DCR are automatic), or "No sign-in" with a Request header carrying an access token minted via the flow below.

  • ChatGPT: add custom MCP server → OAuth sign-in (DCR is automatic). ChatGPT requires OAuth — a static bearer value alone won't connect it.

  • Claude Code / API clients: --header "Authorization: Bearer <oauth-access-token>" after completing the code flow once, or paste the password-derived login via /mcp auth.

Endpoints: /.well-known/oauth-protected-resource, /.well-known/oauth-authorization-server, /register, /authorize, /token. Tokens are stateless HMAC-signed (5-min codes, 1-h access, 30-d refresh) — rotating the password re-keys everything.

Skill

skills/flipp-deals/SKILL.md teaches agents the workflow: ask for a postal code, search then drill down, always quote flyer expiry dates. Served live over the Skills extension (skills/list + skills/get on skill://flipp-deals/SKILL.md); ChatGPT can also import it at plugin submission, or copy skills/flipp-deals/ into your agent's skills folder.

How it works

Uses the same JSON backends as the Flipp web app:

  • Primary: https://dam.flippenterprise.net/api/flipp

  • Fallback: https://backflipp.wishabi.com/flipp (search + item detail)

10s upstream timeout, 2 retries on 429/5xx, random 16-digit sid per call (required by Flipp).

Dev

npm run typecheck   # tsc --noEmit
npm test            # vitest (mocked, offline)

Disclaimer

Unofficial project, not affiliated with Flipp/Wishabi. Uses undocumented endpoints that may change without notice. Be gentle — cache flyer lists per postal code instead of re-querying.

Available Tools

6 tools
get_flyer_itemsC

List items in one flyer, optionally filtered by keyword.

Inputs: flyer_id (required), postal_code (required), limit, query, +1 more.

get_itemB

Get detail for one flyer item by id (from search_items).

Inputs: item_id (required), locale.

get_nearby_storesC

Stores near a postal code carrying a given flyer.

Inputs: flyer_id (required), postal_code (required), locale.

list_flyersC

List flyers near a postal code, optionally filtered by merchant.

Inputs: postal_code (required), limit, locale, merchant.

list_merchantsC

List Flipp merchants/stores, optionally filtered by name.

Inputs: query, locale.

search_itemsB

Search flyer deals by keyword near a postal code (CA A1A1A1 or US ZIP).

Inputs: query (required), postal_code (required), limit, locale.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: listing flyers, listing items within a flyer, searching items across flyers, resolving a single item, listing merchants, and finding nearby stores. The only mild overlap is between get_flyer_items with a keyword filter and search_items, though the scope difference is explained. list_merchants and get_nearby_stores are also related but differ by postal-code/flyer context.

    Naming Consistency5/5

    All names follow a consistent snake_case verb_noun pattern: list_flyers, get_flyer_items, get_nearby_stores, search_items, get_item, and list_merchants. The style is predictable and readable throughout.

    Tool Count5/5

    Six tools is well-scoped for a read-only flyer browsing/search server. Each tool covers a distinct step in the discovery flow without obvious redundancy.

    Completeness4/5

    The surface covers the main read-only lifecycle: finding flyers and merchants, browsing flyer items, searching deals, getting item details, and locating nearby stores. Minor gaps exist, such as direct flyer detail lookup or store detail retrieval, but core workflows are supported.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables querying and comparing product prices across different marketplaces with real-time updates. Deployable on Cloudflare Workers with tools for searching products, comparing prices, and retrieving price history.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables agents to search live public airfares between airports across a date window or flexibility range, returning itineraries with prices, times, layovers, and cheapest/fastest/compromise picks, plus offline airport resolution. It runs locally over stdio with no API key, and reports missing fields honestly rather than inventing bags, fares, or prices.
      2
      MIT