io.github.lazymac2x/data-transform
Cloudflare Workers MCP server: data-transform
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http data-transform 'https://api.lazy-mac.com/data-transform/mcp'
{
"mcpServers": {
"data-transform": {
"type": "http",
"url": "https://api.lazy-mac.com/data-transform/mcp"
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
data-transform-api
⭐ Building in public from $0 MRR. Star if you want to follow the journey — lazymac-mcp (42 tools, one MCP install) · lazymac-k-mcp (Korean wedge) · lazymac-sdk (TS client) · api.lazy-mac.com · Pro $29/mo.
🚀 Want all 42 lazymac tools through ONE MCP install?
npx -y @lazymac/mcp· Pro $29/mo for unlimited calls.
Data transformation API — convert between JSON, CSV, XML. Flatten, filter, sort, pick fields, compute stats, and validate data. Zero dependencies beyond Express.
Quick Start
npm install && npm start # http://localhost:3600
Endpoints
Convert
# JSON → CSV
curl -X POST http://localhost:3600/api/v1/json-to-csv \
-H "Content-Type: application/json" \
-d '{"data": [{"name":"Alice","age":30},{"name":"Bob","age":25}]}'
# CSV → JSON
curl -X POST http://localhost:3600/api/v1/csv-to-json \
-H "Content-Type: application/json" \
-d '{"csv": "name,age\nAlice,30\nBob,25"}'
# JSON → XML
curl -X POST http://localhost:3600/api/v1/json-to-xml \
-H "Content-Type: application/json" \
-d '{"data": {"user": {"name": "Alice", "age": 30}}, "rootName": "response"}'
Transform
# Flatten nested JSON
curl -X POST http://localhost:3600/api/v1/flatten \
-H "Content-Type: application/json" \
-d '{"data": {"user": {"name": "Alice", "address": {"city": "Seoul"}}}}'
# → {"user.name": "Alice", "user.address.city": "Seoul"}
# Unflatten
curl -X POST http://localhost:3600/api/v1/unflatten \
-H "Content-Type: application/json" \
-d '{"data": {"user.name": "Alice", "user.age": 30}}'
# Filter (supports >, <, !)
curl -X POST http://localhost:3600/api/v1/filter \
-H "Content-Type: application/json" \
-d '{"data": [{"name":"Alice","age":30},{"name":"Bob","age":25}], "query": {"age": ">26"}}'
# Pick specific fields
curl -X POST http://localhost:3600/api/v1/pick \
-H "Content-Type: application/json" \
-d '{"data": [{"name":"Alice","age":30,"email":"a@b.c"}], "fields": ["name","age"]}'
# Sort
curl -X POST http://localhost:3600/api/v1/sort \
-H "Content-Type: application/json" \
-d '{"data": [{"name":"Bob","age":25},{"name":"Alice","age":30}], "field": "name"}'
# Stats
curl -X POST http://localhost:3600/api/v1/stats \
-H "Content-Type: application/json" \
-d '{"data": [{"score":85},{"score":92},{"score":78}], "field": "score"}'
# → {"count":3, "sum":255, "mean":85, "min":78, "max":92, "median":85}
# Validate JSON
curl -X POST http://localhost:3600/api/v1/validate \
-H "Content-Type: application/json" \
-d '{"data": {"valid": true}}'
License
MIT
💡 Host your own stack? Get $200 DigitalOcean credit via lazymac referral link.
Questions fréquentes
Qu'est-ce que io.github.lazymac2x/data-transform ?
Cloudflare Workers MCP server: data-transform
Comment installer io.github.lazymac2x/data-transform ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http data-transform 'https://api.lazy-mac.com/data-transform/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.lazymac2x/data-transform ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
io.github.lazymac2x/data-transform est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient io.github.lazymac2x/data-transform ?
Il est publié par lazymac2x. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.