BuyKing MCP Server

io.github.accentist由 GitHub 帳號 accentist 發布v1.2.5更新於 Oct 24, 2026

Saleplaza BuyKing MCP: Semantic search for global shopping hot deals (US/JP/KR).

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理搜尋 Saleplaza 在美國、日本與韓國的購物熱門優惠,並查看單一商品詳情與價格歷史。

可以做什麼
在全球範圍或僅限韓國、美國、日本搜尋熱門優惠,支援關鍵字、分類、平台與排序篩選;結果帶有配送國家代碼與當地貨幣價格。依商品 ID 取得單一商品的價格、折扣、目標價、價格歷史、評分、購買連結與圖片。讀取伺服器版本資訊與功能清單。
適用情境
適合讓助理在美國、日本與韓國電商平台尋找購物優惠、將目前價格與價格歷史比較,或查詢搜尋結果中某個特定商品的詳情。
執行需求
以 npm 套件 buyking-mcp 透過 npx 在本機執行,需要 Node.js。此套件提供 Claude Desktop 設定範例。搜尋與詳情呼叫需連網存取 Saleplaza 服務;未宣告需要帳號、API 金鑰或環境變數。
安裝前請注意
商品資料、關鍵字與商品 ID 會傳送給第三方 Saleplaza 服務。直接 HTTP 端點依呼叫端 IP 計數,限制每分鐘 30 次請求、每天 500 次商品查詢,超限會回傳 HTTP 429。購買連結導向外部商店,交易於該處完成。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 BuyKing MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

BuyKing MCP Server

Read this in other languages: English, 日本語, 한국어

An MCP (Model Context Protocol) server providing the persona of "BuyKing, the Shopping Conqueror of Saleplaza."

Roar! I am BuyKing, the Shopping Conqueror of Saleplaza! I will find you the best hot deals you desire!

[Glama.ai BuyKing MCP Server Badge]

🏆 Glama.ai Official MCP Registry Certified A certified MCP server that has achieved the highest rating (Triple A) in all three categories: License, Quality, and Maintenance!

🚀 Features

✨ [v1.2.5] Product detail (result_detail_GLOBAL)

Search results now include a product ID line so a follow-up call can load one product. Titles in every country use title only.

When to call

  1. Call a search tool first (search_buyking_semantic, search_buyking_semantic_KR, search_buyking_semantic_US, or search_buyking_semantic_JP).
  2. Each result contains - 상품 ID: {id} (for example 25023).
  3. Call result_detail_GLOBAL only when the user wants more about that one product: price history, the store buy link, the image, or scores. Do not use it for a new keyword search.

How to call

Tool name: result_detail_GLOBAL. Argument id is required and must be a numeric string from 상품 ID.

bash
curl -X POST https://buyking.saleplaza.com/message \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "id": 1,    "method": "tools/call",    "params": {      "name": "result_detail_GLOBAL",      "arguments": { "id": "25023" }    }  }'

Response rules

  • The body is Markdown in result.content[0].text.
  • The shippable country is a PRODUCT_SHIPPING_REGIONS region code derived from currency: KRW → KR, USD → US, JPY → JP. Field labels follow that currency (Korean, English, Japanese).
  • The title is always title. title_en and title_ja are not returned.
  • The image is always origin_img_url, including for non-Amazon products. The image column is never returned. If origin_img_url is empty, the image line is the localized word for none.
  • Saleplaza page: KRW → https://saleplaza.com/{id}, USD → https://saleplaza.com/en/{id}, JPY → https://saleplaza.com/ja/{id}. The buy link is the link column.
  • Dealchelin stars are computed from sp_score (85+ is 3, 70+ is 2, otherwise 1). It is not a database column.
  • A non-numeric id returns an error sentence. An unknown id and a hidden product (is_visible is not 1) return the same "not in the vault" sentence, with no title, price, link, or image.

Response fields, in order

Labels below are the Korean (KRW) names. USD uses the English names, JPY the Japanese names.

