Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@dennisk2025/emoji-replacer

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dennisk2025/emoji-replacer

Replaces specific words in a text with corresponding emojis, making text more expressive and fun.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

emoji-replacer-mcp

Replaces specific words in a text with corresponding emojis, making your text more expressive and fun!

Features

  • Replace keywords like "happy", "cat", "coffee", etc. with their emoji equivalents in your text.
  • Supports custom word-to-emoji mapping per request.

Installation

You can run via npx (recommended):

npx @dennisk2025/emoji-replacer-mcp

Or install globally:

npm install -g @dennisk2025/emoji-replacer-mcp

Or as a local dependency:

npm install @dennisk2025/emoji-replacer-mcp

Adding to Claude Desktop

Add the following to your Claude Desktop config file at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "emoji-replacer": {
      "command": "npx",
      "args": ["@dennisk2025/emoji-replacer-mcp"]
    }
  }
}

Usage Examples

Available tool:

replace_words_with_emojis

Replaces predefined words in a text with their emoji equivalents. You can also supply additional or override mappings.

Parameters

  • text (string, required): Input text where keywords will be replaced by emojis.
  • emojis (object, optional): Optional custom mapping for word-to-emoji replacements.

Example Calls

1. Basic replacement:

Input:

{
  "name": "replace_words_with_emojis",
  "arguments": {
    "text": "I am happy to see my cat drink coffee."
  }
}

Output:

{
  "result": "I am 😊 to see my 🐱 drink ☕️."
}

2. Custom mapping:

Input:

{
  "name": "replace_words_with_emojis",
  "arguments": {
    "text": "Let's eat cake and play music under the sun!",
    "emojis": { "cake": "🎂", "sun": "🌞" }
  }
}

Output:

{
  "result": "Let\u0027s eat 🎂 and play 🎵 under the 🌞!"
}

Tool Reference

replace_words_with_emojis

  • Description: Takes a string of text and replaces predefined keywords (like 'happy', 'cat', 'coffee') with their respective emojis. The mapping can be expanded and customized.
  • Parameters:
    • text (string, required): Input text where keywords will be replaced by emojis.
    • emojis (object, optional): Mapping for custom replacements. Example: { "apple": "🍎" }
  • Default mappings: happy, cat, dog, coffee, love, smile, sun, star, music, cake

Enjoy expressive text in Claude with emoji-replacer-mcp!

FAQs

Package last updated on 25 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts