elci.dev developer tools
51 free developer tools: JSON, YAML, CSV, Base64, JWT, hashes, UUIDs, regex, formatters and more.
使うべきか
品質と安全性
検出事項(9)
- HIGH
- MEDIUMlorem_ipsum 内
- LOWgitignore_generate 内
- LOWbase64_decode 内
- LOWurl_encode 内
- LOWhttp_status_lookup 内
- LOWurl_encode 内
- LOWurl_decode 内
- INFOlorem_ipsum 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"tools": {
"url": "https://elci.dev/mcp"
}
}
}リモートエンドポイント
https://elci.dev/mcpstreamable-httpできること
ツール一覧
ツール(51)
🟢color_convert(hex)
Convert a hex color to RGB and HSL CSS strings. Accepts 3- or 6-digit hex, with or without "#". Returns: Object with hex (normalised, lowercase), rgb ("rgb(r, g, b)") and hsl ("hsl(h, s%, l%)") strings.
入力スキーマ
{
"type": "object",
"properties": {
"hex": {
"type": "string",
"description": "Hex color, e.g. \"#4b9fe0\" or \"4b9fe0\" or \"#fff\".",
"maxLength": 7
}
},
"required": [
"hex"
],
"additionalProperties": false
}🟢css_gradient(type, angle, stops)
Build a CSS linear or radial gradient declaration from color stops. Returns: Object with value (the gradient function) and css (a ready "background: ...;" declaration).
入力スキーマ
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Gradient type.",
"enum": [
"linear",
"radial"
],
"default": "linear"
},
"angle": {
"type": "number",
"description": "Angle in degrees for linear gradients (ignored for radial).",
"minimum": 0,
"maximum": 360,
"default": 90
},
"stops": {
"type": "array",
"description": "2 to 8 color stops. Position is a percentage from 0 to 100; stops are sorted by position.",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string",
"description": "CSS color, e.g. \"#4B9FE0\".",
"maxLength": 40
},
"position": {
"type": "number",
"description": "Position in percent.",
"minimum": 0,
"maximum": 100
}
},
"additionalProperties": false,
"required": [
"color",
"position"
],
"description": "One color stop."
},
"minItems": 2,
"maxItems": 8,
"default": [
{
"color": "#4B9FE0",
"position": 0
},
{
"color": "#B330E1",
"position": 100
}
]
}
},
"additionalProperties": false
}🟢box_shadow(offsetX, offsetY, blur, spread, color, ...)
Build a CSS box-shadow declaration with offsets, blur, spread, color and opacity. Returns: Object with value (the shadow list) and css (a ready "box-shadow: ...;" declaration).
入力スキーマ
{
"type": "object",
"properties": {
"offsetX": {
"type": "number",
"description": "Horizontal offset in px.",
"minimum": -50,
"maximum": 50,
"default": 0
},
"offsetY": {
"type": "number",
"description": "Vertical offset in px.",
"minimum": -50,
"maximum": 50,
"default": 4
},
"blur": {
"type": "number",
"description": "Blur radius in px.",
"minimum": 0,
"maximum": 100,
"default": 8
},
"spread": {
"type": "number",
"description": "Spread radius in px.",
"minimum": -50,
"maximum": 50,
"default": 0
},
"color": {
"type": "string",
"description": "Shadow color as 6-digit hex.",
"default": "#000000",
"maxLength": 7
},
"opacity": {
"type": "number",
"description": "Opacity in percent.",
"minimum": 0,
"maximum": 100,
"default": 35
},
"inset": {
"type": "boolean",
"description": "Draw an inner shadow.",
"default": false
}
},
"additionalProperties": false
}🟢cubic_bezier(preset, x1, y1, x2, y2)
Build a CSS cubic-bezier() timing function from a preset or four control values. Returns: Object with css ("cubic-bezier(x1, y1, x2, y2)") and the effective x1, y1, x2, y2.
入力スキーマ
{
"type": "object",
"properties": {
"preset": {
"type": "string",
"description": "Named preset; overrides x1..y2 when given.",
"enum": [
"ease",
"ease-in",
"ease-out",
"ease-in-out",
"linear"
]
},
"x1": {
"type": "number",
"description": "First control point x. Clamped to 0..1 (CSS requires it).",
"default": 0.25
},
"y1": {
"type": "number",
"description": "First control point y (may overshoot 0..1).",
"default": 0.1
},
"x2": {
"type": "number",
"description": "Second control point x. Clamped to 0..1.",
"default": 0.25
},
"y2": {
"type": "number",
"description": "Second control point y (may overshoot 0..1).",
"default": 1
}
},
"additionalProperties": false
}🟢cidr_calculate(cidr)
Calculate an IPv4 subnet from CIDR notation: network, broadcast, netmask, wildcard, host range and host counts. Returns: Object with network, broadcast, netmask, wildcard, firstHost, lastHost, totalHosts, usableHosts and prefixLength.
入力スキーマ
{
"type": "object",
"properties": {
"cidr": {
"type": "string",
"description": "IPv4 CIDR block, e.g. \"192.168.1.0/24\".",
"maxLength": 32
}
},
"required": [
"cidr"
],
"additionalProperties": false
}🟢chmod_convert(octal)
Convert a Unix octal file mode (e.g. 755) into symbolic form (rwxr-xr-x), the chmod command and a per-class permission breakdown. Supports setuid/setgid/sticky with a 4-digit mode. Returns: Object with octal (normalised), symbolic, command, permissions (owner/group/others read/write/execute) and special (setuid/setgid/sticky).
入力スキーマ
{
"type": "object",
"properties": {
"octal": {
"type": "string",
"description": "Octal mode of 3 or 4 digits, e.g. \"644\" or \"4755\".",
"maxLength": 4
}
},
"required": [
"octal"
],
"additionalProperties": false
}🟢http_status_lookup(query, statusClass)
Look up HTTP status codes by number prefix ("40" finds 400-409), name or meaning, optionally limited to one class. Returns: Object with count and matches: [{ code, name, description }].
入力スキーマ
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Code prefix, or text from the name or description. Empty returns all codes.",
"default": "",
"maxLength": 100
},
"statusClass": {
"type": "string",
"description": "Only this class of status.",
"enum": [
"1xx",
"2xx",
"3xx",
"4xx",
"5xx"
]
}
},
"additionalProperties": false
}🟢dns_lookup(domain, recordType)
Resolve a DNS record through Cloudflare DNS-over-HTTPS. Makes a network request to cloudflare-dns.com from the caller. Returns: Object with status (e.g. NOERROR, NXDOMAIN), answers and authority: [{ name, type, ttl, data }].
入力スキーマ
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Domain name, e.g. \"example.com\".",
"minLength": 1,
"maxLength": 253
},
"recordType": {
"type": "string",
"description": "DNS record type.",
"enum": [
"A",
"AAAA",
"CNAME",
"MX",
"TXT",
"NS",
"SOA",
"CAA"
],
"default": "A"
}
},
"required": [
"domain"
],
"additionalProperties": false
}🟢robots_txt_generate(defaultPolicy, disallow, allow, crawlDelay, blockedBots, ...)
Generate a robots.txt file with allow/disallow rules, optional AI crawler blocks, crawl delay and sitemap lines. Returns: Object with robotsTxt: the file content.
入力スキーマ
{
"type": "object",
"properties": {
"defaultPolicy": {
"type": "string",
"description": "\"allow\" opens the site (except disallowed paths); \"block\" disallows everything for all crawlers.",
"enum": [
"allow",
"block"
],
"default": "allow"
},
"disallow": {
"type": "array",
"description": "Paths to disallow for all crawlers (ignored when defaultPolicy is \"block\").",
"items": {
"type": "string",
"description": "A path such as \"/admin/\".",
"maxLength": 300
},
"default": [],
"maxItems": 200
},
"allow": {
"type": "array",
"description": "Paths to explicitly allow.",
"items": {
"type": "string",
"description": "A path such as \"/admin/public/\".",
"maxLength": 300
},
"default": [],
"maxItems": 200
},
"crawlDelay": {
"type": "number",
"description": "Crawl-delay in seconds (some crawlers ignore it; Google does).",
"minimum": 0,
"maximum": 3600
},
"blockedBots": {
"type": "array",
"description": "AI crawlers to block entirely.",
"items": {
"type": "string",
"description": "Crawler name.",
"enum": [
"GPTBot",
"ChatGPT-User",
"ClaudeBot",
"Google-Extended",
"CCBot",
"PerplexityBot"
]
},
"default": [],
"maxItems": 6
},
"sitemaps": {
"type": "array",
"description": "Absolute sitemap URLs.",
"items": {
"type": "string",
"description": "Sitemap URL.",
"maxLength": 500
},
"default": [],
"maxItems": 20
}
},
"additionalProperties": false
}🟢meta_tags_generate(title, description, canonicalUrl, robots, themeColor, ...)
Generate the <head> meta tags for SEO, Open Graph and Twitter cards. Empty fields are left out. Returns: Object with html: the tags to paste into <head>.
入力スキーマ
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Page title (aim for 60 characters or fewer).",
"default": "",
"maxLength": 300
},
"description": {
"type": "string",
"description": "Meta description (aim for 160 characters or fewer).",
"default": "",
"maxLength": 1000
},
"canonicalUrl": {
"type": "string",
"description": "Canonical URL.",
"default": "",
"maxLength": 2000
},
"robots": {
"type": "string",
"description": "Robots directive.",
"enum": [
"index, follow",
"noindex, follow",
"index, nofollow",
"noindex, nofollow"
],
"default": "index, follow"
},
"themeColor": {
"type": "string",
"description": "Theme color, e.g. \"#0d0e10\".",
"default": "",
"maxLength": 40
},
"ogType": {
"type": "string",
"description": "Open Graph type.",
"enum": [
"website",
"article"
],
"default": "website"
},
"ogImage": {
"type": "string",
"description": "Absolute image URL (1200x630 works best).",
"default": "",
"maxLength": 2000
},
"ogSiteName": {
"type": "string",
"description": "Site name.",
"default": "",
"maxLength": 200
},
"twitterCard": {
"type": "string",
"description": "Twitter/X card layout.",
"enum": [
"summary",
"summary_large_image"
],
"default": "summary_large_image"
},
"twitterSite": {
"type": "string",
"description": "Twitter/X handle, e.g. \"@example\".",
"default": "",
"maxLength": 100
}
},
"additionalProperties": false
}🟢gitignore_generate(templates)
Combine language, framework, editor and OS templates into one .gitignore, dropping duplicate lines. Returns: Object with gitignore: the combined file, one "### Name" section per template.
入力スキーマ
{
"type": "object",
"properties": {
"templates": {
"type": "array",
"description": "Templates to include, in order.",
"items": {
"type": "string",
"description": "Template name.",
"enum": [
"Node",
"Python",
"Java",
"Go",
"Rust",
"Ruby",
"PHP",
"Swift",
"Kotlin",
"C++",
"macOS",
"Windows",
"Linux",
"Visual Studio Code",
"JetBrains",
"Terraform",
"Docker",
"Vue",
"React",
"Next.js",
"Android"
]
},
"minItems": 1,
"maxItems": 21
}
},
"required": [
"templates"
],
"additionalProperties": false
}🟢crontab_explain(expression)
Explain a 5-field cron expression in plain English (minute hour day-of-month month day-of-week). Returns: Object with the normalised expression and an English description of when it runs.
入力スキーマ
{
"type": "object",
"properties": {
"expression": {
"type": "string",
"description": "Cron expression, e.g. \"*/15 * * * *\" or \"0 9 * * 1-5\".",
"maxLength": 200
}
},
"required": [
"expression"
],
"additionalProperties": false
}🟢timestamp_convert(timestamp, unit, dateTime, timeZone)
Convert between Unix timestamps and dates. Give a timestamp (seconds or milliseconds) or a dateTime in a time zone; with neither, converts the current time. Always returns ISO 8601 UTC plus both Unix units. Returns: Object with iso, unixSeconds, unixMilliseconds, utc, timeZone, formatted (in that zone) and relative ("in 2 days").
入力スキーマ
{
"type": "object",
"properties": {
"timestamp": {
"type": "number",
"description": "Unix timestamp. Interpreted per \"unit\"."
},
"unit": {
"type": "string",
"description": "Unit of \"timestamp\".",
"enum": [
"seconds",
"milliseconds"
],
"default": "seconds"
},
"dateTime": {
"type": "string",
"description": "Local date and time in \"timeZone\", as \"YYYY-MM-DDTHH:mm\" or \"YYYY-MM-DDTHH:mm:ss\" (no zone suffix).",
"maxLength": 19
},
"timeZone": {
"type": "string",
"description": "IANA time zone used for dateTime and for the formatted output.",
"default": "UTC",
"maxLength": 64
}
},
"additionalProperties": false
}🟢timezone_convert(dateTime, sourceZone, targetZone)
Convert a date and time from one IANA time zone to another, accounting for daylight saving time. Returns: Object with utc (ISO), source and target: { timeZone, formatted }.
入力スキーマ
{
"type": "object",
"properties": {
"dateTime": {
"type": "string",
"description": "Local date and time in sourceZone, as \"YYYY-MM-DDTHH:mm\".",
"maxLength": 16
},
"sourceZone": {
"type": "string",
"description": "IANA time zone of dateTime.",
"default": "UTC",
"maxLength": 64
},
"targetZone": {
"type": "string",
"description": "IANA time zone to convert to.",
"default": "UTC",
"maxLength": 64
}
},
"required": [
"dateTime"
],
"additionalProperties": false
}🟢json_format(input, action)
Format (2-space indent), minify or stringify JSON. Format and minify also expand JSON that is embedded as a string inside the document. Reports the parse error for invalid JSON. Returns: Object with output: the resulting text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "JSON text.",
"maxLength": 1000000
},
"action": {
"type": "string",
"description": "\"format\" pretty-prints, \"minify\" removes whitespace, \"stringify\" returns the JSON as an escaped string literal.",
"enum": [
"format",
"minify",
"stringify"
],
"default": "format"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢json_diff(original, changed)
Compare two JSON documents by structure. Key order and whitespace do not count; array order does. Returns: Object with identical (boolean), added and removed (line counts) and parts: [{ value, added?, removed? }] in document order.
入力スキーマ
{
"type": "object",
"properties": {
"original": {
"type": "string",
"description": "Original JSON.",
"maxLength": 1000000
},
"changed": {
"type": "string",
"description": "Changed JSON.",
"maxLength": 1000000
}
},
"required": [
"original",
"changed"
],
"additionalProperties": false
}🟢jsonpath_query(json, path, resultType)
Evaluate a JSONPath expression against a JSON document. Supports filters ($..book[?(@.price < 10)]) and recursive descent. Returns: Object with matchCount and matches (always a list, empty when nothing matches).
入力スキーマ
{
"type": "object",
"properties": {
"json": {
"type": "string",
"description": "JSON document.",
"maxLength": 1000000
},
"path": {
"type": "string",
"description": "JSONPath expression, e.g. \"$.store.book[*].title\".",
"minLength": 1,
"maxLength": 1000
},
"resultType": {
"type": "string",
"description": "Return the matched values or the path of each match.",
"enum": [
"value",
"path"
],
"default": "value"
}
},
"required": [
"json",
"path"
],
"additionalProperties": false
}🟢json_schema_validate(data, schema, draft)
Validate JSON data against a JSON Schema (draft 4, 7, 2019-09 or 2020-12; "auto" reads $schema and defaults to 2020-12). Lists every error with a JSON Pointer path. Returns: Object with valid (boolean), draft (the draft used) and errors: [{ path (JSON Pointer, "" for the root), keyword, message }].
入力スキーマ
{
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "The JSON document to validate.",
"maxLength": 1000000
},
"schema": {
"type": "string",
"description": "The JSON Schema, as JSON text.",
"maxLength": 1000000
},
"draft": {
"type": "string",
"description": "Schema draft.",
"enum": [
"auto",
"2020-12",
"2019-09",
"7",
"4"
],
"default": "auto"
}
},
"required": [
"data",
"schema"
],
"additionalProperties": false
}🟢json_to_typescript(input, rootName)
Generate TypeScript interfaces from a JSON sample. Returns: Object with typescript: the interface declarations.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "JSON sample.",
"maxLength": 1000000
},
"rootName": {
"type": "string",
"description": "Name of the root interface.",
"default": "Root",
"maxLength": 60
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢yaml_json_convert(input, direction)
Convert between YAML and JSON. Returns: Object with output: the converted text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "YAML or JSON text.",
"maxLength": 1000000
},
"direction": {
"type": "string",
"description": "Conversion direction.",
"enum": [
"yaml-to-json",
"json-to-yaml"
],
"default": "yaml-to-json"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢csv_json_convert(input, direction)
Convert between CSV (first row is the header) and JSON. Returns: Object with output: the converted text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "CSV or JSON text.",
"maxLength": 1000000
},
"direction": {
"type": "string",
"description": "Conversion direction.",
"enum": [
"csv-to-json",
"json-to-csv"
],
"default": "csv-to-json"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢json_to_csv(input, delimiter, flatten)
Convert a JSON array of objects (or one object) to CSV. Nested objects become dotted columns (user.name) when flatten is on; arrays stay in one cell as JSON. Columns are every key seen in any row. Returns: Object with csv (the CSV text, CRLF line endings), columns and rows (counts).
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "JSON text: an array of objects, one object, or an array of values.",
"maxLength": 1000000
},
"delimiter": {
"type": "string",
"description": "Column separator.",
"enum": [
"comma",
"semicolon",
"tab",
"pipe"
],
"default": "comma"
},
"flatten": {
"type": "boolean",
"description": "Turn nested objects into dotted columns instead of JSON text.",
"default": true
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢xml_format(input, action, indent)
Format or minify XML and check that it is well-formed (single root, matching tags, no unterminated constructs). Does not validate against a schema. Returns: Object with output: the resulting XML.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "XML text.",
"maxLength": 1000000
},
"action": {
"type": "string",
"description": "\"format\" indents, \"minify\" removes whitespace between tags and comments.",
"enum": [
"format",
"minify"
],
"default": "format"
},
"indent": {
"type": "string",
"description": "Indentation for \"format\": 2 spaces, 4 spaces or a tab.",
"enum": [
"2",
"4",
"tab"
],
"default": "2"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢xml_to_json(input, coerce)
Convert XML to JSON. Attributes become "@name", text beside attributes or child elements becomes "#text", repeated elements become arrays, CDATA is text and comments are dropped. Returns: Object with json: the converted value, keyed by the root element name.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "XML text.",
"maxLength": 1000000
},
"coerce": {
"type": "boolean",
"description": "Turn numbers and true/false into JSON numbers and booleans (values with leading zeros stay text).",
"default": false
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢sql_format(input, dialect)
Format SQL with upper-cased keywords for a chosen dialect. Returns: Object with output: the formatted SQL.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "SQL text.",
"maxLength": 1000000
},
"dialect": {
"type": "string",
"description": "SQL dialect.",
"enum": [
"sql",
"mysql",
"postgresql",
"mariadb",
"sqlite",
"bigquery",
"snowflake",
"transactsql",
"plsql",
"redshift"
],
"default": "sql"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢html_format(input, mode)
Beautify or minify HTML. Returns: Object with output: the resulting HTML.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "HTML text.",
"maxLength": 1000000
},
"mode": {
"type": "string",
"description": "\"beautify\" or \"minify\".",
"enum": [
"beautify",
"minify"
],
"default": "beautify"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢css_format(input, mode)
Beautify or minify CSS. Returns: Object with output: the resulting CSS.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "CSS text.",
"maxLength": 1000000
},
"mode": {
"type": "string",
"description": "\"beautify\" or \"minify\".",
"enum": [
"beautify",
"minify"
],
"default": "beautify"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢js_format(input, mode)
Beautify or minify JavaScript. Returns: Object with output: the resulting JavaScript.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "JavaScript text.",
"maxLength": 1000000
},
"mode": {
"type": "string",
"description": "\"beautify\" or \"minify\".",
"enum": [
"beautify",
"minify"
],
"default": "beautify"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢base64_encode(input, uriSafe)
Encode text (UTF-8) as Base64, optionally in the URL-safe alphabet (- and _ instead of + and /, no padding). Returns: Object with output: the Base64 text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Text to encode.",
"maxLength": 1000000
},
"uriSafe": {
"type": "boolean",
"description": "Use the URL-safe alphabet.",
"default": false
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢base64_decode(input)
Decode Base64 text (standard or URL-safe alphabet) to a UTF-8 string. Returns: Object with output: the decoded text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Base64 text.",
"maxLength": 1000000
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢url_encode(input)
Percent-encode text for use inside a URL (encodeURIComponent). Returns: Object with output: the encoded text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Text to encode.",
"maxLength": 1000000
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢url_decode(input)
Decode percent-encoded text (decodeURIComponent). Malformed sequences are reported as an error. Returns: Object with output: the decoded text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Percent-encoded text.",
"maxLength": 1000000
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢number_base_convert(value, inputBase)
Convert a non-negative integer between binary, octal, decimal and hexadecimal, exactly, for any length. Returns: Object with binary, octal, decimal and hex (uppercase) strings.
入力スキーマ
{
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "The number, using only digits valid for inputBase.",
"maxLength": 10000
},
"inputBase": {
"type": "integer",
"description": "Base of value.",
"enum": [
2,
8,
10,
16
],
"default": 10
}
},
"required": [
"value"
],
"additionalProperties": false
}🟢text_binary_convert(input, direction, format, separator)
Convert text to its UTF-8 bytes written in binary, hex, decimal or octal, or decode such bytes back to text. Decoding accepts spaces, commas, 0x prefixes or one unseparated run. Returns: Object with output: the encoded bytes or the decoded text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Text to encode, or bytes to decode.",
"maxLength": 1000000
},
"direction": {
"type": "string",
"description": "Encode text to bytes, or decode bytes to text.",
"enum": [
"encode",
"decode"
],
"default": "encode"
},
"format": {
"type": "string",
"description": "How each byte is written.",
"enum": [
"binary",
"hex",
"decimal",
"octal"
],
"default": "binary"
},
"separator": {
"type": "string",
"description": "Between encoded bytes (decimal always uses a space).",
"enum": [
"space",
"none"
],
"default": "space"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢jwt_decode(token)
Decode a JWT: header, payload and signature, with iat/exp as ISO 8601 UTC and an "expired" flag. Does NOT verify the signature. Returns: Object with header, payload, signature, issuedAt, expiresAt (ISO UTC), expired and signatureVerified (always false).
入力スキーマ
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "JWT (three dot-separated parts).",
"maxLength": 100000
}
},
"required": [
"token"
],
"additionalProperties": false
}🟢qr_code_svg(text, errorLevel, size, margin)
Generate a QR code as an SVG string. Returns: Object with svg: the SVG markup.
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text or URL to encode.",
"minLength": 1,
"maxLength": 2000
},
"errorLevel": {
"type": "string",
"description": "Error correction level: L (7%), M (15%), Q (25%) or H (30%).",
"enum": [
"L",
"M",
"Q",
"H"
],
"default": "M"
},
"size": {
"type": "integer",
"description": "Width and height in pixels.",
"minimum": 64,
"maximum": 1024,
"default": 256
},
"margin": {
"type": "integer",
"description": "Quiet-zone width in modules.",
"minimum": 0,
"maximum": 10,
"default": 2
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢case_convert(input, targetCase)
Convert text between naming and letter cases (camelCase, snake_case, kebab-case, Title Case, ...). Words are split on spaces, underscores, hyphens and case boundaries (XMLParser becomes XML Parser). Returns: Object with output: the converted text.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Text to convert.",
"maxLength": 1000000
},
"targetCase": {
"type": "string",
"description": "Target case.",
"enum": [
"camelCase",
"PascalCase",
"snake_case",
"kebab-case",
"Title Case",
"UPPERCASE",
"lowercase",
"CONSTANT_CASE"
],
"default": "camelCase"
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢slugify_text(input)
Turn a title into a URL slug: lowercase, accents removed, runs of other characters become single hyphens. Returns: Object with slug.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Title or phrase.",
"maxLength": 1000000
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢word_count(text)
Count words, characters, sentences and paragraphs and estimate reading time at 200 words per minute. Returns: Object with words, characters, charactersNoSpaces, sentences, paragraphs and readingTimeMinutes (rounded up).
入力スキーマ
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text to analyse.",
"maxLength": 1000000
}
},
"required": [
"text"
],
"additionalProperties": false
}🟢regex_test(pattern, testString, flags)
Test a JavaScript regular expression against a string and list every match with its index and capture groups. Returns: Object with matchCount and matches: [{ match, index, groups (null for unmatched), namedGroups? }].
入力スキーマ
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "Regular expression source, without slashes.",
"minLength": 1,
"maxLength": 2000
},
"testString": {
"type": "string",
"description": "Text to search.",
"maxLength": 100000
},
"flags": {
"type": "string",
"description": "Flags: any of d g i m s u y, each at most once. With \"g\" all matches are returned, otherwise the first.",
"default": "g",
"maxLength": 7
}
},
"required": [
"pattern",
"testString"
],
"additionalProperties": false
}🟢text_diff(original, changed)
Compare two texts line by line. Returns: Object with identical, added and removed (line counts) and parts: [{ value, added?, removed? }] in order.
入力スキーマ
{
"type": "object",
"properties": {
"original": {
"type": "string",
"description": "Original text.",
"maxLength": 1000000
},
"changed": {
"type": "string",
"description": "Changed text.",
"maxLength": 1000000
}
},
"required": [
"original",
"changed"
],
"additionalProperties": false
}🟢lorem_ipsum(unit, count)
Generate lorem ipsum placeholder text. The first output always starts with the classic "Lorem ipsum dolor sit amet" opening; the rest is random. Returns: Object with text.
入力スキーマ
{
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "What to count.",
"enum": [
"paragraphs",
"sentences",
"words"
],
"default": "paragraphs"
},
"count": {
"type": "integer",
"description": "How many units (1 to 50).",
"minimum": 1,
"maximum": 50,
"default": 3
}
},
"additionalProperties": false
}🟢hash_text(input)
Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of a UTF-8 string, as lowercase hex. MD5 and SHA-1 are not safe for security purposes. Returns: Object with md5, sha1, sha256, sha384 and sha512 hex strings.
入力スキーマ
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Text to hash.",
"maxLength": 1000000
}
},
"required": [
"input"
],
"additionalProperties": false
}🟢bcrypt(mode, password, cost, hash)
Hash a password with bcrypt, or verify a password against a bcrypt hash. Higher cost is slower: each +1 doubles the time. Returns: For hash: { hash }. For verify: { match: boolean }.
入力スキーマ
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "\"hash\" creates a hash, \"verify\" checks a password against a hash.",
"enum": [
"hash",
"verify"
],
"default": "hash"
},
"password": {
"type": "string",
"description": "The password.",
"minLength": 1,
"maxLength": 72
},
"cost": {
"type": "integer",
"description": "Cost factor (log2 rounds) for \"hash\".",
"minimum": 4,
"maximum": 14,
"default": 10
},
"hash": {
"type": "string",
"description": "The bcrypt hash to check, for \"verify\".",
"maxLength": 100
}
},
"required": [
"password"
],
"additionalProperties": false
}🟢jwt_encode(payload, secret, algorithm)
Create and sign a JWT with HMAC (HS256, HS384 or HS512). Add "iat"/"exp" yourself if you want them. Returns: Object with token: the signed JWT.
入力スキーマ
{
"type": "object",
"properties": {
"payload": {
"type": "object",
"description": "Claims as a JSON object, e.g. {\"sub\": \"42\"}."
},
"secret": {
"type": "string",
"description": "HMAC secret. Never send a production secret to any tool you do not control.",
"minLength": 1,
"maxLength": 10000
},
"algorithm": {
"type": "string",
"description": "Signing algorithm.",
"enum": [
"HS256",
"HS384",
"HS512"
],
"default": "HS256"
}
},
"required": [
"payload",
"secret"
],
"additionalProperties": false
}🟢jwt_verify(token, key, secretEncoding)
Verify a JWT signature: HS256/384/512 with the shared secret, RS*, PS* or ES* with a public key (PEM "BEGIN PUBLIC KEY", JWK or JWKS). Also reports whether exp/nbf make it expired or not yet valid. A public key is never accepted as an HMAC secret. Returns: Object with valid (signature check), algorithm, header, payload, expired and notYetValid (booleans, absent without exp/nbf), and expiresAt / issuedAt / notBefore as ISO dates.
入力スキーマ
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The JWT.",
"minLength": 1,
"maxLength": 100000
},
"key": {
"type": "string",
"description": "HMAC secret, or the public key as PEM, JWK or JWKS JSON. Never send a production secret to any tool you do not control.",
"minLength": 1,
"maxLength": 100000
},
"secretEncoding": {
"type": "string",
"description": "How an HMAC secret is written.",
"enum": [
"utf8",
"base64"
],
"default": "utf8"
}
},
"required": [
"token",
"key"
],
"additionalProperties": false
}🟢password_generate(length, uppercase, lowercase, numbers, symbols)
Generate a random password with a cryptographically secure generator. Characters are drawn uniformly from the selected sets; each set is not guaranteed to appear. Returns: Object with password.
入力スキーマ
{
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "Password length.",
"minimum": 4,
"maximum": 64,
"default": 16
},
"uppercase": {
"type": "boolean",
"description": "Include A-Z.",
"default": true
},
"lowercase": {
"type": "boolean",
"description": "Include a-z.",
"default": true
},
"numbers": {
"type": "boolean",
"description": "Include 0-9.",
"default": true
},
"symbols": {
"type": "boolean",
"description": "Include symbols !@#$%^&*()_+-=[]{}|;:,.<>?",
"default": false
}
},
"additionalProperties": false
}🟢uuid_generate(version, count)
Generate UUIDs: v1 (time + node), v4 (random), v6 (reordered v1) or v7 (time-ordered, good for database keys). Returns: Object with uuids: a list of UUID strings.
入力スキーマ
{
"type": "object",
"properties": {
"version": {
"type": "integer",
"description": "UUID version.",
"enum": [
1,
4,
6,
7
],
"default": 4
},
"count": {
"type": "integer",
"description": "How many UUIDs (1 to 512).",
"minimum": 1,
"maximum": 512,
"default": 1
}
},
"additionalProperties": false
}🟢ulid_generate(count, monotonic, time)
Generate ULIDs: 26-character, lexicographically sortable identifiers with a millisecond timestamp. Returns: Object with ulids: a list of ULID strings.
入力スキーマ
{
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "How many ULIDs (1 to 512).",
"minimum": 1,
"maximum": 512,
"default": 1
},
"monotonic": {
"type": "boolean",
"description": "Guarantee increasing order within the batch when timestamps tie.",
"default": false
},
"time": {
"type": "integer",
"description": "Timestamp in milliseconds since the Unix epoch (default: now).",
"minimum": 0,
"maximum": 281474976710655
}
},
"additionalProperties": false
}🟢random_numbers(min, max, count, unique)
Generate random integers in an inclusive range with a cryptographically secure generator, optionally all distinct. Returns: Object with numbers: a list of integers.
入力スキーマ
{
"type": "object",
"properties": {
"min": {
"type": "integer",
"description": "Smallest value.",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"default": 1
},
"max": {
"type": "integer",
"description": "Largest value.",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"default": 100
},
"count": {
"type": "integer",
"description": "How many numbers (1 to 10000).",
"minimum": 1,
"maximum": 10000,
"default": 5
},
"unique": {
"type": "boolean",
"description": "No repeated values.",
"default": false
}
},
"additionalProperties": false
}🟢self_signed_certificate(commonName, countryName, localityName, stateOrProvinceName, organizationName, ...)
Generate a self-signed X.509 certificate and RSA key pair (PEM). For local development only. Slow for large key sizes: 4096 bits can take many seconds. Always signed with SHA-256. Returns: Object with privateKey, publicKey and certificate (PEM strings) and fingerprint.
入力スキーマ
{
"type": "object",
"properties": {
"commonName": {
"type": "string",
"description": "Common name; also used as the DNS subject alternative name.",
"default": "localhost",
"minLength": 1,
"maxLength": 253
},
"countryName": {
"type": "string",
"description": "Two-letter country code.",
"default": "US",
"maxLength": 2
},
"localityName": {
"type": "string",
"description": "City.",
"default": "",
"maxLength": 128
},
"stateOrProvinceName": {
"type": "string",
"description": "State or province.",
"default": "",
"maxLength": 128
},
"organizationName": {
"type": "string",
"description": "Organization.",
"default": "",
"maxLength": 128
},
"organizationalUnitName": {
"type": "string",
"description": "Organizational unit.",
"default": "",
"maxLength": 128
},
"emailAddress": {
"type": "string",
"description": "Contact email.",
"default": "",
"maxLength": 254
},
"keySize": {
"type": "integer",
"description": "RSA key size in bits.",
"enum": [
1024,
2048,
3072,
4096
],
"default": 2048
},
"days": {
"type": "integer",
"description": "Validity in days.",
"minimum": 1,
"maximum": 3650,
"default": 365
},
"algorithm": {
"type": "string",
"description": "Signature hash. Only sha256 is honoured by the underlying library.",
"enum": [
"sha256"
],
"default": "sha256"
}
},
"additionalProperties": false
}コミュニティ
エビデンス