The CoolPC MCP Server allows users to search and analyze computer component prices from CoolPC to assist in generating PC configuration quotes. With this server, you can:
- Search Products: Search for components by keyword, brand, or specifications with optional filters for category and price range.
- Get Product Details: Retrieve detailed information about a specific product using its model number.
- List Categories: Browse all available product categories.
- Get Category Products: View all products within a specific category or subcategory with options to limit results.
Enables querying Intel CPU prices and specifications from the CoolPC database
Supports integration with Claude Desktop on macOS systems through configuration file setup
Serves as the runtime environment for the MCP server that provides CoolPC product data access
Used for managing Node.js dependencies and running the MCP server
Enables comparison of NVIDIA graphics card specifications and prices through the CoolPC database
Used for parsing and processing CoolPC product data to generate JSON files consumed by the MCP server
Used as the programming language for implementing the MCP server functionality
CoolPC MCP Server
一個基於 Model Context Protocol (MCP) 的伺服器,提供台灣原價屋 (CoolPC) 電腦零組件價格查詢功能,讓 Claude Desktop 等 MCP 客戶端能夠透過 AI 協助生成電腦報價單。
功能特色
- 🔍 智能搜尋: 支援關鍵字、分類、價格範圍搜尋
- 📊 產品分析: 提供產品規格比較和價格分析
- 💰 報價生成: 根據需求自動生成電腦配置報價單
- 🔥 即時標記: 顯示熱銷商品、降價商品、限時優惠等標記
- 🏷️ 分類瀏覽: 完整的產品分類和統計資訊
專案結構
快速開始
1. 環境需求
- Python 3.x (用於資料解析)
- Node.js 18+ (用於 MCP Server)
- Claude Desktop (作為 MCP 客戶端)
2. 安裝相依性
3. 產生 product.json
從原價屋網站取得最新資料並產生產品資料檔:
4. 建置 MCP Server
Claude Desktop 設定
在 Claude Desktop 中設定 MCP Server,讓 Claude 能夠使用電腦零組件查詢功能。
設定步驟
- 開啟 Claude Desktop 設定檔找到 Claude Desktop 的設定檔位置:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\\Claude\\claude_desktop_config.json
- macOS:
- 新增 MCP Server 設定在設定檔中新增以下設定:
請將
/path/to/coolpc-mcp-server
替換為專案的實際路徑 - 重新啟動 Claude Desktop儲存設定檔後,重新啟動 Claude Desktop 讓設定生效。
使用範例
設定完成後,您可以在 Claude Desktop 中使用以下指令:
可用工具
MCP Server 提供以下工具供 Claude 使用:
search_products
搜尋產品,支援關鍵字、分類、價格範圍篩選
get_product_by_model
根據型號取得特定產品資訊
list_categories
列出所有產品分類及統計資訊
get_category_products
取得特定分類的所有產品
search_cpu
專門搜尋 CPU 處理器,支援腳位、核心數篩選和價格排序
search_gpu
專門搜尋顯示卡,支援晶片型號、記憶體容量篩選和價格排序
search_ram
專門搜尋記憶體,支援類型、容量、頻率篩選和價格排序
search_ssd
專門搜尋固態硬碟,支援介面、容量篩選和價格排序
search_motherboard
專門搜尋主機板,支援腳位、晶片組、尺寸規格篩選和價格排序
開發指南
更新產品資料
- 從原價屋網站取得最新 HTML 資料
- 使用解析器產生新的 product.json
- 重新建置 MCP Server
開發模式
除錯
檢查 Claude Desktop 的 MCP 連線狀態:
- 開啟 Claude Desktop
- 檢查左下角是否顯示 🔌 圖示
- 點擊查看 MCP Server 連線狀態
故障排除
常見問題
Q: Claude Desktop 無法連接到 MCP Server
- 檢查設定檔路徑是否正確
- 確認 Node.js 和相依性已正確安裝
- 檢查 product.json 檔案是否存在
Q: 搜尋結果為空
- 確認 product.json 包含資料
- 檢查搜尋關鍵字是否正確
- 嘗試使用不同的搜尋條件
Q: 產品資料過舊
- 重新從原價屋網站取得 HTML 資料
- 執行解析器更新 product.json
- 重新啟動 MCP Server
日誌檢查
授權條款
本專案僅供學習和研究用途。使用時請遵守原價屋網站的使用條款。
貢獻
歡迎提交 Issue 和 Pull Request 來改善這個專案。
注意: 本工具僅提供價格參考,實際價格請以原價屋官網為準。
local-only server
The server can only run on the client's local machine because it depends on local resources.
A Model Context Protocol server that enables Claude Desktop to query and analyze Taiwan CoolPC computer component prices, helping users generate custom PC quotes through AI assistance.
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.Last updated -484TypeScript
- AsecurityAlicenseAqualityA collection of Model Context Protocol servers that enable Claude Desktop to provide development assistance capabilities with filesystem, Git, shell command, and web search functionality without incurring API usage costs.Last updated -219TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that automatically reads the Claude Desktop configuration file and presents all available MCP services in an easy-to-copy format at the top of the tools list.Last updated -113JavaScriptMIT License
- -security-license-qualityA modular, extensible Model Context Protocol server framework designed for Claude Desktop that uses convention-based automatic module discovery to easily extend AI application functionality without modifying core code.Last updated -1Python