One Million Tools
42 free deterministic utilities: JSON, CSV, YAML, encoding, hashing, JWT, cron, formatters, CSS.
我该使用它吗
质量与安全性
发现(14)
- LOW在 json_format 中
- LOW在 json_minify 中
- LOW在 base64_encode 中
- LOW在 base64_decode 中
- LOW在 url_encode 中
- LOW在 url_decode 中
- LOW在 sql_format 中
- LOW在 html_format 中
- LOW在 css_format 中
- LOW在 js_format 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"one-million-tools": {
"url": "https://tools-empire-mcp.lucas-qin-au.workers.dev/mcp"
}
}
}远程端点
https://tools-empire-mcp.lucas-qin-au.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(42)
⚪json_format(input, indent)
Pretty-print JSON with configurable indentation (2 spaces, 4 spaces, or tab).
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Raw JSON text to format."
},
"indent": {
"default": "2",
"type": "string",
"enum": [
"2",
"4",
"tab"
]
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪json_minify(input)
Compress JSON by stripping whitespace.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪json_validate(input)
Validate JSON syntax and return the parsed value or a line/column error.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪json_diff(left, right)
Diff two JSON documents and return added/removed/changed keys.
输入模式
{
"type": "object",
"properties": {
"left": {
"type": "string"
},
"right": {
"type": "string"
}
},
"required": [
"left",
"right"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪json_to_yaml(input)
Convert JSON to YAML.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪yaml_to_json(input)
Convert YAML to pretty-printed JSON.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪json_to_csv(input)
Convert an array of JSON objects to CSV.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "JSON array of flat objects."
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢csv_to_json(input)
Parse CSV text into a JSON array of objects.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪base64_encode(input)
UTF-8 text → Base64 string.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪base64_decode(input)
Base64 string → UTF-8 text.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪url_encode(input, mode)
Percent-encode a string (component or full URI mode).
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"mode": {
"default": "component",
"type": "string",
"enum": [
"component",
"uri"
]
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪url_decode(input, mode)
Decode percent-encoded URL text.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"mode": {
"default": "component",
"type": "string",
"enum": [
"component",
"uri"
]
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢sha256_hash(input)
Compute a SHA-256 hex digest of UTF-8 text.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢hash_text(input, algorithm)
Compute a SHA-1 / SHA-256 / SHA-512 hex digest of UTF-8 text.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"algorithm": {
"default": "SHA-256",
"type": "string",
"enum": [
"SHA-1",
"SHA-256",
"SHA-512"
]
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪uuid_generate(count)
Generate RFC 4122 v4 UUIDs.
输入模式
{
"type": "object",
"properties": {
"count": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 64
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪regex_test(pattern, flags, input, replacement)
Test a regular expression against input text and return matches with capture groups.
输入模式
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "Regex source, no surrounding slashes."
},
"flags": {
"default": "",
"description": "Flags, e.g. 'gi'.",
"type": "string"
},
"input": {
"type": "string"
},
"replacement": {
"description": "Optional replacement for String.replace.",
"type": "string"
}
},
"required": [
"pattern",
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪unix_timestamp_convert(input, unit, zone)
Convert a Unix timestamp (seconds or ms) to an ISO 8601 date string.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Numeric Unix timestamp as a string."
},
"unit": {
"default": "seconds",
"type": "string",
"enum": [
"seconds",
"milliseconds"
]
},
"zone": {
"default": "utc",
"type": "string",
"enum": [
"local",
"utc"
]
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪jwt_decode(token)
Decode a JWT header + payload. Does not verify the signature.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string"
}
},
"required": [
"token"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪sql_format(input, dialect, indent, keywordCase)
Pretty-print SQL.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"dialect": {
"default": "sql",
"type": "string",
"enum": [
"sql",
"postgresql",
"mysql",
"sqlite",
"bigquery",
"tsql",
"mariadb",
"plsql",
"db2",
"redshift",
"snowflake"
]
},
"indent": {
"default": "2",
"type": "string",
"enum": [
"2",
"4"
]
},
"keywordCase": {
"default": "upper",
"type": "string",
"enum": [
"upper",
"lower",
"preserve"
]
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪html_format(input, indent, printWidth)
Pretty-print HTML.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"indent": {
"default": "2",
"type": "string",
"enum": [
"2",
"4"
]
},
"printWidth": {
"default": 80,
"type": "integer",
"minimum": 20,
"maximum": 200
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪css_format(input, indent, printWidth)
Pretty-print CSS.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"indent": {
"default": "2",
"type": "string",
"enum": [
"2",
"4"
]
},
"printWidth": {
"default": 80,
"type": "integer",
"minimum": 20,
"maximum": 200
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪js_format(input, indent, printWidth, semi, singleQuote, ...)
Pretty-print JavaScript / TypeScript with Prettier.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"indent": {
"default": "2",
"type": "string",
"enum": [
"2",
"4"
]
},
"printWidth": {
"default": 80,
"type": "integer",
"minimum": 20,
"maximum": 200
},
"semi": {
"default": true,
"type": "boolean"
},
"singleQuote": {
"default": false,
"type": "boolean"
},
"parser": {
"default": "babel",
"type": "string",
"enum": [
"babel",
"babel-ts",
"typescript"
]
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪yaml_format(input, indent, lineWidth, sortKeys)
Pretty-print YAML.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"indent": {
"default": "2",
"type": "string",
"enum": [
"2",
"4"
]
},
"lineWidth": {
"default": 80,
"type": "integer",
"minimum": 20,
"maximum": 200
},
"sortKeys": {
"default": false,
"type": "boolean"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢cron_explain(expression)
Explain a cron expression in plain English.
输入模式
{
"type": "object",
"properties": {
"expression": {
"type": "string"
}
},
"required": [
"expression"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪env_redact(input)
Redact secrets (API keys, tokens, passwords) from logs / config / env text.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢csv_parse(input, delimiter, previewRows)
Parse CSV text into fields + preview rows with delimiter detection.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"delimiter": {
"default": "auto",
"type": "string",
"enum": [
"auto",
",",
";",
"\t",
"|"
]
},
"previewRows": {
"default": 50,
"type": "integer",
"minimum": 1,
"maximum": 500
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪csv_sort(input, column, mode, direction, delimiter)
Sort CSV rows by one column (alpha or numeric).
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"column": {
"type": "string"
},
"mode": {
"default": "alpha",
"type": "string",
"enum": [
"alpha",
"numeric"
]
},
"direction": {
"default": "asc",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"delimiter": {
"type": "string"
}
},
"required": [
"input",
"column"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪csv_filter(input, column, mode, value, caseSensitive)
Filter CSV rows by a column predicate (equals / contains / regex / gt / gte / lt / lte / not-empty).
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"column": {
"type": "string"
},
"mode": {
"default": "equals",
"type": "string",
"enum": [
"equals",
"contains",
"regex",
"gt",
"gte",
"lt",
"lte",
"not-empty"
]
},
"value": {
"default": "",
"type": "string"
},
"caseSensitive": {
"default": false,
"type": "boolean"
}
},
"required": [
"input",
"column"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪csv_split(input, mode, chunks, rowsPerChunk)
Split a CSV into N chunks or into files of N rows each.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"mode": {
"default": "byChunks",
"type": "string",
"enum": [
"byChunks",
"byRows"
]
},
"chunks": {
"default": 2,
"description": "Used when mode=byChunks.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"rowsPerChunk": {
"default": 100,
"description": "Used when mode=byRows.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢csv_statistics(input)
Compute per-column summary statistics (count, min, max, mean, median) over a CSV.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪text_diff(left, right, mode)
Diff two texts and return part-level changes plus a unified string.
输入模式
{
"type": "object",
"properties": {
"left": {
"type": "string"
},
"right": {
"type": "string"
},
"mode": {
"default": "words",
"type": "string",
"enum": [
"lines",
"words"
]
}
},
"required": [
"left",
"right"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪markdown_format(input, listMarker, trimTrailing, collapseBlankLines)
Normalize Markdown (list markers, trailing whitespace, blank lines).
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"listMarker": {
"default": "-",
"type": "string",
"enum": [
"-",
"*",
"+"
]
},
"trimTrailing": {
"default": true,
"type": "boolean"
},
"collapseBlankLines": {
"default": true,
"type": "boolean"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪markdown_to_html(input, gfm, breaks)
Convert Markdown to HTML.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"gfm": {
"default": true,
"type": "boolean"
},
"breaks": {
"default": false,
"type": "boolean"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪markdown_preview(input, gfm, breaks)
Render Markdown to an HTML preview fragment with word/char counts.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"gfm": {
"default": true,
"type": "boolean"
},
"breaks": {
"default": false,
"type": "boolean"
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪slug_generate(input, separator, lowercase, stripAccents, collapseRepeats, ...)
Generate a URL slug from a string.
输入模式
{
"type": "object",
"properties": {
"input": {
"type": "string"
},
"separator": {
"default": "-",
"type": "string",
"enum": [
"-",
"_"
]
},
"lowercase": {
"default": true,
"type": "boolean"
},
"stripAccents": {
"default": true,
"type": "boolean"
},
"collapseRepeats": {
"default": true,
"type": "boolean"
},
"maxLength": {
"default": 0,
"description": "0 = no limit.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"input"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪meta_tags_generate(title, description, url, imageUrl, siteName, ...)
Generate <title>, description, Open Graph and Twitter Card tags for a page.
输入模式
{
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"url": {
"default": "",
"type": "string"
},
"imageUrl": {
"default": "",
"type": "string"
},
"siteName": {
"default": "",
"type": "string"
},
"twitterHandle": {
"default": "",
"type": "string"
},
"locale": {
"default": "en_US",
"type": "string"
},
"type": {
"default": "website",
"type": "string",
"enum": [
"website",
"article",
"product"
]
},
"canonical": {
"default": "",
"type": "string"
},
"author": {
"default": "",
"type": "string"
}
},
"required": [
"title",
"description"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪og_preview_build(title, description, url, siteName, imageUrl)
Build an Open Graph preview metadata bundle (title / description / domain truncation).
输入模式
{
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"url": {
"default": "",
"type": "string"
},
"siteName": {
"default": "",
"type": "string"
},
"imageUrl": {
"default": "",
"type": "string"
}
},
"required": [
"title",
"description"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪color_convert(hex)
Convert a HEX color into RGB / HSL / HSV / CSS forms.
输入模式
{
"type": "object",
"properties": {
"hex": {
"type": "string",
"description": "HEX color, with or without leading #."
}
},
"required": [
"hex"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪css_gradient_build(angle, stops)
Build a CSS linear-gradient string from color stops + angle.
输入模式
{
"type": "object",
"properties": {
"angle": {
"default": 90,
"description": "Degrees; 0 = top-to-bottom.",
"type": "number"
},
"stops": {
"minItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"color": {
"type": "string"
},
"position": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"color",
"position"
]
}
}
},
"required": [
"stops"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪css_border_radius_build(tl, tr, br, bl)
Build a CSS border-radius value from four corner radii in px.
输入模式
{
"type": "object",
"properties": {
"tl": {
"default": 0,
"type": "number"
},
"tr": {
"default": 0,
"type": "number"
},
"br": {
"default": 0,
"type": "number"
},
"bl": {
"default": 0,
"type": "number"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪css_box_shadow_build(layers)
Build a CSS box-shadow value from one or more layers.
输入模式
{
"type": "object",
"properties": {
"layers": {
"minItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"offsetX": {
"default": 0,
"type": "number"
},
"offsetY": {
"default": 2,
"type": "number"
},
"blur": {
"default": 4,
"type": "number"
},
"spread": {
"default": 0,
"type": "number"
},
"color": {
"default": "#000000",
"type": "string"
},
"opacity": {
"default": 0.1,
"type": "number",
"minimum": 0,
"maximum": 1
},
"inset": {
"default": false,
"type": "boolean"
}
}
}
}
},
"required": [
"layers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢css_contrast_check(foreground, background)
Compute the WCAG contrast ratio between two colors and the AA/AAA verdict.
输入模式
{
"type": "object",
"properties": {
"foreground": {
"type": "string"
},
"background": {
"type": "string"
}
},
"required": [
"foreground",
"background"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据