KOL Sentiment MCP

A Model Context Protocol (MCP) implementation for Key Opinion Leader sentiment analysis using the Masa AI API.


Overview

KOL Sentiment MCP provides a standardized interface for AI assistants to analyze Key Opinion Leaders (KOLs) on social media platforms. It leverages the Masa AI API for powerful semantic search and data retrieval, allowing for sentiment analysis, topic extraction, and trend identification without direct API access.

Features

  • Search for KOL content across platforms

  • Analyze sentiment of KOL posts

  • Extract trending topics from KOL content

  • Generate comprehensive KOL sentiment analysis

  • Identify trends across multiple KOLs

  • Support for both live and indexed (historical) data

  • Secure and rate-limited API access

  • Detailed logging and error handling

Architecture

kol-sentiment-mcp/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ handlers/        # Action handlers
β”‚   β”œβ”€β”€ routes/          # API routes
β”‚   β”œβ”€β”€ services/        # Core services
β”‚   β”œβ”€β”€ templates/       # HTML templates
β”‚   └── utils/           # Utilities
β”œβ”€β”€ logs/                # Log files
β”œβ”€β”€ tests/               # Test cases
β”œβ”€β”€ .env                 # Environment variables
β”œβ”€β”€ .env.example         # Example environment file
β”œβ”€β”€ requirements.txt     # Dependencies
β”œβ”€β”€ run.py               # Main entry point
└── README.md            # Documentation

For the set up guide and sample queries etc., please visit Dune Query MCP Github Repository .

Last updated