Skip to main content
Glama
MCP Utility Tools

MCP Utility Tools

by magicschoolm

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


Related MCP server: agent-utils-mcp

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/

Available Tools

8 tools
base64_convertA

Encode text to Base64, or decode a Base64 string back to text.

Inputs: text (required), operation. Returns: result

convert_caseA

Convert text between naming styles: snake_case, camelCase, PascalCase, kebab-case, CONSTANT_CASE, Title Case, or Sentence case.

Inputs: text (required), target_case (required). Returns: result

convert_unitsA

Convert a numeric value between common units of length, weight, temperature, or volume.

Examples: km<->mi, kg<->lb, celsius<->fahrenheit, liter<->gallon.

Inputs: value (required), to_unit (required), from_unit (required). Returns: result

date_calculatorA

Calculate the difference between two dates, or add/subtract days from a date.

Inputs: date1 (required), operation (required), days, date2. Returns: result

generate_passwordA

Generate one or more cryptographically secure random passwords.

Inputs: count, length, use_symbols. Returns: result

generate_uuidA

Generate one or more random UUIDs (version 4).

Inputs: count, uppercase. Returns: result

hash_textB

Generate a hash digest of the given text.

Inputs: text (required), algorithm. Returns: result

text_statsA

Get statistics about a piece of text: character, word, sentence, and paragraph counts, plus an estimated reading time.

Inputs: text (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: unit conversion, password generation, date math, hashing, base64, UUIDs, case conversion, and text statistics. No two tools overlap in functionality.

    Naming Consistency5/5

    All tool names follow the verb_noun snake_case pattern (convert_units, generate_password, date_calculator, hash_text, etc.). The naming is consistent and predictable.

    Tool Count5/5

    Eight tools is well-scoped for a general utility server. Each tool serves a distinct common utility need, and the count is within the ideal 3-15 range.

    Completeness4/5

    The tool surface covers a broad set of common utilities (conversion, generation, encoding, text analysis). Minor gaps exist (e.g., no random number generator or URL encoder/decoder) but the set is reasonably complete for its stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      A lightweight MCP server providing utility tools for math, text processing, data conversion, and URL fetching. It supports both STDIO and SSE communication modes for seamless integration with Claude Desktop and remote AI agents.
      5
      1
      -
    • F
      license
      A
      quality
      C
      maintenance
      Swiss-army-knife utility MCP server for AI agents. 18 tools for JSON validation/formatting, base64 encode/decode, hash generation, UUID generation, URL parsing, regex testing, markdown↔HTML conversion, text stats, slug generation, datetime conversion, cron parsing, text diffing, CSV↔JSON conversion, and JWT decoding. Zero API Key required
      18
      5
      -
    • F
      license
      A
      quality
      D
      maintenance
      A lightweight MCP server providing everyday developer utilities such as JSON formatting, UUID generation, Base64 conversion, HTTP status lookup, and Unix timestamp conversion as tools and resources.
      5
      -