TianshangScribe v0.1.1
TianshangScribe v0.1.1
Cross-platform CLI Office document processing tool with LaTeX math & MCP Server.
Features
Word — LaTeX style markup (18 commands), OMML math formulas (120+ symbols), template filling with loops, TOC generation, headers/footers, watermarks, markdown/HTML export
Excel — CSV import/export, formula writing, data sorting, charts (bar/line/pie), JSON/HTML export, sheet management, password protection
PPT — Slide management, layout control, speaker notes, 17 transition types, OMML math rendering, image export (via LibreOffice)
LaTeX Engine — Recursive descent parser, nested style commands, auto-detection of math without $ wrappers, CJK+Western font separation, math typography (AMS/Elsevier/Springer standard)
MCP Server — 5 tools via stdio JSON-RPC, zero external MCP dependency, structured error codes, dry_run/backup options, Agent-ready content block format
Pipeline — stdin/stdout, file merge/split, auto type detection, exit codes 0/1/2/3
Deliverables
| File | Size | Description |
|---|---|---|
tianshang-scribe.exe |
34.7 MB | Standalone Windows executable |
tianshang_scribe-0.1.1-py3-none-any.whl |
45 KB | Python wheel |
Install
pip install tianshang-scribe
# or
git clone https://github.com/Tianshang301/TianshangScribe.git
cd TianshangScribe && pip install -e ".[dev]"Quick Test
tianshang-scribe -w --create --math '\frac{a}{b}' -o test.docx
tianshang-scribe -e --create -a Name -a Alice --to-json -o out.json
tianshang-scribe -p --create --slide-add --transition fade -o deck.pptxMCP Usage
{
"mcpServers": {
"tianshang-scribe": {
"command": "python",
"args": ["-m", "mcp.server"]
}
}
}Quality
- 160 tests · ruff · mypy · CI (9 matrix: 3 OS x 3 Python)
- AGENTS.md compliance: ~87% (Phase 1: 100%, Phase 2: ~67%)
- Apache-2.0 license