Skip to main content
Glama
MCP Text Utils

MCP Text Utils

MCP Text Utils

A text manipulation toolkit for the Model Context Protocol (MCP). Provides 7 tools for common text operations.

Tools

Tool

Description

reverse_text

Reverse the characters in a text string

text_info

Analyze text: word count, character breakdown, line count

transform_case

Convert between snake_case, camelCase, kebab-case, PascalCase, SCREAMING_SNAKE_CASE, Title Case

slugify

Convert text into a URL-safe slug

extract_urls

Extract all URLs from a block of text

truncate

Truncate text at word boundaries with configurable suffix

count_tokens

Estimate LLM token count (word-based heuristic)

Related MCP server: MCP Character Tools

Install via mpak

mpak install @nimblebraininc/text-utils

Local Development

uv sync
make test        # Run tests
make check       # Format + lint + typecheck + tests
make run         # Run server (stdio)
make run-http    # Run HTTP server
make bundle      # Build MCPB bundle

Claude Desktop Config

{
  "mcpServers": {
    "text-utils": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/mcp-text-utils", "python", "-m", "mcp_text_utils.server"]
    }
  }
}

License

MIT

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides basic text manipulation and analysis tools including word reversal and character counting. Designed for integration with Le Chat and other MCP-compatible clients.
      3
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides 14+ character-level text analysis tools that give LLMs the ability to accurately count letters, analyze individual characters, and work with text at the character level—overcoming tokenization limitations.
      14
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides tools for AI models to count characters and words in text, supporting English and other space-delimited languages.
      1
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A text transformation and formatting MCP server that provides common text manipulation functions such as case conversion, encoding/decoding, formatting, analysis, and regex operations directly within your AI assistant workflow.
      43
      17 npm
      8
      MIT