FieldKRW labelUSD labelJPY label
id상품 IDProduct ID商品ID
title제목Titleタイトル
shipping region code배송가능국가Ships to配送可能国
platform플랫폼Platformプラットフォーム
category카테고리Categoryカテゴリ
origin_img_url이미지Image画像
Saleplaza URL세일프라자Saleplazaセールプラザ
link구매 링크Buy link購入リンク
original_price원래 가격Original元の価格
price지금 혜택가Deal Price特価
discount할인Discount割引
target_price목표가Target price目標価格
price_history가격 히스토리Price history価格履歴
lowest in history기간 내 최저가Lowest in range期間内最安値
highest in history기간 내 최고가Highest in range期間内最高値
current vs first history row첫 기록 대비 현재가Current vs first record最初の記録と比べた現在価格
deal_status딜 상태Deal statusディール状態
deal_checked_at딜 확인 시각Deal checked atディール確認時刻
sp_scoreSP ScoreSP ScoreSP Score
computed stars딜슐랭Dealchelinディールシュラン
customer_grade고객 등급Customer grade顧客グレード
buyking_comment바이킹 曰BuyKing saysバイキング曰く
recommend_reason추천 이유Recommend reasonおすすめ理由
click_count클릭 수Clicksクリック数
likes_count좋아요Likesいいね
dislikes_count싫어요Dislikesよくない
opinion_cnt의견 수Opinions意見数
created_at등록 시각Listed at登録日時

price_history is a list of { date: "YYYY-MM-DD", price } rows, newest dates last, at most 10. When history exists, the three summary lines follow that list. When it is missing or not valid JSON, the history line says there is no record yet and the summary lines are omitted.

KR (KRW, Korean labels):

text
- 상품 ID: 25023- 제목: ...- 배송가능국가: KR- 플랫폼: ali- 카테고리: ...- 이미지: https://ae-pic-a1.aliexpress-media.com/...jpg- 세일프라자: https://saleplaza.com/25023- 구매 링크: https://...- 원래 가격: KRW 3,261- 지금 혜택가: KRW 3,250- 할인: 1%- 목표가: KRW 2,500- 가격 히스토리:  - 2026-10-04: KRW 35,900- 기간 내 최저가: KRW 35,900- 기간 내 최고가: KRW 35,900- 첫 기록 대비 현재가: KRW 0- 딜 상태: ...- 딜 확인 시각: ...- SP Score: 74- 딜슐랭: 2성- 고객 등급: ...- 바이킹 曰: ...- 추천 이유: ...- 클릭 수: 0- 좋아요: 0- 싫어요: 0- 의견 수: 0- 등록 시각: 2026-10-01T15:00:01.000Z

US (USD, English labels):

text
- Product ID: 25023- Title: ...- Ships to: US- Platform: amazon- Category: ...- Image: https://m.media-amazon.com/...jpg- Saleplaza: https://saleplaza.com/en/25023- Buy link: https://...- Original: USD 29.9- Deal Price: USD 19.9- Discount: 33%- Target price: none- Price history:  - 2026-09-01: USD 25  - 2026-09-20: USD 19.9- Lowest in range: USD 19.9- Highest in range: USD 25- Current vs first record: USD -5.1- Deal status: ...- Deal checked at: ...- SP Score: 88- Dealchelin: 3-star- Customer grade: ...- BuyKing says: ...- Recommend reason: ...- Clicks: 0- Likes: 0- Dislikes: 0- Opinions: 0- Listed at: 2026-10-01T15:00:01.000Z

JP (JPY, Japanese labels):

text
- 商品ID: 25023- タイトル: ...- 配送可能国: JP- プラットフォーム: jp-amazon- カテゴリ: ...- 画像: https://m.media-amazon.com/...jpg- セールプラザ: https://saleplaza.com/ja/25023- 購入リンク: https://...- 元の価格: JPY 1,980- 特価: JPY 1,480- 割引: 25%- 目標価格: なし- 価格履歴:  - 2026-10-04: JPY 1,980- 期間内最安値: JPY 1,480- 期間内最高値: JPY 1,980- 最初の記録と比べた現在価格: JPY -500- ディール状態: ...- ディール確認時刻: ...- SP Score: 74- ディールシュラン: 2つ星- 顧客グレード: ...- バイキング曰く: ...- おすすめ理由: ...- クリック数: 0- いいね: 0- よくない: 0- 意見数: 0- 登録日時: 2026-10-01T15:00:01.000Z

