mcp-sentiment-analysis

evteevakb/mcp-sentiment-analysis

3.1

If you are the rightful owner of mcp-sentiment-analysis and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that provides sentiment analysis capabilities using the TextBlob library.

MCP Sentiment Analysis

A Model Context Protocol (MCP) server that provides sentiment analysis capabilities using the TextBlob library. This server offers a way to analyze the emotional tone of text, returning polarity (positive/negative) and subjectivity (objective/subjective) scores.

Setup

  1. Clone the repository:

    git clone https://github.com/evteevakb/mcp-sentiment-analysis.git
    cd mcp-sentiment-analysis
    
  2. Create a virtual environment:

    uv venv
    
  3. Activate the virtual environment:

    # On Linux/macOS
    source venv/bin/activate
    
    # On Windows
    venv\Scripts\activate
    
  4. Install dependencies:

    uv sync
    

Usage

Start the sentiment analysis server:

uv run python server/app.py

Once running, you can:

  • Open your browser to http://localhost:7860 to use the web interface
  • Connect MCP-compatible applications to analyze text sentiment

Sentiment Analysis Interface