data-transform
Cloudflare Workers MCP server: data-transform
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (3)
- LOWin flatten
- LOWin unflatten
- LOWin pick
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"data-transform": {
"url": "https://api.lazy-mac.com/data-transform/mcp"
}
}
}Remote-Endpunkte
https://api.lazy-mac.com/data-transform/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (10)
⚪json_to_csv(data, delimiter)
Convert a JSON array of objects to CSV text. Optionally specify a delimiter.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"description": "Array of objects to convert",
"items": {
"type": "object"
}
},
"delimiter": {
"type": "string",
"description": "CSV delimiter (default: comma)"
}
},
"required": [
"data"
]
}🟢csv_to_json(csv, delimiter)
Parse CSV text into a JSON array of objects.
Eingabe-Schema
{
"type": "object",
"properties": {
"csv": {
"type": "string",
"description": "CSV text to parse"
},
"delimiter": {
"type": "string",
"description": "CSV delimiter (default: comma)"
}
},
"required": [
"csv"
]
}⚪json_to_xml(data, rootName)
Convert a JSON object or array to XML string.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"description": "JSON data to convert to XML"
},
"rootName": {
"type": "string",
"description": "Root element name (default: root)"
}
},
"required": [
"data"
]
}⚪flatten(data)
Flatten a nested JSON object into dot-notation keys.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Nested object to flatten"
}
},
"required": [
"data"
]
}⚪unflatten(data)
Unflatten a dot-notation JSON object back into nested structure.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "Flat dot-notation object to unflatten"
}
},
"required": [
"data"
]
}🟢filter(data, query)
Filter a JSON array by a query object. Supports >, <, ! prefixes for comparisons.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"description": "Array of objects to filter",
"items": {
"type": "object"
}
},
"query": {
"type": "object",
"description": "Filter criteria (e.g. {\"age\":\">30\",\"status\":\"active\"})"
}
},
"required": [
"data",
"query"
]
}⚪pick(data, fields)
Pick specific fields from each object in a JSON array.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"description": "Array of objects",
"items": {
"type": "object"
}
},
"fields": {
"type": "array",
"description": "Field names to keep",
"items": {
"type": "string"
}
}
},
"required": [
"data",
"fields"
]
}⚪sort(data, field, order)
Sort a JSON array by a field.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"description": "Array of objects to sort",
"items": {
"type": "object"
}
},
"field": {
"type": "string",
"description": "Field name to sort by"
},
"order": {
"type": "string",
"enum": [
"asc",
"desc"
],
"description": "Sort order (default: asc)"
}
},
"required": [
"data",
"field"
]
}🟢stats(data, field)
Compute statistics (count, sum, mean, min, max, median) for a numeric field.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"description": "Array of objects",
"items": {
"type": "object"
}
},
"field": {
"type": "string",
"description": "Numeric field to compute stats for"
}
},
"required": [
"data",
"field"
]
}⚪validate(data)
Validate a JSON string and return type, size, or error.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "JSON string to validate"
}
},
"required": [
"data"
]
}Community
Nachweis