Crypto-Pegmon-MCP

Crypto-Pegmon-MCP

Cross-chain stablecoin peg monitoring and stability reporting MCP server.

4
Stars
6
Forks
4
Watchers
3
Issues
Crypto-Pegmon-MCP is an MCP-compatible server that monitors stablecoin peg integrity across multiple blockchains. It provides AI agents with real-time and historical data on peg stability for 17 USD-pegged stablecoins. The server generates stability reports and presents data in Markdown format, facilitating easy integration into dashboards or automated agent workflows. Users can query supported coins, current prices, and analyze historical deviations to assess depegging risks.

Key Features

Generates detailed stablecoin stability reports
Monitors real-time peg deviations for 17 stablecoins
Provides historical price data with Markdown tables
Supports major and yield-bearing USD-pegged tokens
User-friendly Markdown output for integration
Standard MCP server interface for AI agents
Lists stablecoin symbols and descriptions
Easy setup with Python 3.10+ and uv
Automated depegging risk detection
Active maintenance with MIT license

Use Cases

Monitoring stablecoin peg integrity across chains
Proactive detection of potential depegging events
Generating automated stablecoin risk reports for AI agents
Integrating stablecoin analytics into financial dashboards
Providing DeFi platforms with peg stability data
Supporting compliance and risk assessment workflows
Aiding crypto portfolio managers in stability analysis
Alerting users or systems based on peg deviations
Feeding contextual data to AI-powered trading bots
Education or research on stablecoin ecosystem health

README

Crypto-Pegmon-MCP

An MCP server that tracks stablecoin peg integrity across multiple blockchains, helping AI agents detect depegging risks before they escalate.

License Python Status

Features

  • 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 peg deviation from $1 for USD-pegged stablecoins.
  • 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 like Ethena Staked USDe (eUSDe).
  • User-Friendly Output: All data is presented in clean Markdown format for easy integration into reports or dashboards.

Supported Stablecoins

The server supports the following USD-pegged stablecoins:

Symbol Description
USDT Tether's USD-pegged stablecoin, centrally issued.
USDC Circle's USD-backed stablecoin, widely used in DeFi.
DAI Decentralized stablecoin by MakerDAO, collateralized by crypto.
BUSD Binance's USD-pegged stablecoin, centrally managed.
TUSD TrueUSD, a USD-backed stablecoin by TrustToken.
FRAX Fractional-algorithmic USD stablecoin by Frax Finance.
USDD TRON's USD-pegged stablecoin, centrally issued.
USDS USD-pegged stablecoin, focused on stability.
SUSDS Staked USDS, yield-bearing stablecoin.
EUSDE Ethena's staked USD stablecoin, yield-bearing.
USDY Ondo's USD yield stablecoin, designed for returns.
PYUSD PayPal's USD-pegged stablecoin for payments.
GUSD Gemini Dollar, USD-backed by Gemini Trust.
USDP Paxos Standard, a regulated USD stablecoin.
AAVE-USDC Aave's USD-pegged stablecoin for lending.
CURVE-USD Curve Finance's USD stablecoin for DeFi pools.
MIM Magic Internet Money, a decentralized USD stablecoin.

Installation

Prerequisites

  • Python 3.10 or higher
  • uv (recommended for dependency management and running)

Steps

  1. Clone the Repository:

    bash
    git clone https://github.com/kukapay/crypto-pegmon-mcp.git
    cd crypto-pegmon-mcp
    
  2. Install Dependencies: Using uv (recommended):

    bash
    uv sync
    
  3. Run the Server: Using uv (recommended):

    bash
    uv run main.py
    

Usage

The server provides four tools, accessible via the MCP interface. Below are examples for each tool and prompt.

1. List Supported Stablecoins

Retrieve a list of supported stablecoins with their descriptions.

  • Prompt:
    plaintext
    List all supported stablecoins with their descriptions.
    
  • Output:
    markdown
    **Supported USD-Pegged Stablecoins**:
    
    | Symbol     | Description                                            |
    |------------|--------------------------------------------------------|
    | USDT       | Tether's USD-pegged stablecoin, centrally issued.      |
    | USDC       | Circle's USD-backed stablecoin, widely used in DeFi.   |
    | ...        | ...                                                    |
    

2. Fetch Current Price

Get the current price and peg deviation for a specific stablecoin.

  • Prompt:
    plaintext
    Get the current price of USDT.
    
  • Output:
    markdown
    **USDT Current Price**: $1.0002, Peg Deviation: 0.02%
    

3. Fetch Historical Data

