# UtilVet > Exact utilities agents get wrong: business days, holidays, time zones, cron, units, FX, JSON repair. Free remote MCP server + REST API for AI agents. No signup. Do not do date math, time-zone conversion, cron parsing, unit/currency conversion, hashing or JSON repair in your head: call the matching tool. business_days and public_holidays use official holiday data; currency_convert uses ECB reference rates. ## Endpoints - MCP (streamable HTTP, no auth): https://utilvet.pages.dev/mcp. Tools: business_days {start, end?, add_days?, country?}, public_holidays {country, year?}, timezone_convert {time, from_tz?, to_tz}, cron_next {expression, count?, timezone?, from?}, unit_convert {value, from, to}, currency_convert {amount?, from, to, date?}, json_repair {text}, json_validate {data, schema?, repair?}, regex_test {pattern, text, flags?, replace?}, csv_to_json {csv, delimiter?, header?}, text_diff {a, b, mode?}, hash_encode {text, operation}, uuid_generate {version?, count?}, semver_compare {a, b?, range?}, text_stats {text}, slugify {text, separator?, max_length?, lowercase?}, detect_language {text}. - [OpenAPI spec](https://utilvet.pages.dev/openapi.json) - [Count or add business days (with public holidays)](https://utilvet.pages.dev/api/business-days?start=2026-12-01): GET or POST /api/business-days. 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. - [Public holidays for a country and year](https://utilvet.pages.dev/api/public-holidays?country=US): GET or POST /api/public-holidays. 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. - [Convert a time between time zones (DST-aware)](https://utilvet.pages.dev/api/timezone-convert?time=2026-12-25%2009%3A00&to_tz=Asia%2FTokyo): GET or POST /api/timezone-convert. 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. - [Explain a cron expression and list next run times](https://utilvet.pages.dev/api/cron-next?expression=30%209%20*%20*%201-5): GET or POST /api/cron-next. Parse a cron expression and return the next N run times in a time zone (DST-aware), plus a plain-English description. Validates syntax. - [Convert units (length, mass, volume, area, speed, data...)](https://utilvet.pages.dev/api/unit-convert?value=10&from=mi&to=km): GET or POST /api/unit-convert. Exact unit conversion across length, mass, volume, area, speed, time, data size (SI and binary), energy, pressure, power and temperature using standard definitions. - [Convert currency at ECB reference rates](https://utilvet.pages.dev/api/currency-convert?from=mi&to=km): GET or POST /api/currency-convert. Convert an amount between ~30 currencies using European Central Bank reference rates (latest or historical date since 1999). Reference rates, not executable quotes. - [Repair broken JSON (LLM output)](https://utilvet.pages.dev/api/json-repair?text=%7Bname%3A%20'demo'%2C%20ok%3A%20True%2C%7D): GET or POST /api/json-repair. 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. - [Validate JSON against a JSON Schema](https://utilvet.pages.dev/api/json-validate?data=%7B%22a%22%3A1%7D): GET or POST /api/json-validate. 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. - [Test a regular expression](https://utilvet.pages.dev/api/regex-test?pattern=%5Cd%2B&text=%7Bname%3A%20'demo'%2C%20ok%3A%20True%2C%7D): GET or POST /api/regex-test. 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. - [Convert CSV to JSON](https://utilvet.pages.dev/api/csv-to-json?csv=name%2Cqty%0Aa%2C1%0Ab%2C2): GET or POST /api/csv-to-json. Parse CSV/TSV (RFC 4180 quotes, auto-detected delimiter) into JSON rows with inferred numbers/booleans, plus column names and row count. - [Diff two texts](https://utilvet.pages.dev/api/text-diff?a=1.4.2&b=1.10.0): GET or POST /api/text-diff. 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. - [Hash, encode/decode (SHA, base64, hex, URL, JWT)](https://utilvet.pages.dev/api/hash-encode?text=%7Bname%3A%20'demo'%2C%20ok%3A%20True%2C%7D&operation=example): GET or POST /api/hash-encode. 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). - [Generate UUIDs (v4 or v7)](https://utilvet.pages.dev/api/uuid-generate?): GET or POST /api/uuid-generate. Generate cryptographically random UUIDs, v4 or time-sortable v7. - [Compare versions / check a semver range](https://utilvet.pages.dev/api/semver-compare?a=1.4.2): GET or POST /api/semver-compare. Compare two semantic versions (incl. prerelease ordering) or test whether a version satisfies an npm-style range (^, ~, x, comparators, ||). - [Word, character, sentence and token counts](https://utilvet.pages.dev/api/text-stats?text=%7Bname%3A%20'demo'%2C%20ok%3A%20True%2C%7D): GET or POST /api/text-stats. Count characters, words, sentences, paragraphs and lines, estimate LLM tokens and reading time, and compute a Flesch reading-ease score. - [Make a URL slug](https://utilvet.pages.dev/api/slugify?text=%7Bname%3A%20'demo'%2C%20ok%3A%20True%2C%7D): GET or POST /api/slugify. Convert text to a clean URL slug: transliterates accents (é→e, ß→ss), drops punctuation, collapses separators, trims to a word boundary. - [Detect the language of a text](https://utilvet.pages.dev/api/detect-language?text=%7Bname%3A%20'demo'%2C%20ok%3A%20True%2C%7D): GET or POST /api/detect-language. Detect the language of a text (25+ languages via script detection and stopword profiles) with ISO 639-1 code, name and confidence. - [Pricing JSON](https://utilvet.pages.dev/api/pricing) ## Limits and payment - Free: 100 fresh calls/day per IP; cached results are free. - Paid: past the free tier the REST API returns HTTP 402 with x402 requirements (USDC on Base, eip155:8453, $0.001 per call; send X-PAYMENT or PAYMENT-SIGNATURE) and an L402 Lightning challenge (WWW-Authenticate: L402 macaroon, invoice; 100 sats = 1,000 calls, 30 days; then Authorization: L402 :). - Errors return ok:false with an error message. URL tools only fetch public http(s) addresses. ## Family - LinkVet https://linkvet.pages.dev (verify links/quotes, read pages) - DomainVet https://domainvet.pages.dev - CoinVet https://coinvet.pages.dev - UtilVet https://utilvet.pages.dev # Full tool reference (17 tools) MCP endpoint: https://utilvet.pages.dev/mcp (streamable HTTP, JSON-RPC, no auth). Server card: https://utilvet.pages.dev/mcp/server-card. Free REST: GET/POST the "free" path. Pay-per-call REST: the "paid" path (always 402 until paid). Paths accept dashes or underscores (/paid/dns-lookup == /paid/dns_lookup); dashed is canonical. ## business_days Count or add business days (with public holidays) 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. - MCP tool name: business_days - Free REST: https://utilvet.pages.dev/api/business-days - Paid REST: https://utilvet.pages.dev/paid/business-days - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/business-days?start=2026-12-01&end=2026-12-31&country=US - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"business_days","arguments":{"start":"2026-12-01","end":"2026-12-31","country":"US"}}} ## public_holidays Public holidays for a country and 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. - MCP tool name: public_holidays - Free REST: https://utilvet.pages.dev/api/public-holidays - Paid REST: https://utilvet.pages.dev/paid/public-holidays - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/public-holidays?country=US&year=2027 - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"public_holidays","arguments":{"country":"US","year":2027}}} ## timezone_convert Convert a time between time zones (DST-aware) 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. - MCP tool name: timezone_convert - Free REST: https://utilvet.pages.dev/api/timezone-convert - Paid REST: https://utilvet.pages.dev/paid/timezone-convert - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/timezone-convert?time=2026-12-25+09%3A00&from_tz=America%2FNew_York&to_tz=Asia%2FTokyo - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"timezone_convert","arguments":{"time":"2026-12-25 09:00","from_tz":"America/New_York","to_tz":"Asia/Tokyo"}}} ## cron_next Explain a cron expression and list next run times Parse a cron expression and return the next N run times in a time zone (DST-aware), plus a plain-English description. Validates syntax. - MCP tool name: cron_next - Free REST: https://utilvet.pages.dev/api/cron-next - Paid REST: https://utilvet.pages.dev/paid/cron-next - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/cron-next?expression=30+9+*+*+1-5 - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cron_next","arguments":{"expression":"30 9 * * 1-5"}}} ## unit_convert Convert units (length, mass, volume, area, speed, data...) Exact unit conversion across length, mass, volume, area, speed, time, data size (SI and binary), energy, pressure, power and temperature using standard definitions. - MCP tool name: unit_convert - Free REST: https://utilvet.pages.dev/api/unit-convert - Paid REST: https://utilvet.pages.dev/paid/unit-convert - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/unit-convert?value=10&from=mi&to=km - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"unit_convert","arguments":{"value":10,"from":"mi","to":"km"}}} ## currency_convert Convert currency at ECB reference rates Convert an amount between ~30 currencies using European Central Bank reference rates (latest or historical date since 1999). Reference rates, not executable quotes. - MCP tool name: currency_convert - Free REST: https://utilvet.pages.dev/api/currency-convert - Paid REST: https://utilvet.pages.dev/paid/currency-convert - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/currency-convert?amount=100&from=USD&to=EUR - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"currency_convert","arguments":{"amount":100,"from":"USD","to":"EUR"}}} ## json_repair Repair broken JSON (LLM output) 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. - MCP tool name: json_repair - Free REST: https://utilvet.pages.dev/api/json-repair - Paid REST: https://utilvet.pages.dev/paid/json-repair - Parameters (JSON Schema): {"type":"object","properties":{"text":{"type":"string","description":"The broken JSON text"}},"required":["text"]} - Example: GET https://utilvet.pages.dev/api/json-repair?text=%7Bname%3A+%27demo%27%2C+ok%3A+True%2C%7D - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"json_repair","arguments":{"text":"{name: 'demo', ok: True,}"}}} ## json_validate Validate JSON against a JSON Schema 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. - MCP tool name: json_validate - Free REST: https://utilvet.pages.dev/api/json-validate - Paid REST: https://utilvet.pages.dev/paid/json-validate - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/json-validate?data=%7B%22a%22%3A1%7D&schema=%7B%22type%22%3A%22object%22%7D - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"json_validate","arguments":{"data":"{\"a\":1}","schema":"{\"type\":\"object\"}"}}} ## regex_test Test a regular expression 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. - MCP tool name: regex_test - Free REST: https://utilvet.pages.dev/api/regex-test - Paid REST: https://utilvet.pages.dev/paid/regex-test - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/regex-test?pattern=%5Cd%2B&text=a1b22 - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"regex_test","arguments":{"pattern":"\\d+","text":"a1b22"}}} ## csv_to_json Convert CSV to JSON Parse CSV/TSV (RFC 4180 quotes, auto-detected delimiter) into JSON rows with inferred numbers/booleans, plus column names and row count. - MCP tool name: csv_to_json - Free REST: https://utilvet.pages.dev/api/csv-to-json - Paid REST: https://utilvet.pages.dev/paid/csv-to-json - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/csv-to-json?csv=name%2Cqty%0Aa%2C1 - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"csv_to_json","arguments":{"csv":"name,qty\na,1"}}} ## text_diff Diff two texts 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. - MCP tool name: text_diff - Free REST: https://utilvet.pages.dev/api/text-diff - Paid REST: https://utilvet.pages.dev/paid/text-diff - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/text-diff?a=one%0Atwo&b=one%0A2 - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"text_diff","arguments":{"a":"one\ntwo","b":"one\n2"}}} ## hash_encode Hash, encode/decode (SHA, base64, hex, URL, JWT) 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). - MCP tool name: hash_encode - Free REST: https://utilvet.pages.dev/api/hash-encode - Paid REST: https://utilvet.pages.dev/paid/hash-encode - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/hash-encode?text=hello&operation=sha256 - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hash_encode","arguments":{"text":"hello","operation":"sha256"}}} ## uuid_generate Generate UUIDs (v4 or v7) Generate cryptographically random UUIDs, v4 or time-sortable v7. - MCP tool name: uuid_generate - Free REST: https://utilvet.pages.dev/api/uuid-generate - Paid REST: https://utilvet.pages.dev/paid/uuid-generate - Parameters (JSON Schema): {"type":"object","properties":{"version":{"type":"string","description":"v4 (random, default) or v7 (time-ordered)"},"count":{"type":"integer","description":"How many (1-100)"}}} - Example: GET https://utilvet.pages.dev/api/uuid-generate?version=v7 - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"uuid_generate","arguments":{"version":"v7"}}} ## semver_compare Compare versions / check a semver range Compare two semantic versions (incl. prerelease ordering) or test whether a version satisfies an npm-style range (^, ~, x, comparators, ||). - MCP tool name: semver_compare - Free REST: https://utilvet.pages.dev/api/semver-compare - Paid REST: https://utilvet.pages.dev/paid/semver-compare - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/semver-compare?a=1.4.2&range=%5E1.2.0 - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"semver_compare","arguments":{"a":"1.4.2","range":"^1.2.0"}}} ## text_stats Word, character, sentence and token counts Count characters, words, sentences, paragraphs and lines, estimate LLM tokens and reading time, and compute a Flesch reading-ease score. - MCP tool name: text_stats - Free REST: https://utilvet.pages.dev/api/text-stats - Paid REST: https://utilvet.pages.dev/paid/text-stats - Parameters (JSON Schema): {"type":"object","properties":{"text":{"type":"string","description":"Text"}},"required":["text"]} - Example: GET https://utilvet.pages.dev/api/text-stats?text=Hello+world.+Two+sentences. - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"text_stats","arguments":{"text":"Hello world. Two sentences."}}} ## slugify Make a URL slug Convert text to a clean URL slug: transliterates accents (é→e, ß→ss), drops punctuation, collapses separators, trims to a word boundary. - MCP tool name: slugify - Free REST: https://utilvet.pages.dev/api/slugify - Paid REST: https://utilvet.pages.dev/paid/slugify - Parameters (JSON 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"]} - Example: GET https://utilvet.pages.dev/api/slugify?text=Cr%C3%A8me+Br%C3%BBl%C3%A9e+%26+Co - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"slugify","arguments":{"text":"Crème Brûlée & Co"}}} ## detect_language Detect the language of a text Detect the language of a text (25+ languages via script detection and stopword profiles) with ISO 639-1 code, name and confidence. - MCP tool name: detect_language - Free REST: https://utilvet.pages.dev/api/detect-language - Paid REST: https://utilvet.pages.dev/paid/detect-language - Parameters (JSON Schema): {"type":"object","properties":{"text":{"type":"string","description":"Text (a sentence or more works best)"}},"required":["text"]} - Example: GET https://utilvet.pages.dev/api/detect-language?text=Der+schnelle+braune+Fuchs+springt+%C3%BCber+den+Hund - MCP call: {"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"detect_language","arguments":{"text":"Der schnelle braune Fuchs springt über den Hund"}}} # Machine-readable discovery - https://utilvet.pages.dev/.well-known/ai-catalog.json (AI Catalog, MCP server cards for the whole family) - https://utilvet.pages.dev/mcp/server-card (MCP Server Card) - https://utilvet.pages.dev/.well-known/mcp.json - https://utilvet.pages.dev/.well-known/x402 (x402 resources) - https://utilvet.pages.dev/.well-known/l402-services (L402 manifest) - https://utilvet.pages.dev/openapi.json - https://utilvet.pages.dev/.well-known/ai-plugin.json - Official MCP Registry name: dev.pages.utilvet/utilvet