megamarket-connector · git:20260816.fb31033 · 2026-08-16 · sha256 5263e0275690fce5

megamarket-connector git:20260816.fb31033A

Immutable. This exact content never changes and is served at /api/v1/blob/5263e0275690fce5.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_dmqf6ovkb74rcir7/5263e0275690fce5517dd4691e75cfcd6b0cd93c1a3ac79b57cd044f2cce259b.json

Then /plugin install megamarket-connector@markdownregistry-dmqf6ovkb74rcir7 in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: megamarket-connector
description: Use this skill when the operator needs Megamarket data — search the catalog or read a product card. Trigger on "мегамаркет", "megamarket", "цена мегамаркет". Always needs the operator's Chrome over CDP (ServicePipe IP block). Skip for non-Megamarket tasks.
---

# Megamarket Connector

Reads Megamarket via its internal mobile JSON API, POSTed from inside the
operator's Chrome over CDP. ServicePipe gates the whole site by IP reputation:
the API returns valid JSON, but the JSON is always the code-7 "отключите VPN"
refusal with your own IP echoed back. Passing the ServicePipe challenge is not
enough on its own: an anonymous browser that has cleared it still reads an empty
`items` list. Real catalog data needs a browser that is actually logged in.

## When to use
- Search the Megamarket catalog by text
- One product's price, old price, availability, rating

## Tools available
- `megamarket_search(query)` — items + total count. price_rub None when absent.
- `megamarket_card(item_id_or_url)` — one product card

**Not an MCP tool:** `megamarket_selfcheck()` is a tri-state canary, where a
code-7 refusal is inconclusive (transport), never drift. It is CLI-only —
`marketplace-mcp doctor` runs every connector's canary at once.

## Gotchas
- A code-7 / VPN-error body is an IP block, not data — the connector maps it to
  transport_down with the fix inline.
- Run megamarket_selfcheck from your Chrome first: these endpoints were probed
  anonymously, and only a challenge-passed session confirms the in-browser shape.
- A missing price is `null`, never `0`: `price_rub: null` means Megamarket had
  no usable price — treat it as no data, never as a free item.