Skip to main content

An MCP server that delivers cryptocurrency sentiment analysis to AI agents.

Project description

Crypto Sentiment MCP Server

An MCP server that delivers cryptocurrency sentiment analysis to AI agents, leveraging Santiment's aggregated social media and news data to track market mood and detect emerging trends.

GitHub License Python Version Status

Features

  • Sentiment Analysis: Retrieve sentiment balance (positive vs. negative) for specific cryptocurrencies.
  • Social Volume Tracking: Monitor total social media mentions and detect significant shifts (spikes or drops).
  • Social Dominance: Measure the share of discussions an asset occupies in crypto media.
  • Trending Words: Identify the most popular terms trending in cryptocurrency discussions.

Tools

Tool Name Description Parameters
get_sentiment_balance Get the average sentiment balance for an asset over a specified period. asset: str, days: int = 7
get_social_volume Fetch the total number of social media mentions for an asset. asset: str, days: int = 7
alert_social_shift Detect significant spikes or drops in social volume compared to the previous average. asset: str, threshold: float = 50.0, days: int = 7
get_trending_words Retrieve the top trending words in crypto discussions, ranked by score over a period. days: int = 7, top_n: int = 5
get_social_dominance Measure the percentage of crypto media discussions dominated by an asset. asset: str, days: int = 7

Prerequisites

  • Python: 3.10 or higher
  • Santiment API Key: Obtain a free or paid key from Santiment.

Installation

  1. Clone the Repository:

    git clone https://github.com/kukapay/crypto-sentiment-mcp.git
    cd crypto-sentiment-mcp
    
  2. Configure Client:

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

Examples

Below are examples of natural language inputs and their corresponding outputs when interacting with the server via an MCP-compatible client:

  • Input: "What's the sentiment balance for Bitcoin over the last week?"

    • Output: "Bitcoin's sentiment balance over the past 7 days is 12.5."
  • Input: "How many times has Ethereum been mentioned on social media in the past 5 days?"

    • Output: "Ethereum's social volume over the past 5 days is 8,432 mentions."
  • Input: "Tell me if there's been a big change in Bitcoin's social volume recently, with a 30% threshold."

    • Output: "Bitcoin's social volume spiked by 75.0% in the last 24 hours, from an average of 1,000 to 1,750."
  • Input: "What are the top 3 trending words in crypto over the past 3 days?"

    • Output: "Top 3 trending words over the past 3 days: 'halving', 'bullrun', 'defi'."
  • Input: "How dominant is Ethereum in social media discussions this week?"

    • Output: "Ethereum's social dominance over the past 7 days is 18.7%."

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_kukapay_crypto_sentiment_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_kukapay_crypto_sentiment_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_kukapay_crypto_sentiment_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c498bfacd4c64c122e9419d7c0038060168db42423a7acddb1b263e87dc0e37a
MD5 01a4fe864b9d46076f877fa1a30d995e
BLAKE2b-256 6f0ceadaa977bd324a3406918698f4fe56ece96736cb9f6a609751617d97a23a

See more details on using hashes here.

File details

Details for the file iflow_mcp_kukapay_crypto_sentiment_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_kukapay_crypto_sentiment_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_kukapay_crypto_sentiment_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43019b78d6c46c371c24d41acb3929dc194e4d3e2b29338ee0664b4b592549aa
MD5 65b43b0b1fe79da1fa7f6a7aeb697703
BLAKE2b-256 f8dd934e4f2e217c4322defa9e903a9474a80febfc34183651e33e3f28163399

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page