Skip to main content
Glama
README.md
# @utilix-tech/mcp

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

[![npm](https://img.shields.io/npm/v/@utilix-tech/mcp)](https://www.npmjs.com/package/@utilix-tech/mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Listed on mcpservers.org](https://mcpservers.org/badge.svg)](https://mcpservers.org/servers/utilix-tech/utilix-mcp)

**[utilix.tech](https://utilix.tech)** · [Docs](https://docs.utilix.tech) · [npm](https://www.npmjs.com/package/@utilix-tech/mcp)

---

## What is this?

`@utilix-tech/mcp` is a [Model Context Protocol](https://modelcontextprotocol.io) 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](#ai-tools-optional-free-api-key) 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):

```json
{
  "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:

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

### VS Code (Copilot)

Add to `.vscode/mcp.json`:

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

### Windsurf / Other MCP clients

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

---

## Hosted server (no install)

The same tools are served at **`https://mcp.utilix.tech`** (Streamable HTTP). Each tool call counts toward your plan's daily request limit.

- **Claude.ai and Claude Desktop**: Settings → Connectors → Add custom connector, enter `https://mcp.utilix.tech`, and sign in with your Utilix account (OAuth). No API key needed.

Editors and CLIs send your API key from [utilix.tech/dashboard](https://www.utilix.tech/dashboard) as `Authorization: Bearer utx_live_...`:

- **Cursor** (`~/.cursor/mcp.json`): `{ "mcpServers": { "utilix": { "url": "https://mcp.utilix.tech", "headers": { "Authorization": "Bearer utx_live_..." } } } }`
- **VS Code** (`.vscode/mcp.json`): `{ "servers": { "utilix": { "type": "http", "url": "https://mcp.utilix.tech", "headers": { "Authorization": "Bearer utx_live_..." } } } }`
- **Claude Code**: `claude mcp add --transport http utilix https://mcp.utilix.tech --header "Authorization: Bearer utx_live_..."`
- **Codex** (`~/.codex/config.toml`): `[mcp_servers.utilix]` with `url = "https://mcp.utilix.tech"` and `bearer_token_env_var = "UTILIX_API_KEY"`

Tool inputs are sent to Utilix to run (Utilix records which tool ran, not what you sent). If nothing should leave your machine, use the local `npx` setup above.

---

## AI tools (optional, free API key)

22 tools run on Utilix's hosted AI (Claude): `ai_generate_regex`, `ai_generate_sql`, `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](https://www.utilix.tech/dashboard) (free to create). Pass it as the `UTILIX_API_KEY` environment variable:

```json
{
  "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](https://www.utilix.tech/pricing) 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.

---

<!-- tools:start (generated by scripts/sync-public-repos.mjs; edits are overwritten) -->
## Available Tools

330 tools in all. Every tool runs locally with no API key except the AI tools, which need a free key from [utilix.tech/dashboard](https://www.utilix.tech/dashboard). Each tool's full description and input schema come from `tools/list`.

### AI tools (hosted, free API key) (22)

`ai_explain_css` · `ai_explain_dockerfile` · `ai_explain_error_message` · `ai_explain_iam_policy` · `ai_explain_k8s_manifest` · `ai_explain_nginx_config` · `ai_explain_regex` · `ai_explain_shell_command` · `ai_explain_sql` · `ai_explain_stack_trace` · `ai_explain_terraform` · `ai_generate_commit_message` · `ai_generate_cron` · `ai_generate_dockerfile` · `ai_generate_docstring` · `ai_generate_json_schema` · `ai_generate_pr_description` · `ai_generate_regex` · `ai_generate_shell_command` · `ai_generate_sql` · `ai_generate_svg` · `ai_generate_test_cases`

### JSON, YAML, CSV and data formats (39)

`apply_json_merge_patch` · `apply_json_patch` · `compress_json` · `csv_to_json` · `csv_to_sql_insert` · `dedupe_ndjson` · `diff_json` · `diff_json_detailed` · `diff_json_patch` · `extract_json` · `find_csv_duplicate_rows` · `find_yaml_duplicate_keys` · `flatten_json` · `format_json` · `format_ndjson` · `infer_csv_column_types` · `json_schema_to_typescript` · `json_to_csv` · `json_to_go` · `json_to_python` · `json_to_typescript` · `json_to_yaml` · `json_to_zod` · `jsonpath` · `merge_json` · `minify_json` · `ndjson_to_csv` · `parse_csv` · `repair_json` · `resolve_json_pointer` · `resolve_yaml_anchors` · `summarize_csv_column_stats` · `toml_to_json` · `validate_geojson` · `validate_json` · `validate_json_schema` · `validate_yaml` · `xml_to_json` · `yaml_to_json`

### Security, secrets and auth (26)

`bcrypt_hash` · `bcrypt_verify` · `build_basic_auth_header` · `build_bearer_auth_header` · `calculate_cookie_size_budget` · `check_known_hosts_fingerprints` · `check_set_cookie_header` · `compute_jwk_thumbprint` · `decode_jwt` · `detect_pii` · `detect_prompt_injection` · `detect_redos` · `detect_secrets` · `estimate_password_entropy` · `generate_csp_nonce` · `generate_hotp` · `generate_password` · `generate_sri_hash` · `generate_totp` · `hash` · `hash_all` · `parse_authorization_header` · `parse_jwks` · `score_security_headers` · `verify_jwt` · `verify_webhook_signature`

### Encoding and escaping (16)

`base32_decode` · `base32_encode` · `base58_decode` · `base58_encode` · `base62_decode` · `base62_encode` · `base64_decode` · `base64_encode` · `decode_base64_image` · `escape_string` · `html_entities_decode` · `html_entities_encode` · `unescape_string` · `unicode_inspect` · `url_decode` · `url_encode`

### HTTP headers and web (53)

`analyze_email_headers` · `build_accept_language` · `build_alt_svc_header` · `build_caa_record` · `build_cache_control` · `build_clear_site_data_header` · `build_client_hints` · `build_content_disposition` · `build_curl` · `build_hsts_header` · `build_link_header` · `build_permissions_policy` · `build_prefer_header` · `build_priority_header` · `build_range_header` · `build_referrer_policy` · `build_retry_after_header` · `build_robots_meta_tag` · `build_vary_header` · `build_x_content_type_options_header` · `build_x_robots_tag` · `check_spf_dmarc` · `cors_headers` · `curl_to_code` · `generate_etag` · `generate_robots_txt` · `list_close_codes` · `list_websocket_opcodes` · `lookup_close_code` · `lookup_mime` · `lookup_websocket_opcode` · `parse_accept_language` · `parse_alt_svc_header` · `parse_caa_record` · `parse_clear_site_data_header` · `parse_client_hint_headers` · `parse_content_disposition` · `parse_content_range_header` · `parse_har` · `parse_hsts_header` · `parse_ipv6_address` · `parse_multipart_form_data` · `parse_permissions_policy` · `parse_prefer_header` · `parse_priority_header` · `parse_retry_after_header` · `parse_robots_meta_tag` · `parse_user_agent` · `parse_vary_header` · `parse_x_robots_tag` · `split_sitemap` · `validate_robots_txt` · `validate_sitemap`

### Files and media metadata (25)

`analyze_caption_speed` · `audit_markdown_image_alt_text` · `calculate_video_bitrate` · `convert_subtitles` · `convert_timecode` · `estimate_audio_file_size` · `extract_svg_sprite_symbols` · `generate_qr` · `inspect_gif_frames` · `optimize_svg` · `parse_docker_image` · `read_exif_data` · `read_flac_info` · `read_ico_info` · `read_id3_tags` · `read_image_info` · `read_midi_info` · `read_pdf_metadata` · `read_pdf_outline` · `read_pdf_page_dimensions` · `read_png_chunks` · `read_quicktime_metadata` · `read_video_info` · `read_wav_info` · `svg_to_react`

### Agent and LLM helpers (17)

`chunk_text` · `compress_html` · `compress_markdown` · `estimate_tokens` · `expand_query` · `extract_entities` · `extract_keywords` · `extract_prompt_template_variables` · `extract_tables` · `extract_urls` · `format_few_shot_examples` · `lint_tool_schema` · `rerank_chunks` · `score_relevance` · `summarize_for_llm` · `trim_to_tokens` · `vector_similarity`

### Finance and math calculators (52)

`calculate_annuity_payout` · `calculate_blended_loan_rate` · `calculate_break_even` · `calculate_cash_breakdown` · `calculate_cash_rounding` · `calculate_cd_maturity` · `calculate_change` · `calculate_compound_interest` · `calculate_credit_card_minimum_payment` · `calculate_credit_utilization` · `calculate_debt_to_income_ratio` · `calculate_depreciation_schedule` · `calculate_discount` · `calculate_dividend_yield` · `calculate_emi` · `calculate_extra_payment_payoff` · `calculate_freelancer_rate` · `calculate_gpa` · `calculate_loan` · `calculate_loan_prepayment_penalty` · `calculate_loan_refinance` · `calculate_margin_markup` · `calculate_markdown_task_list_progress` · `calculate_mortgage_points` · `calculate_moving_averages` · `calculate_payback_period` · `calculate_percentage_change` · `calculate_position_size` · `calculate_real_rate_of_return` · `calculate_retry_backoff_schedule` · `calculate_roi` · `calculate_rule_of_72` · `calculate_sales_commission` · `calculate_savings_goal` · `calculate_simple_interest` · `calculate_string_distance` · `calculate_tax` · `calculate_tax_equivalent_yield` · `calculate_time_value` · `calculate_tip_split` · `compare_unit_prices` · `convert_apr_apy` · `detect_negative_amortization` · `number_to_words` · `plan_debt_payoff` · `validate_barcode` · `validate_card_number` · `validate_iban` · `validate_isbn` · `validate_isin` · `validate_routing_number` · `validate_vin`

### Dates, time and cron (8)

`convert_iso8601_duration` · `convert_timezone` · `cron_next_runs` · `date_diff` · `estimate_data_transfer_time` · `find_cron_overlaps` · `parse_cron` · `unix_timestamp`

### Text and writing (26)

`align_markdown_tables` · `analyze_keyword_density` · `analyze_sentence_lengths` · `check_acronym_expansion` · `check_dash_usage` · `check_markdown_internal_links` · `check_oxford_comma_consistency` · `convert_case` · `deduplicate_lines` · `detect_filler_words` · `detect_passive_voice` · `detect_weasel_words` · `detect_wordy_phrases` · `extract_markdown_footnotes` · `extract_markdown_link_references` · `generate_markdown_toc` · `html_to_markdown` · `line_operations` · `lorem_ipsum` · `parse_markdown_front_matter` · `score_readability` · `slugify` · `text_diff` · `validate_markdown_blockquote_nesting` · `validate_markdown_heading_hierarchy` · `word_count`

### Code, config and DevOps (36)

`analyze_regex_groups` · `audit_css_custom_properties` · `audit_dependency_ranges` · `build_character_class` · `check_proto_field_numbers` · `compose_to_docker_run` · `count_sql_placeholders` · `css_gradient` · `diff_env_example` · `docker_run_to_compose` · `find_duplicate_lockfile_versions` · `format_graphql` · `format_html` · `format_sql` · `generate_nginx_config` · `html_to_jsx` · `intersect_semver_ranges` · `lint_conventional_commit` · `lint_dockerfile` · `minify_css` · `minify_js` · `parse_commit_trailers` · `parse_connection_string` · `parse_env` · `parse_github_url` · `sanitize_html` · `summarize_git_diff_stat` · `test_gitignore_patterns` · `test_regex` · `validate_aria` · `validate_editorconfig` · `validate_fence_language_tags` · `validate_manifest` · `validate_mermaid_syntax` · `validate_package_exports` · `validate_tsconfig`

### Colors and units (6)

`check_contrast` · `color_palette` · `color_shades` · `convert_bytes` · `convert_color` · `px_to_units`

### IDs and generators (4)

`generate_random_data` · `generate_ulid` · `generate_uuid` · `lookup_emoji`

<!-- tools:end -->

---

## 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

```bash
npx @utilix-tech/mcp
```

## Links

- **Web app**: [utilix.tech](https://utilix.tech) — try every tool in the browser
- **REST API**: [api.utilix.tech](https://api.utilix.tech) — same tools over HTTP
- **Node.js SDK**: [@utilix-tech/sdk](https://www.npmjs.com/package/@utilix-tech/sdk)
- **Python SDK**: [utilix-sdk on PyPI](https://pypi.org/project/utilix-sdk/)
- **Docs**: [docs.utilix.tech](https://docs.utilix.tech)

## License

MIT