SheetShift

Convert and clean tables: CSV, JSON, dedupe, stats. Free.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
100%
命名品質
85%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,510Token(工具定義)
~3.2 KB典型回應大小
中等的注意力影響(128k 上下文的 1.18%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "sheet-shift": {
      "url": "https://sheet-shift.magicteams.ai/mcp"
    }
  }
}

遠端端點

https://sheet-shift.magicteams.ai/mcpstreamable-http

它能做什麼

工具清單

工具(4)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢convert_table(data, from_format, to_format)

Convert a table from CSV, TSV or JSON into CSV, TSV, JSON (array of objects) or a Markdown table. Cell values are kept as text. Use when the user wants the same table in another format. Do NOT use to trim, dedupe or drop rows; use clean_table.

輸入結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "type": "string",
      "minLength": 1,
      "description": "The whole table as text, first row = header. CSV/TSV text (quoted cells allowed), or a JSON array of flat objects, e.g. \"name,age\\nAsha,30\"."
    },
    "from_format": {
      "type": "string",
      "enum": [
        "csv",
        "tsv",
        "json"
      ],
      "description": "Format of the input 'data': csv, tsv or json."
    },
    "to_format": {
      "type": "string",
      "enum": [
        "csv",
        "tsv",
        "json",
        "markdown"
      ],
      "description": "Output format: csv, tsv, json (array of objects keyed by header) or markdown (pipe table)."
    }
  },
  "required": [
    "data",
    "from_format",
    "to_format"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The converted table as text in to_format."
    },
    "rows": {
      "type": "integer",
      "description": "Number of data rows (excluding the header)."
    },
    "columns": {
      "type": "integer",
      "description": "Number of columns in the header row."
    }
  },
  "required": [
    "text",
    "rows",
    "columns"
  ]
}
🟢clean_table(data, format, trim, drop_empty_rows, dedupe)

Clean a table: trim whitespace in cells, drop fully empty rows, and optionally remove duplicate rows; returns the table in the same format with before/after row counts. Use when preparing messy pasted data. Do NOT use to change format; use convert_table.

輸入結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "type": "string",
      "minLength": 1,
      "description": "The whole table as text, first row = header. CSV/TSV text (quoted cells allowed), or a JSON array of flat objects, e.g. \"name,age\\nAsha,30\"."
    },
    "format": {
      "type": "string",
      "enum": [
        "csv",
        "tsv",
        "json"
      ],
      "description": "Format of 'data' and of the returned table: csv, tsv or json. Default csv."
    },
    "trim": {
      "type": "boolean",
      "description": "Trim leading/trailing whitespace in every cell. Default true."
    },
    "drop_empty_rows": {
      "type": "boolean",
      "description": "Remove rows whose cells are all empty. Default true."
    },
    "dedupe": {
      "type": "boolean",
      "description": "Remove exact duplicate data rows, keeping the first. Default false."
    }
  },
  "required": [
    "data"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The cleaned table as text in the input format."
    },
    "rows_before": {
      "type": "integer",
      "description": "Data rows before cleaning (excluding header)."
    },
    "rows_after": {
      "type": "integer",
      "description": "Data rows after cleaning (excluding header)."
    }
  },
  "required": [
    "text",
    "rows_before",
    "rows_after"
  ]
}
🟢column_stats(data, format, column, op)

Compute one statistic over a single column: sum, avg, min or max (numeric, rounded to 2 dp, blanks ignored), count of non-empty cells, or the sorted distinct values. Use for quick answers like 'total of the price column'. Do NOT use to reshape the table; use split_column or convert_table.

輸入結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "type": "string",
      "minLength": 1,
      "description": "The whole table as text, first row = header. CSV/TSV text (quoted cells allowed), or a JSON array of flat objects, e.g. \"name,age\\nAsha,30\"."
    },
    "format": {
      "type": "string",
      "enum": [
        "csv",
        "tsv",
        "json"
      ],
      "description": "Format of 'data' and of the returned table: csv, tsv or json. Default csv."
    },
    "column": {
      "type": "string",
      "minLength": 1,
      "description": "Column to use: the exact header name (case-sensitive), or a 0-based column index as digits, e.g. \"price\" or \"2\"."
    },
    "op": {
      "type": "string",
      "enum": [
        "sum",
        "avg",
        "min",
        "max",
        "count",
        "distinct"
      ],
      "description": "Statistic: sum, avg, min, max (column must be numeric), count (non-empty cells) or distinct (unique values)."
    }
  },
  "required": [
    "data",
    "column",
    "op"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "column": {
      "type": "string",
      "description": "Header name of the column that was analysed."
    },
    "op": {
      "type": "string",
      "description": "The statistic that was computed."
    },
    "result": {
      "description": "Numeric result for sum/avg/min/max/count, or a sorted array of distinct string values for distinct.",
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    }
  },
  "required": [
    "column",
    "op",
    "result"
  ]
}
🟢split_column(data, format, column, delimiter, new_names)

Split one column into several columns on a delimiter (e.g. 'full name' on a space), inserted in place; short rows are padded with empty cells. Returns the table in the same format. Use when one column packs several values. Do NOT use to clean or change format; use clean_table or convert_table.

輸入結構描述

{
  "type": "object",
  "properties": {
    "data": {
      "type": "string",
      "minLength": 1,
      "description": "The whole table as text, first row = header. CSV/TSV text (quoted cells allowed), or a JSON array of flat objects, e.g. \"name,age\\nAsha,30\"."
    },
    "format": {
      "type": "string",
      "enum": [
        "csv",
        "tsv",
        "json"
      ],
      "description": "Format of 'data' and of the returned table: csv, tsv or json. Default csv."
    },
    "column": {
      "type": "string",
      "minLength": 1,
      "description": "Column to use: the exact header name (case-sensitive), or a 0-based column index as digits, e.g. \"price\" or \"2\"."
    },
    "delimiter": {
      "type": "string",
      "minLength": 1,
      "description": "Literal text to split on, e.g. \" \", \"-\" or \"|\"."
    },
    "new_names": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Header names for the new columns; count must equal the maximum number of parts. Default <column>_1, <column>_2, ..."
    }
  },
  "required": [
    "data",
    "column",
    "delimiter"
  ]
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The resulting table as text in the input format."
    },
    "parts": {
      "type": "integer",
      "description": "Number of new columns the split produced."
    }
  },
  "required": [
    "text",
    "parts"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具