Skip to main content

markdown-json-excel-mcp

MCP Server:把 Markdown 表格 / JSON / CSV 数据转成 Excel 文件。

项目简介

这是一个基于 MCP(Model Context Protocol)的工具服务,可以把各种格式的表格数据转换成 Excel 文件。适用于需要快速生成 Excel 报表的场景,比如数据导出、报表生成、批量表格处理等。

功能列表

工具 功能
json_to_excel JSON 数组 / 对象转 Excel
markdown_table_to_excel Markdown 表格转 Excel
text_to_excel CSV / TSV 文本转 Excel

部署指南

本地测试

# 安装依赖
pip install markdown-json-excel-mcp

# 运行(stdio 模式)
markdown-json-excel-mcp

MCP 客户端配置

{
  "mcpServers": {
    "markdown-json-excel": {
      "command": "uvx",
      "args": ["markdown-json-excel-mcp"]
    }
  }
}

使用示例

JSON 转 Excel

输入:

[
  {"姓名": "张三", "年龄": 25, "城市": "杭州"},
  {"姓名": "李四", "年龄": 30, "城市": "绍兴"}
]

输出:Excel 已生成:/tmp/excel_output/output_xxx.xlsx,共 2 行 3 列

Markdown 表格转 Excel

输入:

| 产品 | 销量 | 单价 |
|------|------|------|
| 制冷 | 120 | 2500 |
| 电子 | 80  | 1500 |

输出:Excel 已生成:/tmp/excel_output/output_xxx.xlsx,共 2 行 3 列

CSV 转 Excel

输入:

日期,销售额,订单数
2024-01,120000,320
2024-02,150000,410

输出:Excel 已生成:/tmp/excel_output/output_xxx.xlsx,共 2 行 3 列

Metadata

Release files for markdown-json-excel-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for markdown-json-excel-mcp 0.3.0
File Size Uploaded Provenance Actions
markdown_json_excel_mcp-0.3.0.tar.gz 4.3 kB Without provenance Details for markdown_json_excel_mcp-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for markdown-json-excel-mcp 0.3.0
File Interpreter ABI Platform Actions
markdown_json_excel_mcp-0.3.0-py3-none-any.whl Python 3 none any Details for markdown_json_excel_mcp-0.3.0-py3-none-any.whl

Total release size: 9.3 kB

Release files / markdown_json_excel_mcp-0.3.0.tar.gz

Download URL markdown_json_excel_mcp-0.3.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
adcd4346646f59ccdd61a18ec0b59c8de3da446e896862447c4a4534387cc728
BLAKE2b-256 checksum
How to use checksums
ab07732a77aafb0fdb863dc5f8a5a47ea203e54d14d8d6bdb0b54bd9783a2e7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / markdown_json_excel_mcp-0.3.0-py3-none-any.whl

Download URL markdown_json_excel_mcp-0.3.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7390f008451dca3ed20938d32a39c55bce0f39d435b0d98b15d43336ec4b55d
BLAKE2b-256 checksum
How to use checksums
c3adc8a20a06fe1dd4e4bd480accc8190b3c78641f084d06b8447c1869d1e1e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for markdown-json-excel-mcp 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page