Skip to main content
Glama
kukapay

crypto-pegmon-mcp

by kukapay

Cripto-Pegmon-MCP

Un servidor MCP que rastrea la integridad de la vinculación de monedas estables en múltiples cadenas de bloques, lo que ayuda a los agentes de IA a detectar riesgos de desvinculación antes de que escalen.

LicenciaPitónEstado

Características

  • Informes de estabilidad : genere informes detallados que evalúen la estabilidad de la paridad de la moneda estable, incluida la desviación máxima y el estado (estable, moderadamente estable, inestable).

  • Monitoreo de precios en tiempo real : obtenga los precios actuales y calcule la desviación de la paridad de $1 para las monedas estables vinculadas al dólar estadounidense.

  • Análisis de datos históricos : recupere datos de precios históricos (hasta 7 días de forma predeterminada) en formato de tabla Markdown.

  • Monedas estables compatibles : monitoree 17 monedas estables vinculadas al dólar estadounidense, como Tether (USDT), USD Coin (USDC), Dai (DAI) y tokens que generan rendimiento como Ethena Staked USDe (eUSDe).

  • Salida fácil de usar : todos los datos se presentan en formato Markdown limpio para una fácil integración en informes o paneles.

Related MCP server: liquidity-pools-mcp

Monedas estables compatibles

El servidor admite las siguientes monedas estables vinculadas al dólar estadounidense:

Símbolo

Descripción

USDT

La moneda estable de Tether vinculada al dólar estadounidense, emitida de forma centralizada.

Dólar estadounidense

La moneda estable respaldada por USD de Circle, ampliamente utilizada en DeFi.

DAI

Moneda estable descentralizada de MakerDAO, garantizada por criptomonedas.

BUSD

La moneda estable de Binance vinculada al dólar estadounidense y administrada de forma centralizada.

Distrito Escolar Unificado de Tulare

TrueUSD, una moneda estable respaldada en USD por TrustToken.

Frax

Moneda estable USD algorítmica fraccional de Frax Finance.

Dólar estadounidense

La moneda estable de TRON vinculada al dólar estadounidense, emitida de forma centralizada.

Dólar estadounidense

Moneda estable vinculada al dólar estadounidense, centrada en la estabilidad.

SUSDS

USDS en staking, moneda estable con rendimiento.

EUSDE

La moneda estable en USD en staking de Ethena, que genera rendimiento.

Dólar estadounidense

La moneda estable con rendimiento en dólares estadounidenses de Ondo, diseñada para generar retornos.

PYUSD

La moneda estable de PayPal vinculada al dólar estadounidense para pagos.

Distrito Escolar Unificado de Georgetown

Dólar Gemini, respaldado en USD por Gemini Trust.

Dólar estadounidense

Paxos Standard, una moneda estable en USD regulada.

AAVE-USDC

La moneda estable vinculada al dólar estadounidense de Aave para préstamos.

CURVA-USD

La moneda estable USD de Curve Finance para grupos DeFi.

MIM

Magic Internet Money, una moneda estable en USD descentralizada.

Instalación

Prerrequisitos

  • Python 3.10 o superior

  • uv (recomendado para gestión y ejecución de dependencias)

Pasos

  1. Clonar el repositorio :

    git clone https://github.com/kukapay/crypto-pegmon-mcp.git
    cd crypto-pegmon-mcp
  2. Instalar dependencias : usando uv (recomendado):

    uv sync
  3. Ejecutar el servidor : usando uv (recomendado):

    uv run main.py

Uso

El servidor ofrece cuatro herramientas, accesibles a través de la interfaz MCP. A continuación, se muestran ejemplos de cada herramienta y solicitud.

1. Lista de monedas estables admitidas

Recupere una lista de monedas estables compatibles con sus descripciones.

  • Inmediato :

    List all supported stablecoins with their descriptions.
  • Producción :

    **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. Obtener el precio actual

Obtenga el precio actual y la desviación estándar para una moneda estable específica.

  • Inmediato :

    Get the current price of USDT.
  • Producción :

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

3. Obtener datos históricos

Recupera datos de precios históricos de una moneda estable durante una cantidad específica de días (valor predeterminado: 7).

  • Inmediato :

    Show the price history of USDC for the last 7 days.
  • Producción :

    **USDC Historical Data (Last 7 Days)**:
    
    | Date       | Price  | Deviation (%) |
    |------------|--------|---------------|
    | 2025-04-29 | 1.0001 | 0.0100        |
    | 2025-04-30 | 0.9998 | -0.0200       |
    | ...        | ...    | ...           |

4. Analizar la estabilidad de la paridad

Genere un informe de estabilidad completo para una moneda estable, que incluya datos históricos, precio actual y análisis.

  • Inmediato :

    Analyze the peg stability of DAI over the past week.
  • Producción :

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

Licencia

Este proyecto está licenciado bajo la Licencia MIT. Consulte el archivo de LICENCIA para más detalles.

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