MCP Utility Tools
A lightweight MCP server providing common utility tools such as unit conversion, password generation, date calculation, hashing, Base64 encoding/decoding, UUID generation, text case conversion, and text statistics, with no external dependencies.
README
MCP Utility Tools
A lightweight collection of reusable utility tools for the Model Context Protocol (MCP).
Built using FastMCP and the Python standard library, this package provides common utilities that AI assistants and MCP clients can call without requiring external APIs or additional dependencies.
Features
- 📏 Unit Conversion
- 🔐 Secure Password Generator
- 📅 Date Calculator
- 🔑 Hash Generator
- 🔤 Base64 Encode / Decode
- 🆔 UUID Generator
- 🔄 Text Case Converter
- 📊 Text Statistics
Why this project?
This project was created as my first published PyPI package while learning the Model Context Protocol (MCP) ecosystem.
The goal was to build a practical MCP server exposing reusable utility tools using only Python's standard library.
Installation
pip install mcp-utility-tools
uv add mcp-utility-tools
Requirements
- Python 3.11+
- FastMCP
Available Tools
| Tool | Description |
|---|---|
| convert_units | Convert between common units |
| generate_password | Generate secure random passwords |
| date_calculator | Date arithmetic |
| hash_text | Generate hashes (SHA256, SHA512, MD5, etc.) |
| base64_convert | Encode and decode Base64 |
| generate_uuid | Generate UUIDs |
| convert_case | Convert text between naming styles |
| text_stats | Analyze text statistics |
Example
from mcp_utility_tools import main
main()
Example MCP tool call:
convert_units(
value=5,
from_unit="km",
to_unit="mi"
)
Output:
5 km = 3.106856 mi
Technologies
- Python
- FastMCP
- MCP
- Standard Library
Roadmap
- [ ] More unit categories
- [ ] JSON outputs
- [ ] Better error messages
- [ ] Additional utility tools
- [ ] Unit tests
Contributing
Contributions, feature requests and bug reports are welcome.
Feel free to open an issue or submit a pull request.
License
MIT License
Author
Dharsan
Connect me via
gmail: dharsanbalakrish@gmail.com LinkedIn: https://www.linkedin.com/in/dharsanbalakrish/
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.