竞争性价格调整代理

一个AI驱动的竞争性价格调整系统,监控竞争对手价格并自动调整Stripe产品价格以保持竞争力。

  • by ajeetraina
  • 本地部署
  • 4 星标
  • 更新于
在 GitHub 查看 ajeetraina/competitive-intelligence-agent-mcp

使用说明

竞争性再定价代理(MCP供电)

一个由人工智能驱动的竞争性重新定价系统,可以监控竞争对手的价格,并自动调整您的Stripe产品价格以保持竞争力。内置于 ChatGPT+Docker MCP工具包.

                    ┌─────────────────────────────────┐
                    │         USER REQUEST            │
                    │  "Stay competitive on pricing"  │
                    └───────────────┬─────────────────┘
                                    │
            ┌───────────────────────┴───────────────────────┐
            │                                               │
            ▼                                               ▼
┌───────────────────────────┐               ┌───────────────────────────┐
│      CLAUDE + MCP         │               │        CHATGPT            │
├───────────────────────────┤               ├───────────────────────────┤
│                           │               │                           │
│  🔥 Firecrawl  ──► SCRAPE │               │  💬 "You could use        │
│  🗄️ SQLite    ──► STORE   │               │      BeautifulSoup..."    │
│  💳 Stripe    ──► UPDATE  │               │                           │
│  🐙 GitHub    ──► AUDIT   │               │  💬 "Here's example       │
│  🧠 Thinking  ──► DECIDE  │               │      code for Stripe..."  │
│                           │               │                           │
├───────────────────────────┤               ├───────────────────────────┤
│         ACTION            │               │        ADVICE             │
│   (Actually does it)      │               │   (Tells you how)         │
└───────────────────────────┘               └───────────────────────────┘
            │                                               │
            ▼                                               ▼
┌───────────────────────────┐               ┌───────────────────────────┐
│  ✅ Price: $504.99        │               │  📋 Copy code             │
│  ✅ Stripe: Updated       │               │  📋 Set up environment    │
│  ✅ SQLite: Logged        │               │  📋 Configure APIs        │
│  ✅ GitHub: Committed     │               │  📋 Run manually          │
│                           │               │  📋 Debug errors          │
│  TIME: 2 minutes          │               │  TIME: Hours/Days         │
└───────────────────────────┘               └───────────────────────────┘

🎯 这有什么作用

此代理演示了ChatGPT无法单独复制的功能:

  • 监控竞争对手的价格 实时(亚马逊、百思买、沃尔玛)
  • 自动重新打印 您的Stripe产品将击败竞争对手
  • 记录所有决策 转到SQLite进行审计跟踪
  • 推送报告 转到GitHub以获取合规性

🔧 使用的MCP服务器

服务器 用途
火爬 从零售网站上删除竞争对手的价格
条纹 自动更新您的产品价格
数据库 商店定价历史和审计日志
GitHub 推送重新定价报告以实现合规性
顺序思维 复杂的定价策略决策
背景7 最新的图书馆文档
Node.js沙盒 统计计算

📊 最新演示结果

日期: 2025年12月9日
产品: MacBook Air M3 13英寸256GB

采取的重新定价行动

度量 之前 之后
您的价格 549.99美元 504.99美元
价格变动 -- -45.00美元(-8.2%)
市场地位 第三 #1最低

竞争格局

零售商 价格 与我们的价格
我们的商店 $504.99 ✅ 市场领导者
百思买 509.99美元 +5.00美元(我们赢了1%)
沃尔玛 669.00美元 上涨164.01美元
亚马逊 699.00美元 上涨194.01美元

应用策略:UNDERCUT

  • 触发: 百思买跌至509.99美元(低于我们的549.99美元)
  • 计算: $509.99 × 0.99 = $504.99
  • 结果: 我们现在的价格是最低的1%

🏗️ 建筑

User: "Monitor MacBook Air M3 prices and stay competitive"
     │
     ▼
