Manages environment variables for configuration settings like database credentials and Slack webhook URLs
Used for data validation and settings management in the price monitoring server
Provides a Python client interface to interact with the MCP server, allowing programmatic access to price monitoring workflows and tools
Enables automated alerts to be sent to Slack channels via webhooks when price drops are detected, with customizable message formatting
Price Monitor MCP Server
outline
This project is a price monitoring server based on Model Context Protocol (MCP). It compares the DB standard price and Gmarket real-time price using product codes, and sends a notification to Slack when the price drops.
Server/tool/prompt structure following MCP standards
Automate the entire process of crawling, price comparison, and notifications
Supports Slack webhook integration
Related MCP server: BigGo MCP Server
Key Features
DB standard price search : Search the standard price in DB using the product code
Gmarket Real-time Price Crawling : Using Firecrawl API
Compare prices and calculate discount rates
Send Slack notifications when price drops
Provides a tool to automate the entire workflow
Folder structure
How to run
1. Prepare virtual environment and install package
2. Setting environment variables
Set environment variables such as Slack webhooks in .env file as follows.
3. Run the MCP server
Or run it with devtools:
mcp dev src/price_monitor_mcp.pyOr activate the conda environment with a shell script and then run
MCP Tools/Prompts List
get_db_price(product_code): DB standard price querycrawl_gmarket_price(product_code): Gmarket real-time price crawlingsend_slack_alert(message): Send Slack notificationmonitor_price_workflow(product_code): Automatically run the entire process (recommended)monitor_price(product_code): prompt (for LLM)
Automate the entire process (recommended)
Example of calling a workflow tool
In the MCP dev tools/client:
Select the
monitor_price_workflowtool, enterproduct_code, and run it.Results: Returns DB price, lowest price, price difference, discount rate, Slack notification, etc.
Python client example
Slack notification test
If your Slack webhook is set up correctly, you will automatically be notified when a price drops.
The message format can be freely modified in
send_slack_alertfunction.
LLM (Claude, GPT, etc.) linkage
Claude, GPT, etc. will be able to run prompts/tools in natural language once MCP server connection is officially supported
Currently, the results are received through MCP client code and pasted to LLM for summary/analysis request.
References/Documents
Firecrawl, Slack API, DB, etc. need to be set up for each environment.
Contact/Contribution
Please leave any questions, bugs, or extension requests as issues!