Sentiment Evolution Tracker – MCP Monitoring Stack

Sentiment Evolution Tracker is an enterprise-ready monitoring stack that runs as a Model Context Protocol (MCP) server. It combines local sentiment analytics, churn prediction, alerting, and reporting, and can operate standalone or alongside Claude Desktop as an intelligent assistant.

Why This Exists

Traditional "use Claude once and move on" workflows do not keep historical context, trigger alerts, or generate portfolio-level insights. Sentiment Evolution Tracker solves that by providing:

πŸŽ₯ Demo Video

A demo video (3-4 minutes) showing live sentiment analysis, risk detection, and MCP integration with Claude:

Watch on YouTube

The video demonstrates:


How to Use

Quick Start (5 minutes)

  1. Clone and install:

    git clone https://github.com/RubenReyesss/mcp-nlp-analytics.git
    cd mcp-nlp-server
    pip install -r requirements.txt
    python -m textblob.download_corpora
    python -m nltk.downloader punkt averaged_perceptron_tagger
    
  2. Populate demo data:

    python init_db.py
    python tools/populate_demo_data.py
    
  3. View dashboard:

    python tools/dashboard.py
    
  4. Generate HTML report:

    python tools/generate_report.py
    # Opens data/reporte_clientes.html in your browser
    
  5. Integrate with Claude Desktop:

    • Edit config/claude_desktop_config.json with your actual path
    • Restart Claude Desktop
    • Start the MCP server: python src/mcp_server.py
    • Now Claude can access all 7 sentiment analysis tools

Installation

cd mcp-nlp-server
pip install -r requirements.txt
python -m textblob.download_corpora
python -m nltk.downloader punkt averaged_perceptron_tagger

Daily Operations

MCP Tool Suite

Tool Purpose
analyze_sentiment_evolution Calculates sentiment trajectory for a set of messages
detect_risk_signals Flags phrases that correlate with churn or dissatisfaction
predict_next_action Forecasts CHURN / ESCALATION / RESOLUTION outcomes
get_customer_history Retrieves full timeline, sentiment, and alerts for a customer
get_high_risk_customers Returns customers whose churn risk is above a threshold
get_database_statistics Portfolio-level KPIs (customers, alerts, sentiment mean)
save_analysis Persists a custom analysis entry with full metadata

Data Model (SQLite)

Database files live in data/sentiment_analysis.db; scripts automatically create the directory if needed.

Claude Desktop Integration

config/claude_desktop_config.json registers the server:

{
  "mcpServers": {
    "sentiment-tracker": {
      "command": "python",
      "args": ["src/mcp_server.py"],
      "cwd": "C:/Users/Ruben Reyes/Desktop/MCP_1stHF/mcp-nlp-server"
    }
  }
}

Restart Claude Desktop after editing the file. Once connected, the seven tools above appear automatically and can be invoked using natural language prompts.

Documentation Map

Tech Stack

Status

Run python tools\dashboard.py or open the generated HTML report to verify data before your demo, then start the MCP server and launch Claude Desktop to show the agentic workflow in real time.


Team

Role Contributor GitHub
Developer RubenReyesss @RubenReyesss

Track

This project is submitted to Track 1: Building MCPs (building-mcp-track-01).

It demonstrates a production-ready MCP server that extends Claude's capabilities with persistent analytics, risk prediction, and alertingβ€”solving the limitation that Claude lacks memory, database writes, and automated monitoring.


πŸ“± Social Media Post

Announcement on LinkedIn:

Read the full post on LinkedIn

Featured in: MCP 1st Birthday Hackathon


Resources


Made with ❀️ for the Anthropic MCP 1st Birthday Hackathon