@theyahia/wildberries-mcp
🗄 リポジトリはアーカイブされました
開発は theYahia/WWmcp に移転しました — 非西洋API向けMCPサーバーのモノレポ: CIS、MENA、アフリカ、LATAM、東南アジア。共通コア
@theyahia/mcp-core、統一CI、統一リリースパイプライン。ここにあったものの最新版:
servers/wildberries/npmパッケージは従来と同じ —
@theyahia/wildberries-mcp、これまで通りインストールして使用できます。 ここではもう何も更新されません。課題とpull requestはWWmcpへ。アーカイブ済み — 開発は theYahia/WWmcp に移転しました。 非西洋API向けMCPサーバーのモノレポです。 このパッケージの現在のバージョンは
servers/wildberries/にあります。 npmパッケージ@theyahia/wildberries-mcpは変更ありません。 課題とpull requestはそちらでお願いします。
@theyahia/wildberries-mcp
Wildberries Seller API 用のMCPサーバー — 商品、価格、在庫、注文、売上、FBS供給、分析、フィードバック、質問、返品、広告にわたる 30ツール。カテゴリ別ホストルーティング、レート制限、409ペナルティ保護付き。Stdio + Streamable HTTP トランスポート。
Related MCP server: wildberries-mcp
クイックスタート
npm install -g @theyahia/wildberries-mcp
# stdio transport (for Claude Desktop, Cursor, etc.)
WB_API_TOKEN=your_token wildberries-mcp
# Streamable HTTP transport
WB_API_TOKEN=your_token wildberries-mcp --httpClaude Desktop
claude_desktop_config.json に追加:
{
"mcpServers": {
"wildberries": {
"command": "npx",
"args": ["-y", "@theyahia/wildberries-mcp"],
"env": { "WB_API_TOKEN": "your_token_here" }
}
}
}Cursor / Windsurf / VS Code (Copilot) はMCP設定で同じ mcpServers ブロックを使用します。
Smithery
npx @smithery/cli install @theyahia/wildberries-mcp認証とトークンスコープ
Authorization: Bearer {WB_API_TOKEN} (JWT、有効期間180日)。トークンは セラーポータル の 設定 → APIアクセス で取得できます。
1つのトークンに複数の カテゴリスコープ を持たせることができます。各ツールは異なるAPIホストと通信するため、スコープが不足しているトークンは その ホストから 401 を返しますが、他のツールは引き続き動作します。必要なスコープを有効にしてください:
スコープ | 対象ツール |
コンテンツ |
|
価格・割引 |
|
マーケットプレイス |
|
統計 |
|
アナリティクス |
|
料金 (共通) |
|
フィードバック・質問 |
|
返品 |
|
広告 |
|
呼び出しが失敗すると、エラーメッセージにホスト名とWBの requestId が含まれるため、スコープ不足やホスト違いの問題が明確にわかります (例: WB API GET advert-api.wildberries.ru/adv/v1/balance → 401: ...)。
アーキテクチャ — カテゴリ別ホスト
Wildberries Seller API は 単一の ゲートウェイではありません。seller.wildberries.ru はWeb管理画面であり、APIはカテゴリ別ホストに分割されています。各リクエストは適切なホストにルーティングされます:
カテゴリ | ホスト |
コンテンツ |
|
価格・割引 |
|
マーケットプレイス (FBS) |
|
統計 |
|
アナリティクス |
|
共通 / 料金 |
|
フィードバック・質問 |
|
返品 |
|
広告 |
|
ツール (30)
商品・コンテンツ
ツール | メソッド | ホスト · エンドポイント |
| POST | content · |
| POST | content · |
| POST | prices · |
| PUT | marketplace · |
| POST | marketplace · |
注文・売上
ツール | メソッド | ホスト · エンドポイント |
| GET | marketplace · |
| GET | marketplace · |
| GET | statistics · |
| GET | statistics · |
| GET | statistics · |
倉庫・FBS供給
ツール | メソッド | ホスト · エンドポイント |
| GET | marketplace · |
| GET | marketplace · |
| POST | marketplace · |
| PATCH | marketplace · |
| PATCH | marketplace · |
| GET | marketplace · |
アナリティクス
ツール | メソッド | ホスト · エンドポイント |
| GET | statistics · |
| GET | statistics · |
| POST | analytics · |
| GET | analytics · |
価格リファレンス
ツール | メソッド | ホスト · エンドポイント |
| GET | common · |
| GET | common · |
フィードバック・質問
ツール | メソッド | ホスト · エンドポイント |
| GET | feedbacks · |
| PATCH | feedbacks · |
| GET | feedbacks · |
| PATCH | feedbacks · |
返品・広告
ツール | メソッド | ホスト · エンドポイント |
| GET | returns · |
| GET | advert · |
| GET | advert · |
| POST | advert · |
レート制限
Wildberries はリクエストをグローバルなプールではなく APIカテゴリごとに 計測し、バーストに対するペナルティとして 409 を返します。クライアントは ホストごとに 1つのトークンバケットリミッターを保持し、最も厳しいエンドポイントにはさらに細かいバケットを用意しています:
リクエスト間の最小間隔を持つホスト別トークンバケット。
409ペナルティ処理:X-Ratelimit-Retry-After/X-Ratelimit-Remainingを読み取り、ペナルティトークンを差し引き、指定された時間待機してから再試行します — ペナルティは問題のカテゴリにのみ適用されます。エンドポイントごとの厳格な上限 (paid-storage 作成/ダウンロード 1/分、ステータス 1/5秒、価格 ~10/6秒)。
デフォルト値は意図的に控えめに設定されており、アカウントの実際の制限を確認したら安全に引き上げられます。設定は不要です。
設定
変数 | 必須 | 説明 |
| はい | Wildberries Seller API トークン (JWT)。 |
| いいえ | リクエストごとのタイムアウト (ms) (デフォルト 30000)。 |
| いいえ |
|
HTTPエンドポイント (--http): POST /mcp (リクエスト)、GET /health ({ status, version, tools })。
デモプロンプト
「カタログの最初の50商品を現在の価格で一覧表示して。」 「過去30日間のABC分析を実行して — 収益の80%を占める商品はどれ?」 「FBS供給 'Morning 2026-06-23' を作成し、注文1001と1002を添付して、配送用に閉じてバーコードを取得して。」 「未回答の質問を表示して、最初の質問への返信を下書きして。」 「広告残高はいくらで、どのキャンペーンがアクティブ?」
開発
git clone https://github.com/theYahia/wildberries-mcp.git
cd wildberries-mcp
npm install
npm run build
npm testライセンス
MIT — LICENSE を参照。
Available Tools
30 toolsadd_orders_to_supplyC
Attach one or more assembly orders to an FBS supply
Inputs: orderIds (required), supplyId (required).
create_supplyC
Create a new FBS supply (delivery)
Inputs: name (required).
deliver_supplyA
Close an FBS supply and send it to delivery (orders move to 'in delivery')
Inputs: supplyId (required).
get_abc_analysisB
Compute ABC analysis of products by sales revenue (Pareto). A = products making up the top 80% of revenue, B = next 15%, C = bottom 5%. Identifies best-sellers and slow movers.
Inputs: dateTo (required), dateFrom (required).
get_balanceA
Get advertising account balance (balance, net account, bonuses)
Inputs: no named parameters.
get_campaign_statsC
Get full advertising statistics for one or more campaigns over a date range
Inputs: dateTo (required), dateFrom (required), campaignIds (required).
get_commissionB
Get WB commission rates per category (subject)
Inputs: locale.
get_fbw_stocksA
Get FBW stock levels (goods stored at WB warehouses) since a date
Inputs: dateFrom (required).
get_feedbacksB
Get product feedbacks (reviews)
Inputs: skip, take, order, isAnswered.
get_funnelB
Get the product sales funnel (views, add-to-cart, orders, buyouts) by period
Inputs: dateTo (required), dateFrom (required), page, nmIDs.
get_incomesC
Get FBW supply incomes (deliveries to WB warehouses) since a date
Inputs: dateFrom (required).
get_new_ordersA
Get new (unprocessed) FBS orders
Inputs: no named parameters.
get_ordersC
Get FBS orders list with filters
Inputs: next, limit, dateTo, dateFrom.
get_paid_storageB
Get the paid storage cost report for a period (async report: created, polled, then downloaded)
Inputs: dateTo (required), dateFrom (required).
get_productB
Get detailed info for specific product cards by nm IDs
Inputs: nmIDs (required).
get_questionsB
Get customer questions about products
Inputs: skip, take, order, isAnswered.
get_returnsB
Get buyer return claims (requests to return goods)
Inputs: nmId, limit, offset, isArchive.
get_salesC
Get sales report
Inputs: dateFrom (required), flag, dateTo.
get_statisticsC
Get detailed realization (sales) report by period
Inputs: dateTo (required), dateFrom (required), limit, rrdid.
get_stocksB
Get current FBS stock levels for a specific warehouse
Inputs: warehouseId (required), skus.
get_supplyC
Get FBS supplies (deliveries) list with pagination
Inputs: next, limit.
get_supply_barcodeA
Get the QR barcode for an FBS supply (available after deliver_supply)
Inputs: supplyId (required), type.
get_tariffsB
Get WB box (logistics & storage) tariffs for a date
Inputs: date.
get_warehousesA
Get list of WB warehouses (offices)
Inputs: no named parameters.
list_campaignsA
List advertising campaigns grouped by type and status (counts + IDs)
Inputs: no named parameters.
list_productsA
List seller products (cards) with pagination and optional text search
Inputs: limit, cursor, textSearch.
reply_feedbackB
Post a reply to a customer review on Wildberries
Inputs: id (required), text (required).
reply_questionB
Post an answer to a customer question on Wildberries
Inputs: id (required), text (required), state.
update_pricesB
Update product prices (creates an async upload task)
Inputs: prices (required).
update_stocksB
Update FBS product stocks at a specific warehouse
Inputs: stocks (required), warehouseId (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 30 tools
Most tools are clearly distinct (e.g., get_orders vs get_new_orders), but some overlap exists between reporting tools like get_sales, get_statistics, and get_funnel; however, descriptions clarify differences.
All tool names follow a consistent verb_noun pattern (e.g., list_campaigns, get_product, update_prices), with no mixed conventions or vague verbs.
30 tools is on the high side but appropriate given the breadth of Wildberries operations (advertising, products, orders, supplies, feedback, analytics). Each tool serves a specific need, though some consolidation could reduce count.
Covers most key areas but notable gaps exist: no create/update product card, no campaign management beyond stats/list. Core order and supply workflows are complete, but product lifecycle and advertising tools are missing update/delete operations.
Maintenance
Related MCP Connectors
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
Hosted MCP server for OTTO Market, Kaufland and Mirakl sellers: orders, stock, listings and ads.
Бесплатная русскоязычная аналитика Wildberries, SEO, калькуляторы и прогноз пополнения через MCP.
MCP server for SkuVault — products, inventory, sales, purchase orders and stock adjustments.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server for Wildberries API that enables fetching product cards with multi-cabinet support, automatic pagination, and retry logic.1-
- FlicenseNot gradedqualityDmaintenanceMCP server that turns Wildberries marketplace into a toolkit for LLM agents, enabling product search, detailed card inspection, price history, reviews, and cross-product comparison.-
- AlicenseAqualityDmaintenanceMCP server for Wildberries Seller API enabling management of products, orders, supplies, analytics, advertising, and finance through natural language commands.32MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that simplifies interaction with Wildberries API, providing unified access to analytics, promotion statistics, sales funnel data, search queries, stock reports, and EVIRMA PRO report imports.MIT