Skip to main content
Glama
crypto-sentiment-mcp

crypto-sentiment-mcp

by kukapay

暗号センチメントMCPサーバー

Santiment の集約されたソーシャル メディアとニュース データを活用して市場の雰囲気を追跡し、新たなトレンドを検出し、暗号通貨の感情分析を AI エージェントに提供する MCP サーバーです。

GitHubライセンスPythonバージョン状態

特徴

  • 感情分析: 特定の暗号通貨に対する感情のバランス (肯定的 vs. 否定的) を取得します。

  • ソーシャル ボリューム トラッキング: ソーシャル メディアでの言及の総数を監視し、大きな変化 (急増または減少) を検出します。

  • 社会的優位性: 暗号メディアで資産が占める議論のシェアを測定します。

  • トレンドワード: 暗号通貨の議論でトレンドになっている最も人気のある用語を特定します。

Related MCP server: etf-flow-mcp

ツール

ツール名

説明

パラメータ

get_sentiment_balance

指定された期間の資産の平均センチメントバランスを取得します。

asset: str 、 days: int = 7

get_social_volume

アセットのソーシャル メディア言及の総数を取得します。

asset: str 、 days: int = 7

alert_social_shift

前回の平均と比較して、ソーシャル ボリュームの大幅な増加または減少を検出します。

asset: str 、 threshold: float = 50.0 、 days: int = 7

get_trending_words

一定期間のスコア順にランク付けされた、暗号通貨に関する議論における上位のトレンドワードを取得します。

days: int = 7 、 top_n: int = 5

get_social_dominance

暗号通貨メディアの議論のうち、資産が占める割合を測定します。

asset: str 、 days: int = 7

前提条件

  • Python : 3.10以上

  • Santiment API キー: Santimentから無料または有料のキーを取得します。

インストール

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

    git clone https://github.com/kukapay/crypto-sentiment-mcp.git
    cd crypto-sentiment-mcp
  2. クライアントの設定:

    {
      "mcpServers": {
        "crypto-sentiment-mcp": {
          "command": "uv",
          "args": ["--directory", "path/to/crypto-sentiment-mcp", "run", "main.py"],
          "env": {
            "SANTIMENT_API_KEY": "your_api_key_here"
          }
        }
      }
    }

例

以下は、MCP 互換クライアントを介してサーバーと対話する場合の自然言語入力とそれに対応する出力の例です。

  • 入力: 「過去 1 週間のビットコインの感情バランスはどうですか?」

    • 出力: 「過去 7 日間のビットコインのセンチメントバランスは 12.5 です。」

  • 入力: 「過去 5 日間にソーシャル メディアで Ethereum が何回言及されましたか?」

    • 出力: 「過去 5 日間の Ethereum のソーシャル ボリュームは 8,432 件の言及です。」

  • 入力: 「最近、ビットコインのソーシャルボリュームに 30% のしきい値で大きな変化があったかどうか教えてください。」

    • 出力: 「ビットコインのソーシャルボリュームは過去 24 時間で 75.0% 増加し、平均 1,000 から 1,750 になりました。」

  • 入力: 「過去 3 日間の暗号通貨のトレンド上位 3 つの単語は何ですか?」

    • 出力: 「過去 3 日間のトレンドワードのトップ 3: 「halving」、「bullrun」、「defi」」

  • 入力: 「今週のソーシャル メディアの議論において、イーサリアムはどの程度優勢ですか?」

    • 出力: 「過去 7 日間の Ethereum のソーシャル優位性は 18.7% です。」

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

Available Tools

5 tools
alert_social_shiftA

Detect significant shifts (spikes or drops) in social volume (social_volume_total) for a given asset.

Parameters:

  • asset (str): The cryptocurrency slug (e.g., "bitcoin", "ethereum"). Required.

  • threshold (float): Minimum percentage change (absolute value) to trigger an alert, defaults to 50.0 (i.e., 50%).

  • days (int): Number of days to analyze for baseline volume, defaults to 7.

Usage:

  • Call this tool to check if the latest social volume has significantly spiked or dropped compared to the previous average.

Returns:

  • A string indicating if a shift occurred (e.g., "Bitcoin's social volume spiked by 75.0% in the last 24 hours" or "Bitcoin's social volume dropped by 60.0% in the last 24 hours").

Inputs: asset (required), threshold, days.

get_sentiment_balanceB

Retrieve the sentiment balance (sentiment_balance_total) for a given asset.

Parameters:

  • asset (str): The cryptocurrency slug (e.g., "bitcoin", "ethereum"). Required.

  • days (int): Number of days to calculate the average sentiment balance, defaults to 7.

Usage:

  • Use this tool to get the average sentiment balance (positive minus negative sentiment) over a period.

Returns:

  • A string with the average sentiment balance (e.g., "Bitcoin's sentiment balance over the past 7 days is 12.5").

Inputs: asset (required), days.

get_social_dominanceA

Retrieve the social dominance (social_dominance_total) for a given asset. Social Dominance shows the share of the discussions in crypto media that is referring to a particular asset or phrase.

Parameters:

  • asset (str): The cryptocurrency slug (e.g., "bitcoin", "ethereum"). Required.

  • days (int): Number of days to calculate average social dominance, defaults to 7.

Usage:

  • Call this tool to get the percentage of social media discussion dominated by the asset.

Returns:

  • A string with the average social dominance (e.g., "Bitcoin's social dominance over the past 7 days is 25.3%").

Inputs: asset (required), days.

get_social_volumeA

Retrieve the total social volume (social_volume_total) for a given asset. It calculates the total number of social data text documents that contain the given search term at least once. Examples of documents are telegram messages and reddit posts.

Parameters:

  • asset (str): The cryptocurrency slug (e.g., "bitcoin", "ethereum"). Required.

  • days (int): Number of days to sum the social volume, defaults to 7.

Usage:

  • Call this tool to get the total number of social media mentions for an asset over a period.

Returns:

  • A string with the total social volume (e.g., "Bitcoin's social volume over the past 7 days is 15,000 mentions").

Inputs: asset (required), days.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap. alert_social_shift detects volume changes, get_sentiment_balance measures sentiment polarity, get_social_dominance calculates discussion share, get_social_volume counts mentions, and get_trending_words identifies popular terms. The descriptions reinforce these unique functions, eliminating any confusion.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern with four tools using 'get_' and one using 'alert_'. While 'alert_' deviates slightly, it still maintains readability and logical grouping. All names are snake_case and descriptive, making the set predictable and easy to navigate.

    Tool Count5/5

    With 5 tools, this server is well-scoped for crypto sentiment analysis. Each tool serves a specific, non-redundant function within the domain, covering key metrics like volume, sentiment, dominance, and trends. The count is neither too sparse nor bloated, fitting the purpose efficiently.

    Completeness4/5

    The toolset covers core aspects of crypto sentiment analysis: volume tracking, sentiment measurement, dominance calculation, and trend identification. A minor gap exists in lacking tools for historical data comparison or predictive analytics, but agents can work around this by combining existing tools for basic workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers