Counting MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Counting MCP Serverhow many 'r's are in 'strawberry'?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Remote MCP Tools
Install the dependencies:
npm installStart your MCP server with:
npm run startYour server will be running at http://localhost:3000/mcp.
You can quickly try it out with the command below:
bunx @modelcontextprotocol/inspector@0.16.2 \
--cli http://localhost:3000/mcp \
--transport http \
--method tools/listOr try it out interactively using the inspector:
bunx @modelcontextprotocol/inspector@0.16.2Related MCP server: Toy MCP Server
Connecting to Claude Desktop
To connect your tool to Claude Desktop:
Open Claude Desktop.
Go to Settings > Developer > Edit Config.
Add your MCP server to the configuration using
mcp-proxy:
{
"mcpServers": {
"counting": {
"command": "mcp-proxy",
"args": [
"http://localhost:3000/sse"
]
}
}
}NOTE:
mcp-proxy(repo) enables Claude Desktop (which currently supports only thestdiotransport of the MCP spec) to connect to your MCP Server viaHTTP+SSEprotocol by translating between the two. Ensuremcp-proxyis installed and accessible in your system's PATH.
Restart Claude Desktop, and your tool will be available.
Testing It Out
Now you can ask Claude: "How many 'R's are in 'strawberry'?"
Claude should use your counting tool to provide the correct answer.

Available Tools
1 toolcount-charactersB
Counts occurrences of a specific character in text
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to analyze | |
| character | Yes | The character to count |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavioral traits, but it only states the basic counting operation. It does not clarify case sensitivity, whether the 'character' parameter must be a single character, or how multi-character strings are handled. These gaps could lead to incorrect invocation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with zero filler, front-loading the action and the target. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter tool, the schema covers parameter meanings, but there is no output schema and no explicit statement of the return value or edge-case behavior. The description is adequate for the straightforward case but leaves subtle behavior (case sensitivity, multi-character input) undefined.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both 'text' and 'character' documented in the input schema. The description adds no further semantic detail beyond the schema, so the baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('counts') and names the resource ('occurrences of a specific character in text'), making the tool's purpose unambiguous. Even though no sibling tools are listed, the operation is clearly differentiated from any general text manipulation tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives, and no usage context is provided. The description is a bare statement of functionality with no mention of intended scenarios, limitations, or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
1 tool update
v0.0.1- First observed
count-characters
TDQS
With only one tool, there is no possibility of confusing it with another tool. The tool's purpose is clearly defined as counting occurrences of a specific character in text.
The single tool name 'count-characters' follows a clear verb_noun pattern. Since there is only one tool, naming consistency is trivially maintained.
One tool is slightly below the typical 3-15 range, but it is reasonable for a server dedicated to a single specific function. The narrow scope justifies having just one tool.
For the domain of counting character occurrences, the tool fully covers the intended operation with no dead ends. The server does exactly what its name and description indicate.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
A very simple remote MCP server that greets you, with a custom icon.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceAn MCP server that enables LLMs to count occurrences of specific letters within words, created as a learning example for the Model Context Protocol.1-
- FlicenseBqualityDmaintenanceA simple MCP server that provides two tools: one for counting specific letter occurrences within words and another for generating UUIDv7s.2-
- FlicenseNot gradedqualityDmaintenanceProvides a tool to count occurrences of specific characters in text, serving as a simple example of building MCP servers with FastMCP and Python.-
- FlicenseNot gradedqualityDmaintenanceA simple educational MCP server providing basic math operations, string manipulation, and greeting functionality. Demonstrates how to implement MCP tools for learning purposes.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rekog-labs/mcp-nest-getting-started'
If you have feedback or need assistance with the MCP directory API, please join our Discord server