✨ [v1.2.1 New] Enhanced Multilingual Global Search

Find global shopping hot deals smarter without language barriers!

  • Massive Multilingual Dictionary Built-in: Accurately and instantly matches global products without AI mistranslation (e.g., translating "mouse" to an animal) using a hashmap of 1,000+ core shopping keywords (English, Japanese ↔ Korean).
  • Smart Priority Sorting by Input Language: Automatically detects the user's input language (English, Japanese, Korean) in 0.1 seconds and prioritizes hot deals using that country's currency (USD, JPY, KRW) to the top. (e.g., searching for apple in English will show 🇺🇸US products first!)

Provided Tools — 6

🌍 Global Search
  • search_buyking_semantic: Semantically searches hot deals worldwide without borders. Each product is labeled with a shipping country code (🇰🇷KR/🇺🇸US/🇯🇵JP).
🇰🇷 Korea Exclusive
  • search_buyking_semantic_KR: Searches only hot deals directly shippable within Korea. KRW(₩) pricing, Korean results.
🇺🇸 US Exclusive
  • search_buyking_semantic_US: US-deliverable hot deals only. USD($) pricing, English results.
🇯🇵 Japan Exclusive
  • search_buyking_semantic_JP: Searches only hot deals deliverable within Japan. JPY(¥) pricing, Japanese results.
🔎 Product Detail
  • result_detail_GLOBAL: Fetches one product and its price history by the product ID from a search result. The shippable country is a region code from currency, matching PRODUCT_SHIPPING_REGIONS (KRW → KR, USD → US, JPY → JP). Parameter id (required).
ℹ️ Server Info
  • get_server_info: Returns the version information and feature list of the BuyKing MCP server.

Common Parameters

All search tools support the same parameters:

ParameterTypeRequiredDescriptionExample
keywordstring✅Product keyword to search"wireless mouse", "earbuds"
categorystring❌Category filter"💻 IT/Electronics/Digital"
platformstring❌Platform filter"amazon", "aliexpress"
sortstring❌Sort condition"newest", "price_asc", "price_desc"

Server Endpoints

  • HTTP JSON-RPC: https://buyking.saleplaza.com/message
  • MCP Discovery: https://buyking.saleplaza.com/.well-known/mcp.json
  • LLMs.txt: https://buyking.saleplaza.com/llms.txt

📦 Installation

bash
npm install buyking-mcp

🔧 Configuration

Using in Claude Desktop

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{  "mcpServers": {    "buyking-mcp": {      "command": "npx",      "args": ["-y", "buyking-mcp@latest"]    }  }}

💡 Tip: Using the @latest tag ensures you always have the latest version installed, preventing cache issues.

🔌 Direct API Call

https://buyking.saleplaza.com/message counts each caller IP.

  • Every POST /message counts toward 30 requests per minute.
  • Search tools and result_detail_GLOBAL also count toward 500 product lookups per day. The day resets at 00:00 Korea Standard Time.
  • tools/list and get_server_info count toward the minute limit only.

Over the limit the server returns HTTP 429 and does not query the product API. The stdio package npx buyking-mcp does not pass through this Worker, so this limit applies to the HTTP endpoint.

HTTP JSON-RPC Example

bash
# Global Searchcurl -X POST https://buyking.saleplaza.com/message \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "id": 1,    "method": "tools/call",    "params": {      "name": "search_buyking_semantic",      "arguments": {        "keyword": "wireless mouse"      }    }  }'

🏗️ Development

Dependencies

  • Node.js
  • TypeScript
  • @modelcontextprotocol/sdk

Build

bash
npm run build

Local Test

bash
npm run dev

Cloudflare Workers Deployment

bash
npm run deploy

📝 License

ISC


Roar! Take the best loot from my treasure trove!

來源:README.md,提交 f0b7e23

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v1.2.5最新Oct 5, 2026
  2. v1.2.1Sep 18, 2026
  3. v1.1.2Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分