WorkbookAPI

com.workbookapi由 workbookapi.com 發布v0.1.2更新於 Nov 7, 2026

Check and calculate local Excel workbooks with AI agents. Files stay on your machine.

已驗證STDIO僅桌面檔案與儲存資料與分析

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理在使用者電腦上檢查、驗證並重算 Excel 活頁簿,不必上傳檔案。

可以做什麼
  • 檢視活頁簿的工作表、已用範圍、定義名稱與日期系統,方便挑選輸入與輸出
  • 比對重算公式與 Excel 儲存值,列出不一致項目與原因
  • 以本機活頁簿修改常數輸入,計算單一情境的指定輸出
  • 在一次呼叫中比較同一活頁簿的多組輸入,回傳數值、錯誤與耗時
適用情境
適合需要信任或探索試算表模型的情況:確認儲存值與重算公式是否相符、對常數做情境分析,或在選定輸入輸出前先了解活頁簿結構。
執行需求
透過 npx 從 npm 套件 workbookapi-mcp 在使用者電腦上以本機程序執行,僅限桌面端,不支援網頁執行。未宣告驗證、環境變數或標頭。
安裝前請注意
結果取決於活頁簿本身的日期系統與公式支援程度,依賴計算值前應先查看回傳的功能旗標、略過筆數與不一致項目。檔案留在本機,但助理會看到工具回傳的數值與錯誤。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 WorkbookAPI,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

工具

4

check_workbook

Use before trusting a workbook's calculations to compare recalculated formulas with Excel's saved values. Returns compared/matching totals, up to 200 mismatches with formula, saved/recalculated values and cause, feature flags, skipped counts, the workbook's dateSystem ("1900" or "1904"), and load/recalculation milliseconds. Dates are serial numbers in the workbook's date system. Above the 20000-byte response budget, mismatch details are shortened with an explicit message and totals retained. Only eligible cached formulas are compared; a matching check does not cover skipped cells or unsupported features.

輸入參數path必填

describe_workbook

Use to discover sheets, used ranges, defined names and the workbook's dateSystem ("1900" or "1904") before choosing inputs and outputs. Dates are serial numbers in the workbook's date system. Names include values up to 100 cells, or range address and dimensions for larger blocks (expression arrays have a null address). Pass sheet for referenced constant or blank inputs and terminal formula outputs. Lists are capped at 100 entries. Above the 20000-byte response budget including both copies, named values are omitted with valuesOmitted: true; discovery lists may be shortened with an explicit message. Static discovery can miss dynamic or structured references.

輸入參數path必填sheet

calculate

Use to calculate one scenario from a local workbook with changed constant inputs and selected cells, ranges or defined names as outputs. Returns full-precision numbers, strings, booleans, null for direct blanks and {error: code} for spreadsheet errors; named references to blanks return 0, dates are serial numbers in the workbook's date system and ranges are arrays of rows. Each call starts from the original workbook and includes compatibility warnings; formula cells cannot be inputs. Responses are capped at 20000 bytes including both copies; oversized results return an explicit error.

輸入參數path必填inputs必填outputs必填

run_scenarios

Use to compare many input sets for the same workbook and outputs in one call. Returns indexed rows with values or errors, warnings and elapsed milliseconds. Dates are serial numbers in the workbook's date system. Each scenario starts from the original workbook and all its outputs share one recalculation. Runs stop at 10,000 scenarios, 100,000 output values, 20000 bytes including both response copies, cancellation or the time budget (55 seconds, with a 60-second hard deadline), reporting completed count and truncation. An engine crash during a scenario adds an error row counted in completed and stops the run; a crash before scenarios start returns an error. Resume by sending scenarios.slice(completed); check truncationReason before retrying and reduce outputs for output limits.

輸入參數path必填outputs必填scenarios必填

版本歷史

3
  1. v0.1.2最新Nov 5, 2026
  2. v0.1.1Oct 31, 2026
  3. v0.1.0Oct 26, 2026

評分

已滿足適用檢查項的 65%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。