Strawbery MCP
An MCP server that provides a tool for calculating the number of 'r' characters in'strawberry', supporting Unicode characters and returning position information.
rating : 2.5 points
downloads : 7.2K
What is Strawbery-MCP?
Strawbery-MCP is an intelligent character counting server based on the Model Context Protocol. It can accurately count the occurrences of specified characters in any string and return the position information of each character. Although its name is derived from'strawberry', it can handle texts in various languages, including Chinese, Japanese, Korean, etc.How to use Strawbery-MCP?
You can use this service through simple API calls or by integrating it into development environments such as OpenCode. Simply provide the string to be searched and the character to be found, and the server will return detailed statistical results.Applicable Scenarios
It is suitable for scenarios such as text analysis, language learning, programming debugging, and data validation. For example: counting the frequency of a certain letter in an English word, finding specific Chinese characters in a Chinese text, validating user input formats, etc.Main Features
Intelligent Character Counting
Accurately count the occurrences of specified characters in a string, supporting the search for single Unicode characters.
Position Location
Return the specific positions (1 - based index) where the characters appear, facilitating quick positioning and analysis.
Multi - Language Support
Fully support the Unicode character set, including non - Latin characters such as Chinese, Japanese, and Korean.
Case - Insensitive
By default, perform case - insensitive matching to ensure the accuracy of statistical results.
Standardized Response Format
Return results in a unified JSON format, facilitating programmatic processing and integration.
Advantages
Easy to use: Simply provide the string and the character to obtain detailed statistics.
Cross - language support: Perfectly handle text analysis in various languages.
Accurate positioning: Provide accurate position information of characters.
Easy to integrate: Support the MCP protocol and can be easily integrated into various development environments.
Lightweight and efficient: Quick response and low resource consumption.
Limitations
Only support single - character search, not support strings or regular expressions.
Require an Internet connection (for the remote server version).
The position index starts from 1, which is different from the 0 - based index in some programming languages.
Do not support batch processing of statistics for multiple characters.
How to Use
Start the Server
First, you need to start the Strawbery - MCP server. You can choose to run it locally or use a Docker container.
Configure the Integration Environment
Add the server to the configuration file of your development environment (such as OpenCode).
Call the Counting Tool
Send a request through the strawberry - count tool, including the 'input' (the string to be searched) and 'character' (the character to be found) parameters.
Parse the Results
Receive and parse the JSON - formatted results returned by the server, including 'count' (the number of occurrences) and 'positions' (the position array).
Usage Examples
English Word Analysis
Analyze the occurrence of specific letters in English words to assist in language learning or spelling checks.
Chinese Text Processing
Process Chinese texts to find the occurrence of specific Chinese characters.
Mixed - Language Analysis
Process texts containing multiple languages to demonstrate Unicode support capabilities.
Frequently Asked Questions
Why is the tool named'strawberry - count' but the project is called 'Strawbery - MCP'?
Can I search for multiple characters or strings?
Why does the position index start from 1 instead of 0?
Which character encodings does the server support?
How can I integrate the server into my project?
What is the performance of the server? How long of a text can it handle?
Related Resources
Model Context Protocol Official Documentation
Understand the basic concepts and working principles of the MCP protocol.
OpenCode Configuration Guide
Learn how to configure and use the MCP server in OpenCode.
Unicode Character Set Reference
View the complete Unicode character set and supported languages.
GitHub Repository
Access the project source code and the latest updates.

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.7K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
25.1K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
36.1K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
73.9K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
33.0K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
65.8K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.2K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
98.5K
4.7 points





