JD Saver
JD Saver - 京东省钱助手
FastMCP ベースの京东联盟クーポンアシスタントです。Poke Recipe 経由で配布されます。
機能
🔍 隠れクーポンを検索
🔗 CPS リンク変換でコミッションを獲得(短縮リンクでプライバシー保護)
💰 総合節約プラン(クーポン+おまとめ購入)
🔔 値下げ通知(ユーザーは自分の Poke で設定可能)
📈 価格履歴の追跡
Related MCP server: Taiwan Price Compare MCP
クイックスタート(ローカル開発)
cd jd-saver
pip install -r requirements.txt
# 配置环境变量
export JD_APP_KEY=your_key
export JD_APP_SECRET=your_secret
export JD_PID=123456_1000
# 启动
python -m serverDocker デプロイ(Oracle サーバー)
cd docker
cp .env.example .env # 填入凭证
# 构建并启动
docker compose up -d --build
# 验证服务
curl http://localhost:8765/ssePoke Recipe の公開
方法 1: MCP を手動で追加(推奨)
MCP サーバー URL を追加:
https://jinli.dajiayouxuan.com/mcp名称:
JD Saver
方法 2: CLI で追加
poke mcp add https://jinli.dajiayouxuan.com/mcp --name "JD Saver"方法 3: Recipe の作成(開発段階)
# 启动本地隧道
npx poke@latest tunnel http://localhost:8765/mcp --name "jd-saver" --recipe注意:トンネルは開発テスト専用です。本番環境では方法 1 または 2 を使用してください。
MCP ツール一覧
ツール | 説明 |
| クーポンを検索 |
| リンク変換で短縮リンクを生成 |
| 総合節約プラン |
| 値下げ通知を設定 |
| 過去の価格を照会 |
| 最低価格を更新 |
| おまとめ購入の割引プラン |
使用方法
ユーザーは Poke での会話を通じてこれらのツールを使用できます:
用户: 帮我查一下这个京东商品的优惠券
https://item.jd.com/12345678.html
用户: 设置降价提醒,目标价 199 元
https://item.jd.com/12345678.html
用户: 这个商品的历史价格是多少?
sku_id: 12345678ユーザーは自分の Poke で定期タスクを設定し、定期的に価格の変化を確認できます。
環境変数
変数 | 必須 | 説明 |
| ✅ | 京东联盟 App Key |
| ✅ | 京东联盟 App Secret |
| ✅ | プロモーション枠 PID(例:123456_1000) |
| ❌ | SQLite パス、デフォルトは |
| ❌ | キャッシュ有効期限(秒)、デフォルトは 300 |
| ❌ | 価格ポーリング間隔(秒)、デフォルトは 300 |
アーキテクチャの説明
用户 → EdgeOne CDN → 前端服务器 (122.51.106.193)
→ nginx 反向代理 → WireGuard → Oracle (144.24.11.95)
→ jd-saver Docker 容器 (:8765)
→ 京东联盟 API
→ SQLite 数据库プライバシー保護
コミッション率やコミッション額などの機密情報はサーバー側でフィルタリングされ、フロントエンドには返されません。
リンク変換後は短縮リンク
https://jinli.dajiayouxuan.com/go/{sku_id}を表示し、京东のドメインを公開しません。すべてのコミッションデータはサーバー側の内部でのみ使用されます。
パフォーマンス最適化
SQLite WAL モードは高並発での読み書きをサポートします。
TTL メモリキャッシュにより京东 API 呼び出しを削減します。
非同期の価格監視によりメインスレッドのブロックを回避します。
logrotate によるログローテーションでディスク占有を防止します。
GitHub
This server cannot be deployed
Maintenance
Related MCP Connectors
Real-time Amazon prices, product search, 90-day history, AI forecasts, and price drop alerts.
Amazon price history, real price drops, price alerts and a deals feed from your interests.
Track prices & price history on any online shop, with alerts and an API
AI-powered product search, affiliate links, and price negotiation for e-commerce platforms
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables affiliate marketing and product promotion across Taobao, JD.com, and Pinduoduo platforms with link conversion, product search, and order tracking capabilities.12 npm127ISC
- AlicenseAqualityCmaintenanceEnables price comparison across 7 major Taiwanese e-commerce platforms (momo, PChome, Coupang, ETMall, Rakuten, Yahoo Shopping, Yahoo Auction) with advanced filtering for finding the lowest prices on products.148 PyPI18MIT
- FlicenseNot gradedqualityCmaintenanceMonitors and analyzes product prices across major e-commerce platforms (Taobao, JD, PDD, 1688, Amazon) with tools for price alerts, competitor comparison, market trends, and deal detection.-
- FlicenseAqualityBmaintenanceEnables unified product search, coupon retrieval, and cross-platform price comparison across Taobao, JD, and Pinduoduo affiliate APIs through MCP.55-