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
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.
pip install oyemi-mcp
Or install from source:
git clone https://github.com/Osseni94/oyemi-mcp
cd oyemi-mcp
pip install -e .
Add to your claude_desktop_config.json:
{
"mcpServers": {
"oyemi": {
"command": "oyemi-mcp"
}
}
}
Add to your MCP settings:
{
"mcpServers": {
"oyemi": {
"command": "oyemi-mcp"
}
}
}
encode_wordEncode a word to its semantic code.
encode_word("happy")
-> {
"word": "happy",
"code": "1023-00012-3-2-1",
"pos": "adjective",
"abstractness": "abstract",
"valence": "positive"
}
analyze_textAnalyze the valence/sentiment of text.
analyze_text("I feel hopeful but anxious about the future")
-> {
"valence_score": 0.0,
"sentiment": "neutral",
"positive_words": ["hopeful"],
"negative_words": ["anxious"],
...
}
semantic_similarityCompare two words semantically.
semantic_similarity("happy", "joyful")
-> {
"similarity": 0.85,
"relationship": "very similar"
}
find_synonymsFind synonyms for a word.
find_synonyms("happy")
-> {
"synonyms": ["glad", "felicitous", "well-chosen"]
}
find_antonymsFind antonyms for a word.
find_antonyms("happy")
-> {
"antonyms": ["unhappy"]
}
batch_encodeEncode multiple words at once.
batch_encode(["happy", "sad", "neutral"])
-> {
"results": [
{"word": "happy", "valence": "positive"},
{"word": "sad", "valence": "negative"},
{"word": "neutral", "valence": "neutral"}
]
}
get_lexicon_infoGet information about the lexicon.
get_lexicon_info()
-> {
"name": "Oyemi",
"version": "3.2.0",
"word_count": 145014
}
Oyemi codes follow the format HHHH-LLLLL-P-A-V:
| Component | Description | Values |
|---|---|---|
| HHHH | Semantic superclass | 4-digit category code |
| LLLLL | Synset ID | 5-digit unique identifier |
| P | Part of speech | 1=noun, 2=verb, 3=adj, 4=adv |
| A | Abstractness | 0=concrete, 1=mixed, 2=abstract |
| V | Valence | 0=neutral, 1=positive, 2=negative |
MIT License
Kaossara Osseni - grandnasser.com
Install via CLI
npx mdskills install Osseni94/oyemi-mcpOyemi MCP Server is a free, open-source AI agent skill. 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
Install Oyemi MCP Server with a single command:
npx mdskills install Osseni94/oyemi-mcpThis downloads the skill files into your project and your AI agent picks them up automatically.
Oyemi MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.