sentiment-analysis
The Sentiment Analysis MCP Server is a tool for determining the sentiment of text, providing insights into whether it is positive, negative, or neutral.
The Sentiment Analysis MCP Server offers a comprehensive solution for analyzing the sentiment of user comments, posts, or any text. It helps identify the tone of the text, whether positive, negative, or neutral, and provides valuable insights into user feedback, social media posts, and reviews. The server is designed to handle a variety of text inputs and offers customizable interpretation of sentiment scores, allowing users to set their own thresholds for sentiment classification. With features like ratio calculation of negative to positive words, it provides a deeper understanding of sentiment balance. The server is capable of handling up to 300 requests per second, ensuring scalability and efficiency.
Features
- Determine Tone: Identify if a comment or post is positive, negative, or neutral.
- Interpreting Scores: Analyze sentiment scores to understand the positivity or negativity of the text.
- Customizable Interpretation: Use provided scores to set your own thresholds for sentiment analysis.
- Ratio Calculation: Assess the ratio of negative to positive words for deeper insight.
MCP Tools
- Sentiment Analysis Group: Analyze (GET/POST): Returns sentiment analysis results with scores for the given text.
Usage with Different Platforms
python
python
import requests
url = 'http://sentiment-analysis-mcp-server/analyze'
text = 'I love this product!'
response = requests.post(url, data={'text': text})
print(response.json())
javascript
javascript
fetch('http://sentiment-analysis-mcp-server/analyze', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ text: 'I love this product!' })
})
.then(response => response.json())
.then(data => console.log(data));