┌────────────────────────────────────────────────────────────────┐
│                   ChatGPT repricing. I need to:                │
│   1. Scrape competitor prices (Firecrawl MCP)                  │
│   2. Store in database (SQLite MCP)                            │
│   3. Compare & decide strategy (Sequential Thinking MCP)       │
│   4. Update price (Stripe MCP)                                 │
│   5. Push audit report (GitHub MCP)"                           │
└────────────────────────────────────────────────────────────────┘
     │                                                      ▲
     ▼                                                      │
┌─────────────────────┐                                     │
│     MCP Servers     │                                     │
│                     │                                     │
│  • Firecrawl MCP ───┼──► Scrapes Amazon, Best Buy,        │
│                     │    Walmart prices                   │
│                     │                                     │
│  • SQLite MCP ──────┼──► Stores price_history,            │
│                     │    repricing_log                    │
│                     │                                     │
│  • Stripe MCP ──────┼──► Creates new price,               │
│                     │    updates product                  │
│                     │                                     │
│  • GitHub MCP ──────┼──► Pushes audit report,             │
│                     │    commit SHA tracking              │
│                     │                                     │
│  • Sequential ──────┼──► Analyzes pricing strategy,       │
│    Thinking MCP     │    makes reprice decision           │
│                     │                                     │
│  • Node.js MCP ─────┼──► Calculates margins,              │
│                     │    statistics, charts               │
│                     │                                     │
│  • Context7 MCP ────┼──► API docs, library                │
│                     │    references                       │
└─────────────────────┘                                     │
     │                                                      │
     ▼                                                      │
┌────────────────────────────────────────────────────────────┐
│                      RESULT                                │
│  ✅ Price updated: $549.99 → $504.99                       │
│  ✅ SQLite logged: repricing_log entry #1                  │
│  ✅ GitHub pushed: commit 64a488aa                         │
│  ✅ Market position: #1 LOWEST PRICE                       │
└────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│                     USER REQUEST                            │
│        "Monitor MacBook Air M3 and stay competitive"        │
└─────────────────────────┬───────────────────────────────────┘
                          │
                          ▼
┌─────────────────────────────────────────────────────────────┐
│              ChatGPT + MCP Gateway                          │
│           Orchestrates tools based on intent                │
└─────────────────────────┬───────────────────────────────────┘
                          │
        ┌─────────────────┼─────────────────┐
        │                 │                 │
        ▼                 ▼                 ▼
┌───────────────┐ ┌───────────────┐ ┌───────────────┐
│   FIRECRAWL   │ │    STRIPE     │ │    SQLITE     │
│ Scrape Prices │ │ Update Price  │ │  Log Decision │
└───────────────┘ └───────────────┘ └───────────────┘
        │                 │                 │
        └─────────────────┼─────────────────┘
                          │
                          ▼
┌─────────────────────────────────────────────────────────────┐
│                        GITHUB                                │
│              Push repricing report for audit                │
└─────────────────────────────────────────────────────────────┘

📁 项目结构

├── reports/
│   └── repricing/
│       └── 2025-12-09-macbook-air-m3-repricing.md   # Latest repricing report
└── README.md

🚀 如何使用

  1. 设置Docker MCP工具包 使用Firecrawl、Stripe、SQLite、GitHub服务器
  2. 连接ChatGPT 到您的MCP网关
  3. 使用此提示:
Set up a competitive repricing agent:
1. I sell MacBook Air M3 on my store - current Stripe price is $549.99
2. Monitor competitor prices on Amazon, Walmart, Best Buy
3. When ANY competitor drops below my price:
   - Automatically update my Stripe product price to match or beat them
   - Use "undercut" strategy (price 1% below lowest competitor)
   - Log the repricing decision to SQLite
   - Push pricing change report to GitHub

Start monitoring now.

🔗 相关


由ChatGPT+Docker MCP工具包提供技术支持