Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Strawbery Unicode Character Counter

БесплатноНе проверен

Provides Unicode character counting and position tracking for text analysis with support for CJK and multilingual content.

GitHubEmbed

Описание

Provides Unicode character counting and position tracking for text analysis with support for CJK and multilingual content.

README

An MCP (Model Context Protocol) server that provides a tool to count the correct number of R's in "strawberry".

Features

  • Case-insensitive character counting
  • Supports Unicode characters, including CJK (Chinese, Japanese, Korean)
  • Returns count and 1-indexed positions of matches
  • JSON response format

Tool: strawberry-count

Parameters

  • input (string, required): The string to search in
  • character (string, required): The single character to count (must be exactly one Unicode rune)
{
  "character": "r",
  "input": "strawberry"
}

Response

JSON object with:

  • count (int): Number of occurrences
  • positions (array of int): 1-indexed positions where the character appears
{
  "count": 3,
  "positions": [
    3,
    8,
    9
  ]
}

Examples

  • Input: {"input": "strawberry", "character": "r"}{"count": 3, "positions": [3,6,8]}
  • Input: {"input": "你好", "character": "你"}{"count": 1, "positions": [1]}

Running the Server

This server uses SSE for MCP communication.

Local

go run main.go

Container

docker build -t strawbery-mcp . && docker run -p 3001:3001 strawbery-mcp

Add To OpenCode

Add to the $.mcp block of your opencode.jsonc

{
	"$schema": "https://opencode.ai/config.json",
	"mcp": {
		"strawbery": {
			"type": "remote",
			"url": "http://localhost:3001/sse",
			"enabled": true
		}
	}
}

from github.com/3io-w/strawbery-mcp

Установка Strawbery Unicode Character Counter

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/3io-w/strawbery-mcp

FAQ

Strawbery Unicode Character Counter MCP бесплатный?

Да, Strawbery Unicode Character Counter MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Strawbery Unicode Character Counter?

Нет, Strawbery Unicode Character Counter работает без API-ключей и переменных окружения.

Strawbery Unicode Character Counter — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Strawbery Unicode Character Counter в Claude Desktop, Claude Code или Cursor?

Открой Strawbery Unicode Character Counter на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Strawbery Unicode Character Counter with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development