Sentiment Analysis AI MCP
This server provides text sentiment and emotion analysis through four tools:
Analyze Sentiment (
analyze_sentiment): Analyse a single text, returning a score (0ā1), a label (positive/negative/neutral/mixed), and a confidence value.Batch Analyze (
batch_analyze): Analyse sentiment for multiple texts at once, separated by a|||delimiter.Compare Sentiments (
compare_sentiments): Compare the sentiment of two texts side by side, highlighting differences in tone.Extract Emotions (
extract_emotions): Detect specific emotions in a text and return them with intensity scores, going beyond simple positive/negative classification.
Sentiment Analysis Ai MCP
Analyse text sentiment, detect emotions, and compare tones
Analyse text sentiment, detect emotions, and compare tones. By MEOK AI Labs.
š Quick Start
# Install via pip
pip install sentiment_analysis_ai_mcp
# Or install via Smithery
npx -y @smithery/cli@latest install sentiment-analysis-ai-mcp --client claudeRelated MCP server: Customer Support AI MCP
⨠Features
MCP protocol compliant
Easy installation
Well-documented API
Production-ready
Active maintenance
š Documentation
š”ļø Compliance
This MCP server is built with EU AI Act compliance built-in:
ā Article 9 ā Risk Management System
ā Article 13 ā Transparency & Instructions for Use
ā Article 15 ā Bias Detection & Testing
ā Article 26 ā FRIA Support (where applicable)
ā Article 50 ā AI Content Watermarking (where applicable)
Need help getting compliant? Book a free 15-min diagnostic ā
š¢ Enterprise
Need custom development, SLA guarantees, or white-label deployment?
Pro: $99/mo ā Full MCP suite + EU AI Act tracking
Enterprise: $499/mo ā Custom dev + SLA + Dedicated support
View Pricing ā | Contact Sales ā
š¤ Part of the MEOK Ecosystem
This server is part of the MEOK AI Labs ecosystem ā 300+ MCP servers for sovereign AI governance.
Domain | Purpose |
EU AI Act compliance marketplace | |
AI safety & monitoring | |
Sovereign AI platform | |
Legacy modernization |
š License
MIT Ā© CSOAI-ORG
Pairs with MEOK Governance Suite
Build something that touches users? You need compliance. MEOK ships 38 governance MCPs that drop in alongside this tool ā EU AI Act, DORA, NIS2, CRA, GDPR, ISO 42001, FDA SaMD, MDR, Basel, MiFID II, MiCA, COPPA, and more.
# One-shot install of the governance pack
npx meok-setup --pack governanceFree tier: 10 calls/day per MCP. Pro tier (Ā£79/mo): unlimited + cryptographically signed compliance attestations your auditor verifies independently.
ā Full catalogue: councilof.ai/catalogue ā MEOK AI Labs: meok.ai
šø Try MEOK in 30 seconds ā instant buy ladder
Tier | Price | What you get | Stripe |
Smoke test | £1 | Signed sample MCP-Hardening report + Article 50 PDF | |
Quick Kit | £9 | EU AI Act Article 50 implementation guide (C2PA + EU-Icon) | |
Founder Call | £29 | 30-min 1-on-1 with the founder |
Refundable. UK Stripe ā VAT-clean. Builds on the 81-MCP MEOK fleet. Verify any signed report at https://meok.ai/verify.
Configuration
Add to your claude_desktop_config.json (Claude Desktop) or your MCP client config:
{
"mcpServers": {
"sentiment-analysis-ai-mcp": {
"command": "uvx",
"args": ["sentiment-analysis-ai-mcp"]
}
}
}Or: pip install sentiment-analysis-ai-mcp then run the sentiment-analysis-ai-mcp command (stdio transport).
Examples
Once configured, ask your assistant, for example:
"Use
analyze_sentimentto ā¦""Use
batch_analyzeto ā¦""Use
compare_sentimentsto ā¦"
Available Tools
4 toolsanalyze_sentimentA
Analyse the sentiment of a text. Returns score (0-1), label (positive/negative/neutral/mixed), and confidence.
Behavior: This tool is read-only and stateless ā it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: text (str): The text to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| api_key | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description thoroughly covers all behavioral traits: read-only, stateless, idempotent, rate limits (free 10/day, pro unlimited), authentication requirement, error handling, and data privacy. No contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with sections for behavior, usage, arguments, and transparency. While it is lengthy, each section adds necessary context, and the information is front-loaded with the core purpose and output.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations and only two parameters (one required), the description covers all essential aspects: output format, side effects, authentication, rate limits, error handling, and privacy. The presence of an output schema reduces the need to detail return values, but the description already mentions the output components.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, but the description includes an 'Args' section with minimal descriptions: 'text' is 'The text to analyze or process', and 'api_key' is 'The api key to analyze or process' ā the latter is redundant and uninformative. It fails to explain the purpose or usage of the api_key parameter beyond being a key.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool analyzes sentiment, providing score, label, and confidence. It distinguishes from siblings like batch_analyze, compare_sentiments, and extract_emotions by focusing on single text sentiment analysis.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description includes explicit 'When to use' and 'When NOT to use' sections, but the 'When to use' is somewhat generic ('structured analysis or classification of inputs against established frameworks or standards'), lacking specific mention of sentiment analysis. It does caution against real-time production use without human review.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
batch_analyzeA
Analyse sentiment for multiple texts at once. Provide texts separated by '|||' delimiter.
Behavior: This tool is read-only and stateless ā it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: texts (str): The texts to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | ||
| api_key | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description fully covers behavioral traits: it declares read-only, stateless, idempotent, and no side effects. It details authentication (basic vs pro), rate limits (10/day free, unlimited pro), error handling, and data privacy. This exceeds the burden required for transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections, front-loading the main purpose. While slightly verbose, each section (behavior, usage, args, transparency) adds distinct value and avoids unnecessary repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's batch processing nature and two parameters, the description covers behavior, usage, and transparency thoroughly. Since an output schema exists, return values are not needed. The description lacks examples but is otherwise complete for selecting and invoking the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The 'Args' section adds minimal value beyond the schema, but the description compensates partially by explaining the delimiter for texts and noting authentication requirements for API key. Given 0% schema coverage, more detail on input formatting or examples would improve semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool analyzes sentiment for multiple texts at once, specifying the '|||' delimiter. It distinguishes itself from siblings like analyze_sentiment (single text) and compare_sentiments (comparison) by focusing on batch processing, though it doesn't explicitly contrast them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description includes explicit 'When to use' and 'When NOT to use' sections, guiding the agent towards structured analysis and away from real-time decision-making without human review. However, it could better compare with sibling tools to clarify when this batch tool is preferred over single analysis.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compare_sentimentsA
Compare the sentiment of two texts side by side.
Behavior: This tool is read-only and stateless ā it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: text_a (str): The text a to analyze or process. text_b (str): The text b to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| text_a | Yes | ||
| text_b | Yes | ||
| api_key | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Provides a dedicated 'Behavioral Transparency' section covering side effects, authentication, rate limits, error handling, idempotency, and data privacy. Since no annotations exist, the description fully bears this burden and does so comprehensively.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured with sections but contains redundancy (e.g., stateless idempotency repeated in 'Behavior' and 'Behavioral Transparency'). Some sentences are generic (e.g., 'The text a to analyze or process'). Could be more concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers behavior, usage, and transparency well, but lacks description of the output schema (exists but unaddressed). The 'When to use' section is generic and does not fully specify the tool's niche. Adequate but has gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description only repeats parameter names in the 'Args' section without adding meaningful details like format, constraints, or examples. It fails to compensate for the lack of schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Compare the sentiment of two texts side by side', with a specific verb and resource. It distinguishes from sibling tools like analyze_sentiment (single text) and batch_analyze (batch) by focusing on side-by-side comparison.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Includes explicit 'When to use' and 'When NOT to use' sections, stating it's for structured analysis/classification and not for real-time production decisions without human review. However, it does not directly mention alternatives like sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
extract_emotionsA
Detect emotions present in text. Returns detected emotions with intensity scores.
Behavior: This tool is read-only and stateless ā it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Args: text (str): The text to analyze or process. api_key (str): The api key to analyze or process.
Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| api_key | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
In the absence of annotations, the description thoroughly covers side effects, authentication, rate limits, error handling, idempotency, and data privacy in a dedicated 'Behavioral Transparency' section. It is comprehensive and clearly communicates the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections and front-loaded purpose. Some repetition occurs between the initial bullet points and the detailed 'Behavioral Transparency' section, but overall it is efficient and easy to read.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (2 parameters, no nested objects, output schema present), the description covers all necessary aspects: purpose, usage, parameter semantics, and extensive behavioral details. It is fully complete for an agent to use correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description provides brief parameter descriptions for text and api_key, but they add little beyond the schema (e.g., just restating name and type). With 0% schema coverage, the description barely compensates; the documentation is minimal.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool detects emotions in text and returns intensity scores. It distinguishes from siblings like analyze_sentiment by focusing specifically on emotions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description includes dedicated 'When to use' and 'When NOT to use' sections, providing clear context for when to apply the tool. However, it does not explicitly compare to sibling tools like batch_analyze or compare_sentiments.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v1.0.0- First observed
analyze_sentiment - First observed
batch_analyze - First observed
compare_sentiments - First observed
extract_emotions
TDQS
Each tool has a distinct and clear purpose: single sentiment analysis, batch analysis, pairwise comparison, and emotion detection. There is no overlap or ambiguity between them.
All tool names use snake_case and follow a verb_noun pattern, though 'batch_analyze' slightly deviates by placing the modifier first instead of the verb. Otherwise consistent.
With 4 tools, the server is well-scoped for sentiment analysis. Each tool provides a necessary function without bloat or insufficiency.
The tool set covers single, batch, comparison, and emotion analysis, which are key aspects of sentiment analysis. Minor gaps like trend analysis exist but are not essential for basic usage.
Maintenance
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for Flux AI image generation
MCP server for NanoBanana AI image generation and editing
Agent Delegation MCP Server by MEOK AI Labs
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceData Science AI - MCP server providing AI-powered tools and automation by MEOK AI Labs17MIT
- AlicenseNot gradedqualityBmaintenanceCustomer Support AI - MCP server providing AI-powered tools and automation by MEOK AI Labs14MIT
- AlicenseNot gradedqualityFmaintenanceConsciousness Engine - MCP server providing AI-powered tools and automation by MEOK AI Labs15MIT
- AlicenseNot gradedqualityBmaintenanceFeedback Analyzer AI - MCP server providing AI-powered tools and automation by MEOK AI Labs14MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CSOAI-ORG/sentiment-analysis-ai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server