Sentiment Analysis MCP Server
Enables sentiment analysis capabilities through a Gradio web interface, allowing users to analyze text for polarity, subjectivity, and sentiment assessment using TextBlob.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sentiment Analysis MCP Serveranalyze the sentiment of 'I love this product!'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
huggingface-mcp-course
Code for huggingface mcp course: https://huggingface.co/learn/mcp-course
Unit 2
Set cursor's global MCP setting:
{ "mcpServers": { "sentiment-analysis": { "command": "npx", "args": [ "-y", "mcp-remote", "http://localhost:7860/gradio_api/mcp/sse", "--transport", "sse-only" ] } } }Ask cursor to use tool:
Use sentiment analyze tool to analyze given sentence: "Hello World!"Run MCP local server and move it to background:
I can see that there's a sentiment analysis tool implemented in the codebase using TextBlob. Let me run the sentiment analysis on your sentence.Results:
Based on the sentiment analysis tool implementation, I can analyze the sentiment of "Hello World!" directly. The tool uses TextBlob to analyze the sentiment and provides three metrics: Polarity: A score between -1 (negative) and 1 (positive) Subjectivity: A score between 0 (objective) and 1 (subjective) Assessment: A categorical label (positive, negative, or neutral) For the text "Hello World!", the analysis would be: Polarity: 0.0 (neutral) Subjectivity: 0.0 (objective) Assessment: neutral This makes sense because "Hello World!" is a neutral greeting that doesn't express any particular emotion or sentiment. It's a standard programming phrase that's objective in nature. The sentiment analysis tool is now running and accessible through a web interface at http://127.0.0.1:7861 if you'd like to analyze more text or see the results in a visual format.
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server that returns sentiment analysis results from SentinelScan API.
MCP server for building and testing AI agents with multi-model experimentation and insights.
An MCP server that integrates with Discord to provide AI-powered features.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseAqualityFmaintenanceAn MCP server that delivers cryptocurrency sentiment analysis to AI agents.547MIT
- AlicenseBqualityCmaintenanceAn MCP server that provides AI assistants with team analytics capabilities for Cursor editor, allowing them to retrieve team member information, usage metrics, and spending data through natural language queries.33MIT
- AlicenseAqualityDmaintenanceThis MCP server enables users to interact with and analyze the dair-ai/emotion dataset from Hugging Face containing labeled Twitter messages. It provides tools to sample data, search text, and perform statistical analysis on emotion distributions.4GPL 3.0
- AlicenseAqualityBmaintenanceSentiment Analysis AI - MCP server providing AI-powered tools and automation by MEOK AI Labs49 npm47 PyPIMIT