UtilVet
Exact utilities agents get wrong: business days, holidays, time zones, cron, units, FX, JSON repair.
Should I use this
Quality & Safety
Findings (1)
- LOWin unit_convert
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"utilvet": {
"url": "https://utilvet.pages.dev/mcp"
}
}
}Remote endpoints
https://utilvet.pages.dev/mcpstreamable-httpWhat it can do
Tool inventory
Tools (17)
🟢business_days(start, end, add_days, country)
Count business days between two dates, or add/subtract N business days from a date, skipping weekends and (optionally) the country's official public holidays. Returns the holidays skipped. Exact; do not do this in your head.
Input Schema
{
"type": "object",
"properties": {
"start": {
"type": "string",
"description": "Start date YYYY-MM-DD"
},
"end": {
"type": "string",
"description": "End date YYYY-MM-DD (to count business days between)"
},
"add_days": {
"type": "integer",
"description": "Or: number of business days to add (negative to subtract)"
},
"country": {
"type": "string",
"description": "ISO country code for holidays, e.g. US, GB, DE (optional)"
}
},
"required": [
"start"
]
}🟢public_holidays(country, year)
List official public holidays for 100+ countries for a given year (date, local name, English name, national or regional), from the Nager.Date open dataset.
Input Schema
{
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "ISO 3166 alpha-2 code, e.g. US"
},
"year": {
"type": "integer",
"description": "Year (default current)"
}
},
"required": [
"country"
]
}🟢timezone_convert(time, from_tz, to_tz)
Convert a date/time from one IANA time zone to one or more others with correct daylight-saving rules. Returns local times, UTC offsets, abbreviations and the UTC instant.
Input Schema
{
"type": "object",
"properties": {
"time": {
"type": "string",
"description": "Time: ISO datetime, 'YYYY-MM-DD HH:mm', or 'now'"
},
"from_tz": {
"type": "string",
"description": "IANA zone of the input wall time (default UTC; ignored if time has an offset)"
},
"to_tz": {
"type": "string",
"description": "Target IANA zone(s), comma-separated, e.g. America/New_York,Asia/Tokyo"
}
},
"required": [
"time",
"to_tz"
]
}🟢cron_next(expression, count, timezone, from)
Parse a cron expression and return the next N run times in a time zone (DST-aware), plus a plain-English description. Validates syntax.
Input Schema
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "5-field cron or @daily/@hourly/@weekly/@monthly/@yearly"
},
"count": {
"type": "integer",
"description": "How many next runs (default 5, max 50)"
},
"timezone": {
"type": "string",
"description": "IANA time zone (default UTC)"
},
"from": {
"type": "string",
"description": "Start from this ISO time (default now)"
}
},
"required": [
"expression"
]
}🟢unit_convert(value, from, to)
Exact unit conversion across length, mass, volume, area, speed, time, data size (SI and binary), energy, pressure, power and temperature using standard definitions.
Input Schema
{
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Number to convert"
},
"from": {
"type": "string",
"description": "Unit, e.g. mi, kg, gal, f, mb"
},
"to": {
"type": "string",
"description": "Target unit"
}
},
"required": [
"value",
"from",
"to"
]
}🟢currency_convert(amount, from, to, date)
Convert an amount between ~30 currencies using European Central Bank reference rates (latest or historical date since 1999). Reference rates, not executable quotes.
Input Schema
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "Amount (default 1)"
},
"from": {
"type": "string",
"description": "ISO 4217 code, e.g. USD"
},
"to": {
"type": "string",
"description": "Target code(s), comma-separated"
},
"date": {
"type": "string",
"description": "Historical date YYYY-MM-DD (optional)"
}
},
"required": [
"from",
"to"
]
}🟢json_repair(text)
Fix malformed JSON typically produced by LLMs: code fences, leading prose, single quotes, unquoted keys, trailing commas, comments, Python True/False/None, NaN, missing closing brackets. Returns the parsed JSON and a list of fixes.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The broken JSON text"
}
},
"required": [
"text"
]
}🟢json_validate(data, schema, repair)
Validate data against a JSON Schema (core keywords incl. type, required, properties, enum, pattern, formats, anyOf/oneOf, $ref). Returns every error with its JSON path. Use before returning structured output.
Input Schema
{
"type": "object",
"properties": {
"data": {
"description": "JSON value or JSON string"
},
"schema": {
"description": "JSON Schema (object or string); omit to check syntax only"
},
"repair": {
"type": "boolean",
"description": "Try json_repair on invalid input (default true)"
}
},
"required": [
"data"
]
}🟢regex_test(pattern, text, flags, replace)
Run a JavaScript regular expression against text and return all matches with index, capture groups and named groups, or the replaced text. Confirms a regex works before you rely on it.
Input Schema
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "JavaScript regex pattern (no slashes)"
},
"text": {
"type": "string",
"description": "Text to search"
},
"flags": {
"type": "string",
"description": "Flags, e.g. gi"
},
"replace": {
"type": "string",
"description": "Optional replacement string ($1 etc.)"
}
},
"required": [
"pattern",
"text"
]
}🟢csv_to_json(csv, delimiter, header)
Parse CSV/TSV (RFC 4180 quotes, auto-detected delimiter) into JSON rows with inferred numbers/booleans, plus column names and row count.
Input Schema
{
"type": "object",
"properties": {
"csv": {
"type": "string",
"description": "CSV text (max 500 KB)"
},
"delimiter": {
"type": "string",
"description": "Delimiter (auto-detected: , ; tab |)"
},
"header": {
"type": "boolean",
"description": "First row is header (default true)"
}
},
"required": [
"csv"
]
}🟢text_diff(a, b, mode)
Compare two texts line-by-line or word-by-word and return a unified-style diff with counts of added/removed/unchanged and a similarity score.
Input Schema
{
"type": "object",
"properties": {
"a": {
"type": "string",
"description": "Original text"
},
"b": {
"type": "string",
"description": "New text"
},
"mode": {
"type": "string",
"description": "line (default) or word"
}
},
"required": [
"a",
"b"
]
}🟢hash_encode(text, operation)
Compute SHA-1/256/384/512 hashes or encode/decode base64, base64url, hex, URL and HTML entities, or decode a JWT's header and payload (signature not verified).
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Input text"
},
"operation": {
"type": "string",
"description": "sha1|sha256|sha384|sha512|base64_encode|base64_decode|base64url_encode|base64url_decode|hex_encode|hex_decode|url_encode|url_decode|html_escape|html_unescape|jwt_decode"
}
},
"required": [
"text",
"operation"
]
}🟢uuid_generate(version, count)
Generate cryptographically random UUIDs, v4 or time-sortable v7.
Input Schema
{
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "v4 (random, default) or v7 (time-ordered)"
},
"count": {
"type": "integer",
"description": "How many (1-100)"
}
}
}🟢semver_compare(a, b, range)
Compare two semantic versions (incl. prerelease ordering) or test whether a version satisfies an npm-style range (^, ~, x, comparators, ||).
Input Schema
{
"type": "object",
"properties": {
"a": {
"type": "string",
"description": "Version, e.g. 1.4.2"
},
"b": {
"type": "string",
"description": "Version to compare with"
},
"range": {
"type": "string",
"description": "Range to test a against, e.g. ^1.2.0 || >=2.0.0 <3"
}
},
"required": [
"a"
]
}🟢text_stats(text)
Count characters, words, sentences, paragraphs and lines, estimate LLM tokens and reading time, and compute a Flesch reading-ease score.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text"
}
},
"required": [
"text"
]
}🟢slugify(text, separator, max_length, lowercase)
Convert text to a clean URL slug: transliterates accents (é→e, ß→ss), drops punctuation, collapses separators, trims to a word boundary.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text"
},
"separator": {
"type": "string",
"description": "Separator (default -)"
},
"max_length": {
"type": "integer",
"description": "Max length (default 80)"
},
"lowercase": {
"type": "boolean",
"description": "Lowercase (default true)"
}
},
"required": [
"text"
]
}🟢detect_language(text)
Detect the language of a text (25+ languages via script detection and stopword profiles) with ISO 639-1 code, name and confidence.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text (a sentence or more works best)"
}
},
"required": [
"text"
]
}Community
Evidence