Skip to main content
Glama
kukapay

crypto-pegmon-mcp

by kukapay

クリプト・ペグモン・MCP

複数のブロックチェーンにわたってステーブルコインのペグの整合性を追跡する MCP サーバー。これにより、AI エージェントはペグ解除のリスクが拡大する前にそれを検出できるようになります。

ライセンスパイソン状態

特徴

  • 安定性レポート: 最大偏差とステータス (安定、中程度に安定、不安定) を含む、ステーブルコイン ペグの安定性を評価する詳細なレポートを生成します。

  • リアルタイム価格監視: 現在の価格を取得し、米ドルにペッグされたステーブルコインの 1 ドルからのペッグ偏差を計算します。

  • 履歴データ分析: 履歴価格データ (デフォルトでは最大 7 日間) を Markdown テーブル形式で取得します。

  • サポートされているステーブルコイン: Tether (USDT)、USD Coin (USDC)、Dai (DAI)、およびEthena Staked USDe (eUSDe) などの利回りトークンなど、17 種類の USD ペッグ ステーブルコインを監視します。

  • ユーザーフレンドリーな出力: すべてのデータは、レポートやダッシュボードに簡単に統合できるように、クリーンな Markdown 形式で表示されます。

Related MCP server: liquidity-pools-mcp

サポートされているステーブルコイン

サーバーは、次の USD ペッグステーブルコインをサポートしています。

シンボル

説明

USDT

中央集権的に発行される、Tether の USD ペッグ ステーブルコイン。

USDC

DeFi で広く使用されている、Circle の USD 裏付けステーブルコイン。

ダイ

MakerDAO による、暗号通貨を担保とした分散型ステーブルコイン。

BUSD

Binance の USD ペッグステーブルコイン、集中管理。

TUSD

TrueUSD は、TrustToken による米ドルに裏付けられたステーブルコインです。

フラックス

Frax Finance による分数アルゴリズム USD ステーブルコイン。

USDD

TRON の USD ペッグステーブルコイン。中央管理により発行されます。

USDS

安定性を重視した、米ドルにペッグされたステーブルコイン。

SUSDS

利回りのあるステーブルコイン、USDS をステークします。

欧州経済開発省

Ethena のステークされた USD ステーブルコイン、利回りあり。

USDY

収益を目的として設計された、Ondo の USD 利回りステーブルコイン。

PYUSD

PayPal の支払い用の USD 連動ステーブルコイン。

GUSD

Gemini Dollar は、Gemini Trust が米ドルで裏付けています。

USDP

規制された USD ステーブルコイン、Paxos Standard。

AAVE-USDC

Aave の貸出用 USD ペッグステーブルコイン。

カーブ-USD

Curve Finance の DeFi プール向け USD ステーブルコイン。

MIM

分散型 USD ステーブルコイン、Magic Internet Money。

インストール

前提条件

  • Python 3.10以上

  • uv (依存関係の管理と実行に推奨)

手順

  1. リポジトリのクローンを作成します:

    git clone https://github.com/kukapay/crypto-pegmon-mcp.git
    cd crypto-pegmon-mcp
  2. 依存関係のインストール: uv の使用(推奨):

    uv sync
  3. サーバーの実行: uv の使用(推奨):

    uv run main.py

使用法

サーバーはMCPインターフェースからアクセスできる4つのツールを提供しています。以下に各ツールとプロンプトの例を示します。

1. サポートされているステーブルコインの一覧

サポートされているステーブルコインとその説明のリストを取得します。

  • プロンプト

    List all supported stablecoins with their descriptions.
  • 出力:

    **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. 現在の価格を取得する

特定のステーブルコインの現在の価格とペグ偏差を取得します。

  • プロンプト

    Get the current price of USDT.
  • 出力:

    **USDT Current Price**: $1.0002, Peg Deviation: 0.02%

3. 履歴データを取得する

指定された日数(デフォルト: 7)にわたるステーブルコインの過去の価格データを取得します。

  • プロンプト

    Show the price history of USDC for the last 7 days.
  • 出力:

    **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 the peg stability of DAI over the past week.
  • 出力:

    - **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.

ライセンス

このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。

Available Tools

4 tools
analyze_peg_stabilityB
Generate a peg stability analysis report for a USD-pegged stablecoin.

Args:
    coin (str): The symbol of the stablecoin (e.g., 'usdt', 'usdc', 'dai').
    days (int, optional): Number of days for analysis. Defaults to 7.

Returns:
    str: A Markdown-formatted report with historical data, current price, and stability analysis.
ParametersJSON Schema
NameRequiredDescriptionDefault
coinYes
daysNo

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions generating a report with 'historical data, current price, and stability analysis,' which gives some context on output content, but lacks details on behavioral traits such as data sources, rate limits, error handling, or whether it performs computations or fetches external data. This leaves gaps for an AI agent to understand operational aspects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded: it starts with the core purpose, followed by structured sections for 'Args' and 'Returns.' Each sentence adds value without redundancy, making it easy to scan and understand quickly. No wasted words or unnecessary details are present.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (analysis report generation) and lack of annotations and output schema, the description is moderately complete. It covers the purpose, parameters, and return format (Markdown report), but lacks details on behavioral aspects like data freshness, accuracy, or potential limitations. For a tool with no structured output schema, more context on report structure or analysis methods would enhance completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds meaningful semantics beyond the schema by explaining 'coin' as 'The symbol of the stablecoin (e.g., 'usdt', 'usdc', 'dai')' and 'days' as 'Number of days for analysis. Defaults to 7,' including an example and default value. This clarifies parameter usage effectively, though it could provide more on constraints or validation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Generate a peg stability analysis report for a USD-pegged stablecoin.' It specifies the verb ('generate'), resource ('report'), and scope ('USD-pegged stablecoin'), but does not explicitly differentiate it from sibling tools like 'get_historical_data' or 'get_current_price' which might provide related data without analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by specifying the type of analysis ('peg stability analysis report') and the target ('USD-pegged stablecoin'), suggesting it's for evaluating stablecoin performance. However, it does not provide explicit guidance on when to use this tool versus alternatives like 'get_historical_data' or 'get_current_price', nor does it mention prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_current_priceA
Fetch the current price of a USD-pegged stablecoin in USD and calculate peg deviation.

Args:
    coin (str): The symbol of the stablecoin (e.g., 'usdt', 'usdc', 'dai').

Returns:
    str: A string with the current price and peg deviation in Markdown format.
ParametersJSON Schema
NameRequiredDescriptionDefault
coinYes

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden. It discloses the core behavior (fetching price and calculating deviation) and output format (Markdown string). However, it lacks details about data sources, rate limits, error conditions, or whether this is a read-only operation (though implied by 'fetch' and 'calculate').

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured with a clear purpose statement, followed by dedicated 'Args' and 'Returns' sections. Every sentence adds value: the first states the tool's function, while the subsequent sections document parameters and output without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with no annotations or output schema, the description is reasonably complete. It covers the purpose, parameter semantics, and output format. However, it could improve by mentioning data sources or error handling, given the lack of structured fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must compensate. It provides clear semantics for the single parameter 'coin', including its type (str), purpose (stablecoin symbol), and examples ('usdt', 'usdc', 'dai'). This fully documents the parameter beyond the bare schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with specific verbs ('fetch', 'calculate') and resources ('current price of a USD-pegged stablecoin', 'peg deviation'). It distinguishes from sibling tools like 'get_historical_data' (historical vs current) and 'analyze_peg_stability' (stability analysis vs price fetching).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context through the parameter description ('symbol of the stablecoin') and mentions peg deviation calculation, which suggests it's for monitoring stablecoin pegs. However, it doesn't explicitly state when to use this tool versus alternatives like 'get_supported_stablecoins' (list available coins) or 'analyze_peg_stability' (deeper analysis).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_historical_dataA
Fetch historical price data for a USD-pegged stablecoin and return as a Markdown table.

