Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Strawbery

FreeNot checked

An MCP server for counting the number of R's in Strawberry and more.

GitHubEmbed

About

An MCP server for counting the number of R's in Strawberry and more.

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

Installing Strawbery

This server has no published package — it is built from source. Open the repository and follow its README.

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

FAQ

Is Strawbery MCP free?

Yes, Strawbery MCP is free — one-click install via Unyly at no cost.

Does Strawbery need an API key?

No, Strawbery runs without API keys or environment variables.

Is Strawbery hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Strawbery in Claude Desktop, Claude Code or Cursor?

Open Strawbery on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Strawbery with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs