MCP Catalogs
首页

bilig

by proompteng·23·综合分 43

通过MCP提供电子表格工具的公式工作簿运行时,适用于Node.js服务和代理工具。

developer-toolsai-llmproductivity
16
Forks
22
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Bilig 是一个基于 TypeScript 的公式工作簿运行时,通过模型上下文协议 (MCP) 提供电子表格功能。它允许 Node.js 服务和 AI 代理以编程方式创建、编辑和计算电子表格,无需浏览器或 Excel 实例。该服务器提供单元格操作、公式重新计算、数据持久化和计算结果验证等工具。对于需要在自动化系统中进行精确电子表格计算的场景特别有用。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:用于财务计算和预算验证的代理工具
:具有类电子表格公式的高级定价引擎
:自动化数据验证和转换工作流程
:这与Excel自动化有何不同?
:它可以处理哪些文件格式?

什么时候选它

当您需要在 Node.js 服务或代理工具中需要类似电子表格的计算、公式验证和持久化功能,而不是可视化编辑时,选择 bilig。

什么时候不要选它

如果您需要可视化电子表格编辑、Office 宏兼容性或桌面 Excel 自动化,请不要选择 bilig - 它仅适用于无头的、编程式的用例。

此 server 暴露的工具

从 README 抽取出 7 个工具
  • list_sheets

    List all sheets in the workbook

  • read_range

    Read a range of cells from a sheet

  • read_cell

    Read the value of a specific cell

  • set_cell_contents

    Set the contents of a specific cell

  • get_cell_display_value

    Get the display value of a cell after calculation

  • export_workpaper_document

    Export the workbook as a serialized document

  • validate_formula

    Validate a formula before adding it to a cell

可对比工具

sheetjs-mcpexceljsopenpyxlgooglesheets-api

安装

安装包:

npm install @bilig/headless bilig-workpaper-mcp

启动 MCP 服务器:

bilig-workpaper-mcp

对于 Claude Desktop,将其添加到您的 mcp.json

{
  "mcpServers": {
    "bilig-workpaper": {
      "command": "bilig-workpaper-mcp",
      "args": []
    }
  }
}

FAQ

这与Excel自动化有何不同?
Bilig 纯粹在 Node.js 中运行,不需要 Excel 或浏览器,适合无服务器环境和自动化工作流程。它提供对电子表格计算的可编程访问,而不是UI自动化。
它可以处理哪些文件格式?
它主要使用 JSON 序列化的工作簿工作,但通过 '@bilig/headless/xlsx' 子路径包提供可选的 XLSX 导入/导出功能。

Hacker News 讨论

开发者社区最近的相关讨论。

bilig 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。