Tidy Byte Tools API
Remote MCP for JSON repair, hashing, formatting, IDs, dates, units, and other small tools.
使うべきか
品質と安全性
検出事項(6)
- LOWjson_repair 内
- LOWbase64 内
- LOWjson_shaper 内
- LOWjson_format 内
- LOWtext_diff 内
- LOWurl_codec 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"api": {
"url": "https://api.tidybytetools.com/mcp"
}
}
}リモートエンドポイント
https://api.tidybytetools.com/mcpstreamable-httpできること
ツール一覧
ツール(19)
🟢json_repair(text)
Fix broken or incomplete JSON, including text from language models.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The broken or cut-off JSON text to fix. Code fences and text from language models are fine.",
"examples": [
"{name: 'Ada', ok: True,}"
]
}
},
"additionalProperties": true,
"description": "POST body for /v1/json-repair"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢base64(action, text, urlSafe, dataUri, mime)
Turn text into Base64, or Base64 back into text. URL-safe and data URIs work too.
入力スキーマ
{
"type": "object",
"properties": {
"action": {
"type": "string",
"description": "What to do: \"encode\", \"decode\", or \"auto\" (the default, which guesses from the text).",
"examples": [
"encode"
]
},
"text": {
"type": "string",
"description": "The text to encode, or the Base64 string to decode.",
"examples": [
"hello"
]
},
"urlSafe": {
"type": "boolean",
"description": "Set to true to use the URL-safe Base64 alphabet when encoding. Default false."
},
"dataUri": {
"type": "boolean",
"description": "Set to true to also return a data: URI when encoding. Default false."
},
"mime": {
"type": "string",
"description": "The media type to put in the data URI. Default text/plain;charset=utf-8."
}
},
"additionalProperties": true,
"description": "POST body for /v1/base64"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢hash(text, algorithms)
SHA-256, SHA-1, MD5, and SHA-512 checksums of text.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to hash. It is read as UTF-8 and cannot be empty.",
"examples": [
"hello"
]
},
"algorithms": {
"type": "array",
"description": "Which hashes to return: any of \"sha256\", \"sha1\", \"md5\", \"sha512\", as a list or a comma-separated string. Default is the common set.",
"examples": [
[
"sha256",
"md5"
]
]
}
},
"additionalProperties": true,
"description": "POST body for /v1/hash"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢json_shaper(text, format)
Turn key-value lines, CSV, or a Markdown table into clean JSON.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The key-value lines, CSV, or Markdown table to turn into JSON.",
"examples": [
"name: Ada\nyear: 1815"
]
},
"format": {
"type": "string",
"description": "Input format: \"auto\" (the default, which guesses), \"kv\", \"csv\", or \"markdown\"."
}
},
"additionalProperties": true,
"description": "POST body for /v1/json-shaper"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢json_format(text, mode, indent)
Pretty-print or shrink valid JSON.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The valid JSON text to pretty-print or shrink.",
"examples": [
"{\"a\":1,\"b\":[2,3]}"
]
},
"mode": {
"type": "string",
"description": "Use \"pretty\" (the default) to indent the JSON, or \"minify\" to remove all extra spaces.",
"examples": [
"pretty"
]
},
"indent": {
"type": "number",
"description": "Spaces per indent level for pretty mode: 0, 1, 2, 3, 4, or 8. Default 2."
}
},
"additionalProperties": true,
"description": "POST body for /v1/json-format"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢md_chunk(text, maxChars, overlapChars, prefixPath)
Split Markdown into heading-aware chunks for search and RAG.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The Markdown text to split into chunks.",
"examples": [
"# Title\n\nHello.\n\n## Part\n\nMore text."
]
},
"maxChars": {
"type": "number",
"description": "Largest size of a chunk in characters, as a whole number of 200 or more. Default 1500.",
"examples": [
400
]
},
"overlapChars": {
"type": "number",
"description": "Characters to repeat between neighbor chunks, from 0 up to half of maxChars. Default 0."
},
"prefixPath": {
"type": "boolean",
"description": "Set to true to start each chunk with its heading path. Default false."
}
},
"additionalProperties": true,
"description": "POST body for /v1/md-chunk"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢text_diff(a, b, from, to)
Line-level diff of two strings, plus a unified patch.
入力スキーマ
{
"type": "object",
"properties": {
"a": {
"type": "string",
"description": "The original text, compared line by line.",
"examples": [
"one\ntwo\nthree"
]
},
"b": {
"type": "string",
"description": "The changed text to compare against a.",
"examples": [
"one\ntwo changed\nthree"
]
},
"from": {
"type": "string",
"description": "Optional name for the original text in the patch header. Default \"a\"."
},
"to": {
"type": "string",
"description": "Optional name for the changed text in the patch header. Default \"b\"."
}
},
"additionalProperties": true,
"description": "POST body for /v1/text-diff"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢yaml_json(direction, text, json)
Convert a common YAML subset to JSON, or JSON to YAML.
入力スキーマ
{
"type": "object",
"properties": {
"direction": {
"type": "string",
"description": "Which way to convert: \"to-json\", \"to-yaml\", or \"auto\" (the default, which guesses).",
"examples": [
"to-json"
]
},
"text": {
"type": "string",
"description": "The YAML text to convert to JSON, or the JSON text to convert to YAML.",
"examples": [
"name: Ada\nyears: [1815, 1852]"
]
},
"json": {
"description": "A JSON value to turn into YAML. Use this instead of text when you already have an object."
}
},
"additionalProperties": true,
"description": "POST body for /v1/yaml-json"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢xml_json(direction, text, json, compact, root)
Convert XML to JSON, or a JSON object back to XML.
入力スキーマ
{
"type": "object",
"properties": {
"direction": {
"type": "string",
"description": "Which way to convert: \"to-json\", \"to-xml\", or \"auto\" (the default, which guesses).",
"examples": [
"to-json"
]
},
"text": {
"type": "string",
"description": "The XML text to convert to JSON, or the JSON text to convert to XML.",
"examples": [
"<person name=\"Ada\"><year>1815</year></person>"
]
},
"json": {
"description": "A JSON object to turn into XML. Use this instead of text when you already have an object."
},
"compact": {
"type": "boolean",
"description": "Set to false to keep the full XML tree with attributes listed. Default true, which gives short JSON."
},
"root": {
"type": "string",
"description": "Name of the root XML element when converting to XML. Default \"root\"."
}
},
"additionalProperties": true,
"description": "POST body for /v1/xml-json"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢html_sanitize(html)
Strip scripts and unsafe markup. Keeps a short allow-list of tags.
入力スキーマ
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "The HTML to clean. Scripts and unsafe markup are removed, and a short list of safe tags is kept.",
"examples": [
"<p>Hello <script>alert(1)</script><a href=\"https://example.com\">link</a></p>"
]
}
},
"additionalProperties": true,
"description": "POST body for /v1/html-sanitize"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢date_timezone(text, sourceTimezone, targetTimezone, dateOrder, outputFormat)
Parse a messy date and convert it to a timezone you choose.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The date and time as written, in almost any common format.",
"examples": [
"March 14, 2026 3:00 PM"
]
},
"sourceTimezone": {
"type": "string",
"description": "IANA timezone name the text is written in, like \"America/Chicago\". Default UTC.",
"examples": [
"America/Chicago"
]
},
"targetTimezone": {
"type": "string",
"description": "IANA timezone name to convert the date into, like \"UTC\" or \"Asia/Tokyo\". Default UTC.",
"examples": [
"UTC"
]
},
"dateOrder": {
"type": "string",
"description": "How to read dates like 03/04/2026: \"mdy\" (month first), \"dmy\" (day first), or \"auto\" (the default)."
},
"outputFormat": {
"type": "string",
"description": "Set to any text to also get a readable formatted date in the target timezone."
}
},
"additionalProperties": true,
"description": "POST body for /v1/date-timezone"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢url_codec(action, text, params, component)
Percent-encode or decode a string or query map.
入力スキーマ
{
"type": "object",
"properties": {
"action": {
"type": "string",
"description": "What to do: \"encode\", \"decode\", or \"auto\" (the default, which guesses).",
"examples": [
"encode"
]
},
"text": {
"type": "string",
"description": "The string to percent-encode or decode.",
"examples": [
"hello world & cats"
]
},
"params": {
"type": "object",
"description": "Optional object of query keys and values to encode into a query string, used instead of text."
},
"component": {
"type": "boolean",
"description": "Set to false to encode a whole URL instead of one piece of it. Default true."
}
},
"additionalProperties": true,
"description": "POST body for /v1/url-codec"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢unicode(text, form)
NFC, NFD, NFKC, or NFKD normalization, plus a character count.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text to normalize.",
"examples": [
"café"
]
},
"form": {
"type": "string",
"description": "The normalization form: \"NFC\" (the default), \"NFD\", \"NFKC\", or \"NFKD\".",
"examples": [
"NFC"
]
}
},
"additionalProperties": true,
"description": "POST body for /v1/unicode"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢id_generate(type, count, size)
Create a UUID, ULID, or NanoID.
入力スキーマ
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Kind of ID to make: \"uuid\" (the default), \"ulid\", or \"nanoid\".",
"examples": [
"uuid"
]
},
"count": {
"type": "number",
"description": "How many IDs to make, a whole number from 1 to 50. Default 1.",
"examples": [
2
]
},
"size": {
"type": "number",
"description": "Length of each NanoID in characters. Only used when type is nanoid. Default 21."
}
},
"additionalProperties": true,
"description": "POST body for /v1/id-generate"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢jwt_decode(token)
Read a JWT header and payload. This does not check the signature.
入力スキーマ
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The JWT string to read, in three parts joined by dots. It is only decoded, the signature is not checked, and it is not stored.",
"examples": [
"eyJhbGciOiJub25lIn0.eyJzdWIiOiJhZGEifQ."
]
}
},
"additionalProperties": true,
"description": "POST body for /v1/jwt-decode"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢cron_parse(expression, count, start)
Explain a 5- or 6-field cron string and list the next fire times in UTC.
入力スキーマ
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "The cron schedule, with 5 or 6 fields, like \"0 9 * * 1-5\".",
"examples": [
"0 9 * * 1-5"
]
},
"count": {
"type": "number",
"description": "How many upcoming run times to list, a whole number from 1 to 20. Default 5.",
"examples": [
3
]
},
"start": {
"type": "string",
"description": "Optional start date and time for the list, in ISO format. Default is now."
}
},
"additionalProperties": true,
"description": "POST body for /v1/cron-parse"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢gtin_checksum(code, action)
Check or fill the check digit on a barcode number.
入力スキーマ
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The barcode digits (7 to 14 of them). Spaces and dashes are ignored.",
"examples": [
"4006381333931"
]
},
"action": {
"type": "string",
"description": "What to do: \"check\" (the default) to test the last digit, or \"fill\" to add the missing check digit.",
"examples": [
"check"
]
}
},
"additionalProperties": true,
"description": "POST body for /v1/gtin-checksum"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢sql_format(sql, keywordCase)
Pretty-print a SQL query. This is a lightweight formatter, not a full SQL parser.
入力スキーマ
{
"type": "object",
"properties": {
"sql": {
"type": "string",
"description": "The SQL query text to pretty-print.",
"examples": [
"select id,name from users where active=1 order by name"
]
},
"keywordCase": {
"type": "string",
"description": "How to write SQL keywords: \"upper\" (the default), \"lower\", or \"keep\"."
}
},
"additionalProperties": true,
"description": "POST body for /v1/sql-format"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}🟢unit_convert(value, from, to, text)
Convert length, mass, temperature, volume, time, area, speed, and data-size units.
入力スキーマ
{
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "The number to convert.",
"examples": [
10
]
},
"from": {
"type": "string",
"description": "The unit you have, like \"km\", \"lb\", \"C\", or \"MB\".",
"examples": [
"km"
]
},
"to": {
"type": "string",
"description": "The unit you want, like \"mi\", \"kg\", \"F\", or \"GB\".",
"examples": [
"mi"
]
},
"text": {
"type": "string",
"description": "Instead of the three fields above, you can send words like \"10 km to mi\"."
}
},
"additionalProperties": true,
"description": "POST body for /v1/unit-convert"
}出力スキーマ
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"tool": {
"type": "string"
},
"result": {}
},
"required": [
"ok",
"tool",
"result"
]
}コミュニティ
エビデンス