Retrieve historical price data for a stablecoin over a specified number of days (default: 7).

  • Prompt:
    plaintext
    Show the price history of USDC for the last 7 days.
    
  • Output:
    markdown
    **USDC Historical Data (Last 7 Days)**:
    
    | Date       | Price  | Deviation (%) |
    |------------|--------|---------------|
    | 2025-04-29 | 1.0001 | 0.0100        |
    | 2025-04-30 | 0.9998 | -0.0200       |
    | ...        | ...    | ...           |
    

4. Analyze Peg Stability

Generate a comprehensive stability report for a stablecoin, including historical data, current price, and analysis.

  • Prompt:
    plaintext
    Analyze the peg stability of DAI over the past week.
    
  • Output:
    markdown
    - **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.
    

License

This project is licensed under the MIT License. See the LICENSE file for details.

Star History

Star History Chart

Repository Owner

kukapay
kukapay

User

Repository Details

Language Python
Default Branch main
Size 35 KB
Contributors 2
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

Python
100%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • DeFi Yields MCP

    DeFi Yields MCP

    Explore DeFi yield opportunities via a standardized MCP server for AI agents.

    DeFi Yields MCP is an MCP server that enables AI agents to access and analyze DeFi yield pool data using data provided by DefiLlama. It features a tool to fetch DeFi pool data with filtering by blockchain or project as well as an analysis prompt tailored for large language models to process and assess yield pool metrics, including APY and predictions. The tool is packaged for easy deployment and integrates smoothly with Claude Desktop, supporting both automatic and manual installation. Example outputs and use instructions are provided to help users explore DeFi yields programmatically.

    • 11
    • MCP
    • kukapay/defi-yields-mcp
  • Crypto Trending MCP Server

    Crypto Trending MCP Server

    Real-time trending cryptocurrency data via Model Context Protocol tools.

    Crypto Trending MCP Server tracks and monitors the latest trending tokens on CoinGecko, providing real-time insights into the most popular cryptocurrencies. It exposes MCP tools and prompts, such as a Markdown generator for trending token data and a parser prompt for extracting and analyzing the results with AI models. The solution is built for seamless integration with clients like Claude Desktop and allows natural language querying of current crypto trends. Its lightweight and extensible design supports easy deployment and extension.

    • 6
    • MCP
    • kukapay/crypto-trending-mcp
  • Crypto Projects MCP Server

    Crypto Projects MCP Server

    AI-accessible server that delivers comprehensive cryptocurrency project data in structured formats.

    Crypto Projects MCP Server provides AI agents with detailed cryptocurrency project data sourced from Mobula.io, accessible via the Model Context Protocol (MCP). It offers both raw JSON and formatted Markdown outputs, making project information easy to parse and consume by large language models. The server features language customization and returns organized details including price, market data, tokenomics, links, investors, and more. Integration with tools like Claude Desktop is supported for seamless AI interactions.

    • 0
    • MCP
    • kukapay/crypto-projects-mcp
  • cryptopanic-mcp-server

    cryptopanic-mcp-server

    Provides real-time cryptocurrency news to AI agents via Model Context Protocol.

    cryptopanic-mcp-server delivers up-to-date cryptocurrency news to AI agents by integrating with the CryptoPanic API. It exposes an MCP-compliant server with a tool for fetching news or media headlines, supporting customization via API keys and configuration files. The implementation is intended for streamlined context integration into AI workflows, enhancing agent awareness with current crypto market updates.

    • 59
    • MCP
    • kukapay/cryptopanic-mcp-server
  • Crypto Portfolio MCP

    Crypto Portfolio MCP

    Real-time crypto portfolio management and analysis via MCP.

    Crypto Portfolio MCP is an MCP server that enables users and AI agents to track, manage, and optimize cryptocurrency portfolio allocations with live Binance price integration. It allows querying of portfolio status, addition of holdings, price fetching, value history chart generation, and portfolio analysis suggestions. The server provides persistent storage using SQLite and exposes API-like tools for seamless interaction through an MCP client. Designed for integration with platforms like Claude Desktop, it facilitates dynamic crypto asset management and insight generation.

    • 9
    • MCP
    • kukapay/crypto-portfolio-mcp
  • Crypto Sentiment MCP Server

    Crypto Sentiment MCP Server

    AI-accessible crypto sentiment data powered by Santiment.

    Delivers cryptocurrency sentiment analysis, social volume metrics, trending topics, and social dominance statistics to AI agents via the Model Context Protocol. Provides standardized APIs for retrieving market mood, tracking trending words, and monitoring significant shifts in online discussions about crypto assets. Integrates with Santiment to leverage aggregated data from social media and news sources for in-depth market insights.

    • 40
    • MCP
    • kukapay/crypto-sentiment-mcp
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results