MCP Utility Tool Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Utility Tool Server
A small, working Model Context Protocol (MCP) server written in Python, built on the official MCP Python SDK. It exposes ten everyday utility tools — text statistics, slugify, Base64, SHA-256, UUIDs, password strength, JSON formatting, and timestamp conversion — that any MCP client can call. Every tool is deterministic and runs fully offline.
Author: Aryanmouli Cherupalli · License: MIT
What is MCP, in plain words?
MCP (Model Context Protocol) is a standard way for AI applications to use outside tools. Instead of every app inventing its own plugin format, an MCP server offers a list of tools with clear names, inputs, and outputs, and any MCP client (for example Claude Desktop or Claude Code) can discover and call them. The client and server talk in JSON-RPC messages; this server uses the stdio transport, meaning the client starts the server as a subprocess and talks to it over standard input and output. This project is a complete, minimal example of that pattern: one server file, ten tools, a client test, and unit tests.
Related MCP server: buildutilities-mcp
Tools
Tool | Input | Output |
|
| Character, word, sentence, paragraph, and line counts, average word length, and estimated reading time at 200 words per minute |
|
| The most common words, lowercased, most frequent first (ties broken alphabetically) |
|
| A URL slug: lowercase ASCII words joined by hyphens |
|
| The Base64 encoding of the text (UTF-8) |
|
| The decoded text; a clear error on invalid Base64 or non-UTF-8 bytes |
|
| The SHA-256 digest as lowercase hex |
|
| That many random UUID4 values |
|
| A score from 0 to 100, a rating (very weak to strong), and plain-language reasons for every point gained or lost |
|
|
|
|
| Both Unix seconds and ISO 8601 UTC for a Unix timestamp (seconds, or milliseconds when the value is 10^12 or larger) or an ISO 8601 string |
How to run
python -m venv .venv
source .venv/bin/activate # on Windows: .venv\Scripts\activate
pip install -r requirements.txt
python server.pyThe server speaks MCP over stdio, so running it directly looks quiet: it waits for a client to connect. Use the client test below to see it work end to end.
How to connect a client
Any MCP client connects the same way: it needs the command that starts the server. For Claude Desktop or Claude Code style configuration, add this to the client's MCP settings file (a ready-to-copy copy lives in claude_desktop_config.example.json):
{
"mcpServers": {
"utility-tools": {
"command": "python",
"args": ["/absolute/path/to/mcp-server/server.py"]
}
}
}Replace the path with the real absolute path to server.py on your machine, and if you use a virtual environment, point command at that environment's Python (for example /absolute/path/to/mcp-server/.venv/bin/python). Restart the client, and the ten tools appear in its tool list.
Client test
client_test.py spawns the server as a subprocess, connects with the official SDK client, lists the tools, and calls six of them:
python client_test.pyReal output from an actual run:
Server exposes 10 tools:
- text_stats
- word_frequency
- slugify
- base64_encode
- base64_decode
- sha256_hash
- uuid_generate
- password_strength
- json_pretty
- timestamp_convert
CALL text_stats({'text': 'The quick brown fox jumps over the lazy dog. The dog was not amused!'})
{
"characters": 68,
"characters_no_spaces": 55,
"words": 14,
"sentences": 2,
"paragraphs": 1,
"lines": 1,
"average_word_length": 3.79,
"reading_time_minutes": 0.07,
"reading_time_seconds": 4
}
CALL slugify({'text': 'Hello, World! This is my First Blog Post'})
hello-world-this-is-my-first-blog-post
CALL base64_encode({'text': 'Model Context Protocol'})
TW9kZWwgQ29udGV4dCBQcm90b2NvbA==
CALL sha256_hash({'text': 'hello'})
{
"algorithm": "SHA-256",
"hex_digest": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"
}
CALL password_strength({'password': 'Tr0ub4dor&3'})
{
"score": 80,
"rating": "strong",
"reasons": [
"Length is 8 to 11 characters (+20)",
"Uses 4 character types: lowercase letters, uppercase letters, digits, symbols (+60)"
]
}
CALL timestamp_convert({'value': '1767225600'})
{
"unix_seconds": 1767225600,
"iso_utc": "2026-01-01T00:00:00Z"
}Tests
The tool logic lives in tools.py as plain functions, separate from the protocol layer, so it can be unit tested directly:
python -m pytest tests/ -qAll 32 tests pass, covering known-value hashes, Base64 round trips (including Unicode), slug edge cases, password scoring rules, JSON error reporting, and timestamp conversions in both directions.
Project structure
mcp-server/
├── server.py # MCP server: registers the tools, stdio transport
├── tools.py # Pure tool logic (no protocol code, fully testable)
├── client_test.py # End-to-end client: spawns the server, lists and calls tools
├── tests/
│ └── test_tools.py # pytest unit tests for tools.py
├── claude_desktop_config.example.json # Example client configuration (mcpServers JSON)
├── requirements.txt # mcp (official SDK) and pytest
├── LICENSE # MIT
└── README.mdNotes
The server uses the official
mcpPython SDK (version 2.x,MCPServerAPI). No protocol code is hand-rolled.Tools never touch the network, the filesystem, or the clock, so results are reproducible;
uuid_generateis the one exception by design, since UUID4 values are random.password_strengthis a transparent heuristic for education and quick checks, not a substitute for a dedicated password strength library or a security audit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Everyday dev utilities for agents: base64, hashing, JSON, JWT, UUIDs, slugs, URL encoding
Exact hashing, base64/hex/URL encoding, JWT decoding and UUIDs for AI agents. No auth required.
Developer and text tools: JSON, QR codes, units, passwords, UUIDs, hashes, Base64, regex and more.
Developer utilities: color conversion, WCAG contrast, timestamps, UUIDs, and hashing.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides 45 developer utilities (UUID generation, hashing, JWT decoding, etc.) for AI assistants like Claude Desktop, Cursor, and Windsurf. Includes 16 free tools and 29 pro tools with trial usage.4617 npmMIT
- AlicenseAqualityCmaintenanceProvides deterministic developer utilities as MCP tools, including UUID/password generation, hashing, encoding, JWT decoding, cron scheduling, regex execution, and text analysis. Runs entirely locally with no network calls, telemetry, or API keys.2069 npmMIT
- AlicenseAqualityBmaintenanceEnables MCP clients to run seven local text and data utilities, including JSON formatting, CSV inspection, text analysis and diffing, hashing, timestamp conversion, and URL component parsing. Everything runs offline in memory with no API keys, models, or outbound requests.71MIT
- AlicenseAqualityBmaintenanceEnables users to compute everyday developer and text utilities—including JSON formatting, QR codes, unit and timestamp conversion, hashing, Base64, regex testing, password/UUID generation, and word counting—through read-only tools without AI calls or external lookups.1059 npmMIT