crypto-pegmon-mcp
Krypto-Pegmon-MCP
Ein MCP-Server, der die Integrität der Stablecoin-Anbindung über mehrere Blockchains hinweg verfolgt und KI-Agenten dabei hilft, De-Pegging-Risiken zu erkennen, bevor sie eskalieren.
Merkmale
Stabilitätsberichte : Erstellen Sie detaillierte Berichte zur Bewertung der Stabilität der Stablecoin-Anbindung, einschließlich maximaler Abweichung und Status (stabil, mäßig stabil, instabil).
Preisüberwachung in Echtzeit : Rufen Sie aktuelle Preise ab und berechnen Sie die Peg-Abweichung von 1 $ für an den US-Dollar gekoppelte Stablecoins.
Analyse historischer Daten : Rufen Sie historische Preisdaten (standardmäßig bis zu 7 Tage) im Markdown-Tabellenformat ab.
Unterstützte Stablecoins : Überwachen Sie 17 an den USD gekoppelte Stablecoins wie Tether (USDT), USD Coin (USDC), Dai (DAI) und ertragsbringende Token wie Ethena Staked USDe (eUSDe).
Benutzerfreundliche Ausgabe : Alle Daten werden im sauberen Markdown-Format dargestellt, um eine einfache Integration in Berichte oder Dashboards zu ermöglichen.
Related MCP server: liquidity-pools-mcp
Unterstützte Stablecoins
Der Server unterstützt die folgenden an den USD gekoppelten Stablecoins:
Symbol | Beschreibung |
USDT | Tethers an den US-Dollar gekoppelter Stablecoin, zentral ausgegeben. |
USDC | USD-gestützter Stablecoin von Circle, der in DeFi weit verbreitet ist. |
DAI | Dezentraler Stablecoin von MakerDAO, besichert durch Kryptowährungen. |
BUSD | Der an den US-Dollar gekoppelte Stablecoin von Binance wird zentral verwaltet. |
TUSD | TrueUSD, eine USD-gestützte Stablecoin von TrustToken. |
FRAX | Bruchalgorithmischer USD-Stablecoin von Frax Finance. |
USDD | Der an den US-Dollar gekoppelte Stablecoin von TRON wird zentral ausgegeben. |
USDS | An den USD gekoppelter Stablecoin mit Fokus auf Stabilität. |
SUSDS | Staked USDS, ertragsbringende Stablecoin. |
EUSDE | Ethenas eingesetzter USD-Stablecoin, ertragsbringend. |
USDY | Ondos USD-Rendite-Stablecoin, auf Rendite ausgelegt. |
PYUSD | Der an den US-Dollar gekoppelte Stablecoin von PayPal für Zahlungen. |
GUSD | Gemini Dollar, USD-gedeckt durch Gemini Trust. |
USDP | Paxos Standard, eine regulierte USD-Stablecoin. |
AAVE-USDC | Aaves an den US-Dollar gekoppelter Stablecoin zum Verleihen. |
CURVE-USD | USD-Stablecoin von Curve Finance für DeFi-Pools. |
MIM | Magic Internet Money, eine dezentrale USD-Stablecoin. |
Installation
Voraussetzungen
Python 3.10 oder höher
uv (empfohlen für Abhängigkeitsverwaltung und Ausführung)
Schritte
Klonen Sie das Repository :
git clone https://github.com/kukapay/crypto-pegmon-mcp.git cd crypto-pegmon-mcpAbhängigkeiten installieren : Verwenden von UV (empfohlen):
uv syncFühren Sie den Server aus : Verwenden von UV (empfohlen):
uv run main.py
Verwendung
Der Server bietet vier Tools, die über die MCP-Schnittstelle zugänglich sind. Nachfolgend finden Sie Beispiele für jedes Tool und jede Eingabeaufforderung.
1. Liste der unterstützten Stablecoins
Rufen Sie eine Liste der unterstützten Stablecoins mit ihren Beschreibungen ab.
Eingabeaufforderung :
List all supported stablecoins with their descriptions.Ausgabe :
**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. Aktuellen Preis abrufen
Erhalten Sie den aktuellen Preis und die Peg-Abweichung für einen bestimmten Stablecoin.
Eingabeaufforderung :
Get the current price of USDT.Ausgabe :
**USDT Current Price**: $1.0002, Peg Deviation: 0.02%
3. Historische Daten abrufen
Rufen Sie historische Preisdaten für eine Stablecoin über eine angegebene Anzahl von Tagen ab (Standard: 7).
Eingabeaufforderung :
Show the price history of USDC for the last 7 days.Ausgabe :
**USDC Historical Data (Last 7 Days)**: | Date | Price | Deviation (%) | |------------|--------|---------------| | 2025-04-29 | 1.0001 | 0.0100 | | 2025-04-30 | 0.9998 | -0.0200 | | ... | ... | ... |
4. Analysieren Sie die Peg-Stabilität
Erstellen Sie einen umfassenden Stabilitätsbericht für eine Stablecoin, einschließlich historischer Daten, aktuellem Preis und Analyse.
Eingabeaufforderung :
Analyze the peg stability of DAI over the past week.Ausgabe :
- **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.
Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert. Weitere Informationen finden Sie in der Datei LICENSE .
Available Tools
4 toolsanalyze_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.
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| days | No |
TDQS
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.
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.
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.
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.
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes |
TDQS
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.
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.
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.
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.
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| days | No |
TDQS
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.
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.
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.
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.
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.
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.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
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.
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.
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.
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.
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.
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.
4 tool updates
v1.0.0- First observed
analyze_peg_stability - First observed
get_current_price - First observed
get_historical_data - First observed
get_supported_stablecoins
TDQS
Scored across 4 tools
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.
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.
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.
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
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server giving AI agents one-connection access to crypto & DeFi data: DeFi protocol TVL, stableco
Crypto market intelligence, token rug-checks, and wallet verification in one MCP server.
MCP server for Renzo protocol data, including chains, vaults, operators, and ezETH metrics.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server for checking and revoking ERC-20 token allowances across multiple blockchains.45MIT
- AlicenseAqualityDmaintenanceAn MCP server that tracks and analyzes DEX liquidity pools to power intelligent DeFi agents and automated strategies.12MIT
- AlicenseAqualityDmaintenanceAn MCP server that tracks daily activity and graduate metrics across multiple Solana launchpads.41MIT
- AlicenseNot gradedqualityFmaintenanceMCP server for Tempo blockchain stablecoin payments, enabling AI agents to autonomously execute real-world payments.68MIT