About Strawbery MCP
Strawbery MCP is an MCP server published by 3io-w in the Developer Tools category: an MCP server for counting the number of R's in Strawberry and more.
The repository has 3 stars and 0 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/3io-w/strawbery-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Strawbery MCP
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository yesterday. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
Strawbery-MCP
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 incharacter(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 occurrencespositions(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
}
}
}
README fetched from the repository yesterday. The original is authoritative.