Skip to main content
Glama
kukapay

crypto-pegmon-mcp

by kukapay

加密-Pegmon-MCP

MCP 服务器可跟踪跨多个区块链的稳定币挂钩完整性,帮助 AI 代理在脱钩风险升级之前检测到它。

执照Python地位

特征

  • 稳定性报告:生成评估稳定币挂钩稳定性的详细报告,包括最大偏差和状态(稳定、中等稳定、不稳定)。

  • 实时价格监控:获取当前价格并计算与美元挂钩的稳定币与 1 美元的挂钩偏差。

  • 历史数据分析:以Markdown表格格式检索历史价格数据(默认最多7天)。

  • 支持的稳定币:监控 17 种与美元挂钩的稳定币,例如 Tether (USDT)、USD Coin (USDC)、Dai (DAI) 以及 Ethena Staked USDe (eUSDe) 等收益代币。

  • 用户友好输出:所有数据均以干净的 Markdown 格式呈现,以便轻松集成到报告或仪表板中。

Related MCP server: liquidity-pools-mcp

支持的稳定币

该服务器支持以下与美元挂钩的稳定币:

象征

描述

USDT

Tether 的与美元挂钩的稳定币,集中发行。

USDC

Circle 的美元支持稳定币,广泛应用于 DeFi。

MakerDAO 的去中心化稳定币,以加密货币作为抵押。

BUSD

币安与美元挂钩的稳定币,集中管理。

德克萨斯联合学区

TrueUSD 是 TrustToken 推出的一款美元支持的稳定币。

FRAX

Frax Finance 推出的分数算法美元稳定币。

USDD

TRON 的与美元挂钩的稳定币,集中发行。

美国农业部

与美元挂钩的稳定币,注重稳定性。

SUSDS

质押 USDS,有收益的稳定币。

欧洲美元指数

Ethena 的质押美元稳定币,具有收益。

美元兑日元

Ondo 的美元收益稳定币,旨在带来回报。

PYUSD

PayPal 用于支付的与美元挂钩的稳定币。

加纳联合学区

Gemini Dollar,由 Gemini Trust 支持美元。

巩固与进步联盟

Paxos Standard,一种受监管的美元稳定币。

AAVE-USDC

Aave 用于借贷的与美元挂钩的稳定币。

CURVE-USD

Curve Finance 为 DeFi 池提供的美元稳定币。

金属注射成型

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 界面访问。以下是每种工具和提示符的示例。

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 许可证。详情请参阅许可证文件。

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