Crypto-Pegmon-MCP is an MCP server for tracking the peg integrity of stablecoins across multiple blockchains, helping AI agents detect depegging risks before they escalate.
Key Capabilities
- Stability reports: Generate detailed reports assessing stablecoin peg stability, including maximum deviation and status (stable, moderately stable, unstable).
- Real-time price monitoring: Fetch current prices and calculate the peg deviation of USD-pegged stablecoins relative to 1 USD.
- Historical data analysis: Retrieve historical price data (up to 7 days by default) in Markdown table format.
- Supported stablecoins: Monitor 17 USD-pegged stablecoins, such as Tether (USDT), USD Coin (USDC), Dai (DAI), and yield-bearing tokens such as Ethena Staked USDe (eUSDe).
- User-friendly output: All data is presented in a concise Markdown format for easy integration into reports or dashboards.
Supported Stablecoins
The server supports the following USD-pegged stablecoins. (The materials do not provide a specific complete list; they only mention examples such as USDT, USDC, DAI, eUSDe, and other stablecoins among the 17.)
Runtime Requirements
- Python 3.10 or later
- uv (recommended for dependency management and execution)
Usage
- Clone the repository:
git clone https://github.com/kukapay/crypto-pegmon-mcp.gitThencd crypto-pegmon-mcp - Install dependencies: Use uv (recommended):
uv sync - Run the server: Use uv (recommended):
uv run main.py
The server provides four tools, accessible through the MCP interface. Below are examples of each tool and prompt:
-
List supported stablecoins
- Prompt:
List all supported stablecoins with their descriptions. - Example output:
** Supported USD-Pegged Stablecoins ** : | Symbol | Description | | ------------ | -------------------------------------------------------- | | USDT | Tether's USD-pegged stablecoin, centrally issued. | | USDC | Circle's USD-backed stablecoin, widely used in DeFi. | | ... | ... |
- Prompt:
-
Get current price
- Prompt:
Get the current price of USDT. - Example output:
** USDT Current Price ** : $1.0002, Peg Deviation: 0.02%
- Prompt:
-
Get historical data
- Prompt:
Show the price history of USDC for the last 7 days. - Example output:
** USDC Historical Data (Last 7 Days) ** : | Date | Price | Deviation (%) | | ------------ | -------- | --------------- | | 2025-04-29 | 1.0001 | 0.0100 | | 2025-04-30 | 0.9998 | -0.0200 | | ... | ... | ... |
- Prompt:
-
Analyze peg stability
- Prompt:
Analyze the peg stability of DAI over the past week. - Example output:
- ** DAI Historical Data (Last 7 Days) ** : | Date | Price | Deviation (%) | | ------------ | -------- | --------------- | | 2025-04-29 | 1.0003 | 0.0300 | | ... | ... | ... | - ** DAI Current Price ** : $1.0000, Peg Deviation: 0.00% - ** Stability Analysis for DAI ** : - Maximum Deviation: 0.15% - Stability Status: Stable - Note: Deviations > 3% indicate potential depegging risks.
- Prompt:
Use Cases
Suitable for AI agents that need to monitor stablecoin peg status, DeFi risk analysis, report generation, and more.
Limitations
The materials do not provide information about fees, pricing, specific platform support details, and similar information. The project uses the MIT License; see the LICENSE file for details.