MCP (Model Context Protocol) server for the Oyemi semantic lexicon. Provides deterministic word-to-code mapping and valence analysis for AI agents like Claude, ChatGPT, and Gemini. - Semantic Encoding: Convert words to deterministic semantic codes - Valence Analysis: Analyze text sentiment using lexicon-based valence - Semantic Similarity: Measure how similar two words are - Synonym/Antonym Lookup
Add this skill
npx mdskills install Osseni94/oyemi-mcpWell-documented semantic lexicon MCP with useful NLP tools but network access seems unnecessary
1# Oyemi MCP Server23MCP (Model Context Protocol) server for the Oyemi semantic lexicon. Provides deterministic word-to-code mapping and valence analysis for AI agents like Claude, ChatGPT, and Gemini.45## Features67- **Semantic Encoding**: Convert words to deterministic semantic codes8- **Valence Analysis**: Analyze text sentiment using lexicon-based valence9- **Semantic Similarity**: Measure how similar two words are10- **Synonym/Antonym Lookup**: Find related words11- **Zero Runtime Dependencies**: No external NLP libraries needed at runtime1213## Installation1415```bash16pip install oyemi-mcp17```1819Or install from source:2021```bash22git clone https://github.com/Osseni94/oyemi-mcp23cd oyemi-mcp24pip install -e .25```2627## Configuration2829### Claude Desktop3031Add to your `claude_desktop_config.json`:3233```json34{35 "mcpServers": {36 "oyemi": {37 "command": "oyemi-mcp"38 }39 }40}41```4243### Claude Code4445Add to your MCP settings:4647```json48{49 "mcpServers": {50 "oyemi": {51 "command": "oyemi-mcp"52 }53 }54}55```5657## Available Tools5859### `encode_word`60Encode a word to its semantic code.6162```63encode_word("happy")64-> {65 "word": "happy",66 "code": "1023-00012-3-2-1",67 "pos": "adjective",68 "abstractness": "abstract",69 "valence": "positive"70}71```7273### `analyze_text`74Analyze the valence/sentiment of text.7576```77analyze_text("I feel hopeful but anxious about the future")78-> {79 "valence_score": 0.0,80 "sentiment": "neutral",81 "positive_words": ["hopeful"],82 "negative_words": ["anxious"],83 ...84}85```8687### `semantic_similarity`88Compare two words semantically.8990```91semantic_similarity("happy", "joyful")92-> {93 "similarity": 0.85,94 "relationship": "very similar"95}96```9798### `find_synonyms`99Find synonyms for a word.100101```102find_synonyms("happy")103-> {104 "synonyms": ["glad", "felicitous", "well-chosen"]105}106```107108### `find_antonyms`109Find antonyms for a word.110111```112find_antonyms("happy")113-> {114 "antonyms": ["unhappy"]115}116```117118### `batch_encode`119Encode multiple words at once.120121```122batch_encode(["happy", "sad", "neutral"])123-> {124 "results": [125 {"word": "happy", "valence": "positive"},126 {"word": "sad", "valence": "negative"},127 {"word": "neutral", "valence": "neutral"}128 ]129}130```131132### `get_lexicon_info`133Get information about the lexicon.134135```136get_lexicon_info()137-> {138 "name": "Oyemi",139 "version": "3.2.0",140 "word_count": 145014141}142```143144## Code Format145146Oyemi codes follow the format `HHHH-LLLLL-P-A-V`:147148| Component | Description | Values |149|-----------|-------------|--------|150| HHHH | Semantic superclass | 4-digit category code |151| LLLLL | Synset ID | 5-digit unique identifier |152| P | Part of speech | 1=noun, 2=verb, 3=adj, 4=adv |153| A | Abstractness | 0=concrete, 1=mixed, 2=abstract |154| V | Valence | 0=neutral, 1=positive, 2=negative |155156## Use Cases157158- **AI Sentiment Analysis**: Let AI agents understand emotional tone159- **Semantic Grounding**: Provide concrete valence scores instead of guessing160- **Text Analysis**: Analyze documents, reviews, feedback161- **Word Relationships**: Find synonyms, antonyms, similar words162163## License164165MIT License166167## Author168169Kaossara Osseni - [grandnasser.com](https://grandnasser.com)170
Full transparency — inspect the skill content before installing.