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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| markdown_json_excel_mcp-0.2.0.tar.gz | 3.9 kB | Without provenance | Details for markdown_json_excel_mcp-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| markdown_json_excel_mcp-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for markdown_json_excel_mcp-0.2.0-py3-none-any.whl |
Total release size: 8.5 kB
Release files / markdown_json_excel_mcp-0.2.0.tar.gz
| Download URL | markdown_json_excel_mcp-0.2.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
710b40e1c8e34b129124dda66f544aa0f4619df4973a63560436ca2d7b2269df
|
|
BLAKE2b-256 checksum How to use checksums |
d6dd77a3479a71e42c272df57ee42921a6c502703ae7760254b8daf6eaca1bb5
|
| 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.2.0-py3-none-any.whl
| Download URL | markdown_json_excel_mcp-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b7c1e55853e1e78778910055b0144d6debed66e4420a9faf4370248af11f42a
|
|
BLAKE2b-256 checksum How to use checksums |
e5287b05a4d2b4eb41f97511ab127ded122cffeddf36ef35ae2b31b877a66315
|
| 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.2.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.