Args:
    coin (str): The symbol of the stablecoin (e.g., 'usdt', 'usdc', 'dai').
    days (int, optional): Number of days for historical data. Defaults to 7.

Returns:
    str: A Markdown table with date, price, and deviation.
ParametersJSON Schema
NameRequiredDescriptionDefault
coinYes
daysNo

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the return format but doesn't describe error conditions, rate limits, authentication requirements, data freshness, or what happens with invalid inputs. The description is minimal beyond basic functionality.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured with a clear purpose statement followed by organized Args and Returns sections. Every sentence adds value with no redundant information, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-parameter tool with no annotations and no output schema, the description covers basic purpose and parameters adequately but lacks behavioral context. It doesn't explain error handling, data sources, or limitations that would help an agent use it correctly in various scenarios.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description provides essential parameter context: coin is a stablecoin symbol with examples, and days is optional with default value and meaning. This compensates well for the schema gap, though it doesn't specify constraints like valid coin values or day ranges.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Fetch historical price data'), target resource ('USD-pegged stablecoin'), and output format ('Markdown table'). It distinguishes from siblings like get_current_price (current vs historical) and analyze_peg_stability (analysis vs raw data).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for historical price data retrieval, but doesn't explicitly state when to use this tool versus alternatives like get_current_price or analyze_peg_stability. No guidance on prerequisites, limitations, or exclusion criteria is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_supported_stablecoinsA
Fetch the list of supported USD-pegged stablecoins with their symbols and descriptions.

Returns:
    str: A Markdown-formatted table listing stablecoin symbols and their descriptions.
ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the return format ('Markdown-formatted table') and content ('symbols and descriptions'), which is useful behavioral context. However, it does not mention other traits like rate limits, authentication needs, or error handling, leaving gaps for a tool with no annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose in the first sentence, followed by a concise return specification. Both sentences earn their place by providing essential information without redundancy, making it highly efficient and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (0 parameters, no output schema, no annotations), the description is mostly complete: it states the purpose, return format, and content. However, without annotations, it could benefit from mentioning behavioral aspects like safety or performance, but for a read-only list tool, this is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and schema description coverage is 100% (as there are no parameters to describe). The description does not need to add parameter semantics, so it meets the baseline of 4 for tools with no parameters, as per the rules.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Fetch') and resource ('list of supported USD-pegged stablecoins'), specifying both the scope ('USD-pegged') and the content ('symbols and descriptions'). It distinguishes from siblings like 'analyze_peg_stability' (which analyzes rather than lists) and 'get_current_price' (which fetches prices rather than metadata).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by stating what the tool returns (a Markdown table of stablecoin data), but it does not explicitly guide when to use this tool versus alternatives like 'get_current_price' for price data or 'analyze_peg_stability' for stability analysis. No exclusions or prerequisites are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv1.0.0
    • First observedanalyze_peg_stability
    • First observedget_current_price
    • First observedget_historical_data
    • First observedget_supported_stablecoins

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: analyze_peg_stability generates a comprehensive report, get_current_price provides current price and deviation, get_historical_data returns historical data in table format, and get_supported_stablecoins lists available coins. The descriptions clearly differentiate their functions, making misselection unlikely.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case: analyze_peg_stability, get_current_price, get_historical_data, and get_supported_stablecoins. The naming is predictable and readable throughout, with no deviations in style or convention.

Tool Count4/5

With 4 tools, the count is reasonable for a stablecoin analysis server, covering core functions like current price, historical data, stability analysis, and coin listing. It's slightly lean but well-scoped; adding tools for alerts or deeper analytics could enhance it without being necessary.

Completeness4/5

The tool surface covers essential operations for stablecoin analysis: listing coins, fetching current and historical data, and generating stability reports. Minor gaps exist, such as lack of update/delete operations or advanced features like alerts, but agents can perform core workflows effectively without dead ends.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server for checking and revoking ERC-20 token allowances across multiple blockchains.
    4
    5
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    MCP server for Tempo blockchain stablecoin payments, enabling AI agents to autonomously execute real-world payments.
    6
    8
    MIT