The first general-purpose sentiment analysis tool for AI agents. KeyNeg MCP Server brings enterprise-grade sentiment analysis to Claude, ChatGPT, Gemini, and any AI assistant that supports the Model Context Protocol (MCP). - 95+ Sentiment Labels - Comprehensive negative sentiment taxonomy - Keyword Extraction - Identify specific complaints and issues - Batch Processing - Analyze multiple texts eff
Add this skill
npx mdskills install Osseni94/keyneg-mcpProfessional sentiment analysis MCP server with clear tool descriptions and tiered capabilities
1# KeyNeg MCP Server23**The first general-purpose sentiment analysis tool for AI agents.**45KeyNeg MCP Server brings enterprise-grade sentiment analysis to Claude, ChatGPT, Gemini, and any AI assistant that supports the Model Context Protocol (MCP).67## Features89- **95+ Sentiment Labels** - Comprehensive negative sentiment taxonomy10- **Keyword Extraction** - Identify specific complaints and issues11- **Batch Processing** - Analyze multiple texts efficiently12- **Tiered Access** - Free, Trial, Pro, and Enterprise tiers13- **Offline Capable** - No external API calls, runs locally14- **Fast** - Rust-powered inference via ONNX Runtime1516## Installation1718```bash19pip install keyneg-mcp20```2122Or install from source:2324```bash25git clone https://github.com/Osseni94/keyneg-mcp26cd keyneg-mcp27pip install -e .28```2930### Prerequisites31321. **KeyNeg-RS** - The sentiment analysis engine:33 ```bash34 pip install keyneg-enterprise-rs --extra-index-url https://pypi.grandnasser.com/simple35 ```36372. **ONNX Model** - Export or download the model:38 ```bash39 pip install keyneg-enterprise-rs[model-export]40 keyneg-export-model --output-dir ~/.keyneg/models/all-mpnet-base-v241 ```4243## Configuration4445### Claude Desktop4647Add to your Claude Desktop config (`~/.config/claude/claude_desktop_config.json` on macOS/Linux or `%APPDATA%\Claude\claude_desktop_config.json` on Windows):4849```json50{51 "mcpServers": {52 "keyneg": {53 "command": "keyneg-mcp",54 "env": {55 "KEYNEG_MODEL_PATH": "~/.keyneg/models/all-mpnet-base-v2"56 }57 }58 }59}60```6162### Claude Code6364```bash65claude mcp add keyneg keyneg-mcp66```6768### Environment Variables6970| Variable | Description | Default |71|----------|-------------|---------|72| `KEYNEG_MODEL_PATH` | Path to ONNX model directory | `~/.keyneg/models/all-mpnet-base-v2` |73| `KEYNEG_LICENSE_KEY` | License key for Pro/Enterprise | None (Free tier) |7475## Available Tools7677### `analyze_sentiment`7879Analyze sentiment in text and return top sentiment labels with scores.8081```82analyze_sentiment("The service was terrible and staff was rude", top_n=5)83```8485**Returns:**86```json87{88 "sentiments": [89 {"label": "poor customer service", "score": 0.7234},90 {"label": "hostile", "score": 0.5123},91 {"label": "unprofessional", "score": 0.4567}92 ]93}94```9596### `extract_keywords`9798Extract negative keywords and phrases from text. *(Pro/Enterprise only)*99100```101extract_keywords("Product broke after one day, support never responded", top_n=5)102```103104**Returns:**105```json106{107 "keywords": [108 {"keyword": "broke", "score": 0.8234},109 {"keyword": "never responded", "score": 0.7123}110 ]111}112```113114### `full_analysis`115116Combined sentiment and keyword analysis.117118```119full_analysis("Hotel was dirty, staff unhelpful, food cold")120```121122**Returns:**123```json124{125 "sentiments": [...],126 "keywords": [...],127 "overall": "strongly_negative"128}129```130131### `batch_analyze`132133Analyze multiple texts at once. *(Trial/Pro/Enterprise only)*134135```136batch_analyze(["Great!", "Terrible service", "It was okay"])137```138139### `get_usage_info`140141Check your current tier and usage.142143```144get_usage_info()145```146147### `get_sentiment_labels`148149Get the full taxonomy of sentiment labels.150151```152get_sentiment_labels()153```154155## Pricing Tiers156157| Tier | Price | Sentiment Labels | Keywords | Batch | Daily Calls |158|------|-------|------------------|----------|-------|-------------|159| **Free** | $0 | 3 | No | No | 100 |160| **Trial** | $0 (30 days) | 95+ | Yes | Yes | 1,000 |161| **Pro** | Contact us | 95+ | Yes | Yes | Unlimited |162| **Enterprise** | Contact us | 95+ | Yes | Yes | Unlimited |163164Get a license at [grandnasser.com](https://grandnasser.com/docs/keyneg-rs)165166## Use Cases167168- **Customer Support** - Triage tickets by sentiment urgency169- **Content Moderation** - Flag negative/toxic content170- **HR Analytics** - Analyze employee feedback171- **Market Research** - Understand customer opinions172- **Social Listening** - Monitor brand sentiment173174## Example Prompts for Claude175176Once configured, you can ask Claude things like:177178- *"Analyze the sentiment of this customer review: [paste review]"*179- *"What are the main complaints in these support tickets?"*180- *"Is this feedback positive or negative?"*181- *"Extract the key issues from this employee survey response"*182183## Development184185```bash186# Install dev dependencies187pip install -e ".[dev]"188189# Run tests190pytest191192# Run server locally193python -m keyneg_mcp.server194```195196## License197198MIT License - The MCP server is open source.199200KeyNeg-RS (the sentiment analysis engine) requires a separate license for commercial use.201202## Support203204- **Documentation**: [grandnasser.com/docs/keyneg-mcp](https://grandnasser.com/docs/keyneg-mcp)205- **Issues**: [github.com/Osseni94/keyneg-mcp/issues](https://github.com/Osseni94/keyneg-mcp/issues)206- **Email**: admin@grandnasser.com207208## Author209210**Kaossara Osseni**211[Grand Nasser Enterprises](https://grandnasser.com)212
Full transparency — inspect the skill content before installing.