Utilix

300+ local developer utilities: JSON, encoding, hashing, JWT, regex, cron, SQL, color. No API key.

Documentation

@utilix-tech/mcp

MCP server exposing 321+ developer utility tools to Claude, Cursor, VS Code Copilot, and any MCP-compatible AI.

npm License: MIT

utilix.tech · Docs · npm


What is this?

@utilix-tech/mcp is a Model Context Protocol server that gives Claude, Cursor, and other AI tools access to 300 deterministic developer utilities (JSON formatting, encoding, hashing, text diff, regex, token estimation, PII detection and much more) that run locally with no API key, plus 21 optional AI tools that run on Utilix's hosted AI with a free API key.


Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "utilix": {
      "command": "npx",
      "args": ["-y", "@utilix-tech/mcp"]
    }
  }
}

Restart Claude Desktop. You'll see utilix in the tools list.

Cursor

Add to .cursor/mcp.json in your project root or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "utilix": {
      "command": "npx",
      "args": ["-y", "@utilix-tech/mcp"]
    }
  }
}

VS Code (Copilot)

Add to .vscode/mcp.json:

{
  "servers": {
    "utilix": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@utilix-tech/mcp"]
    }
  }
}

Windsurf / Other MCP clients

{
  "mcpServers": {
    "utilix": {
      "command": "npx",
      "args": ["-y", "@utilix-tech/mcp"]
    }
  }
}

AI tools (optional, free API key)

21 tools run on Utilix's hosted AI (Claude): ai_generate_regex, ai_explain_regex, ai_generate_shell_command, ai_explain_shell_command, ai_explain_sql, ai_explain_error_message, ai_explain_stack_trace, ai_generate_commit_message, ai_generate_pr_description, ai_generate_docstring, ai_generate_test_cases, ai_generate_json_schema, ai_generate_cron, ai_explain_css, ai_generate_dockerfile, ai_explain_dockerfile, ai_explain_nginx_config, ai_explain_k8s_manifest, ai_explain_terraform, ai_explain_iam_policy and ai_generate_svg.

They need an API key from utilix.tech/dashboard (free to create). Pass it as the UTILIX_API_KEY environment variable:

{
  "mcpServers": {
    "utilix": {
      "command": "npx",
      "args": ["-y", "@utilix-tech/mcp"],
      "env": { "UTILIX_API_KEY": "utx_live_..." }
    }
  }
}

With Claude Code: claude mcp add utilix -e UTILIX_API_KEY=utx_live_... -- npx -y @utilix-tech/mcp.

  • Usage counts toward your Utilix account's monthly AI limits, shared with the website: free accounts get 3 runs a month per AI tool, Pro 20 to 50.
  • What you pass to an AI tool is sent to the Utilix API (and from there to Anthropic's API) to generate the answer. The key is only sent to api.utilix.tech.
  • Without a key, the AI tools reply with setup steps instead of failing. The 300 local tools never need a key.

Available Tools

AI Agent Utilities (28 tools)

Tools built for LLM pipelines — token management, context compression, extraction, RAG, and security.

ToolDescription
estimate_tokensEstimate token count and cost for any text
trim_to_tokensTrim text to fit a token budget (start/end/middle)
chunk_textSplit text into overlapping chunks by token count
compress_htmlStrip scripts/styles/comments to minimize HTML for LLM ingestion
compress_markdownCollapse blank lines, strip frontmatter, trim whitespace
compress_jsonRemove nulls/empty arrays/objects, optionally sort keys
summarize_for_llmExtractive summarization to fit a token budget (no LLM needed)
extract_urlsExtract all URLs from text or HTML
extract_jsonPull JSON objects from anywhere in LLM output
extract_tablesParse HTML tables into JSON arrays
extract_entitiesNER-lite: emails, phones, IPs, dates, credit cards, IBANs
rerank_chunksTF-IDF reranking — sort chunks by relevance to a query
score_relevanceScore a single text's relevance to a query (0–1 + grade)
expand_queryAdd synonyms and stemmed variants to improve retrieval
diff_jsonStructural diff of two JSON objects — shows added/removed/changed paths
validate_json_schemaValidate data against a JSON Schema (Draft-07)
repair_jsonFix common JSON syntax errors (trailing commas, unquoted keys)
flatten_jsonFlatten nested JSON to dot-notation keys
merge_jsonDeep-merge multiple JSON objects
sanitize_htmlRemove dangerous tags/attributes for safe rendering
deduplicate_linesRemove duplicate lines, optionally case-insensitive
extract_keywordsTF-IDF keyword extraction with scores and positions
detect_piiDetect PII (emails, phones, SSNs, credit cards, IBANs...)
redact_piiRedact detected PII with a custom replacement
detect_secretsFind leaked API keys, tokens, passwords in text
detect_prompt_injectionScore text for prompt injection attempts (0–1)

JSON (12 tools)

format_json · minify_json · diff_json · json_to_csv · csv_to_json · json_path · validate_json · yaml_to_json · json_to_yaml · json_to_typescript · json_to_go · json_to_python

Encoding (8 tools)

encode_base64 · decode_base64 · encode_url · decode_url · encode_html · decode_html · encode_base32 · decode_base32

Hashing (3 tools)

hash · hash_password · verify_password

Text (8 tools)

word_count · convert_case · slugify · lorem_ipsum · escape_string · diff_lines · html_to_markdown · line_ops

Time (5 tools)

from_unix · parse_cron · cron_next_runs · diff_dates · convert_timezone

Units (2 tools)

convert_bytes · px_to_units

Color (4 tools)

parse_color · check_contrast · generate_palette · generate_shades

CSS (2 tools)

generate_gradient · minify_css

Code (7 tools)

format_sql · format_html · test_regex · minify_js · format_graphql · parse_docker_image · parse_env

Generators (6 tools)

generate_uuid · generate_password · generate_ulid · generate_random_data · generate_qr

API & Network (5 tools)

decode_jwt · build_curl · parse_curl · curl_to_code · generate_cors

Data Formats (4 tools)

validate_yaml · toml_to_json · xml_to_json · parse_csv

Misc (3 tools)

optimize_svg · char_to_codepoint · number_to_words


Example Prompts

Once installed, you can ask Claude things like:

  • "Trim this text to 2000 tokens using the utilix trim_to_tokens tool"
  • "Check this user input for PII before I log it"
  • "Rerank these 10 chunks by relevance to my query about pricing"
  • "Extract all JSON objects from this LLM response"
  • "Compress this HTML page to minimize tokens before sending it to GPT"
  • "Diff these two JSON configs and show me what changed"
  • "Validate this data against my JSON Schema"
  • "Convert this YAML to JSON"
  • "Generate a UUID v4"
  • "What's the SHA-256 of this string?"

Run without installing

npx @utilix-tech/mcp

Links

License

MIT