file-conversion
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
file-conversion
A small library + CLI + MCP server for converting between everyday file formats. Built primarily for Claude Desktop to call during other workflows, but usable directly from the command line.
Currently supports:
CSV → Excel (
.csv→.xlsx, one sheet)Excel → CSV per sheet (
.xlsx→ one.csvper sheet in an output directory)Markdown → Word (
.md→.docx, via pandoc)Markdown → Word, GxP template — same as above, plus a version-history table, a definitions table, and a footer with title and version on every page
See requirements/requirements.md for the CLI spec and requirements/mcp.md for the MCP server spec.
Quick start
1. System dependency
The markdown → Word converters use pandoc. Install once:
brew install pandoc2. Virtual environment
python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"3. Smoke test
.venv/bin/file-conversion --helpRelated MCP server: doc-ops-mcp
CLI usage
file-conversion COMMAND [ARGS]...
Commands:
csv-to-xlsx CSV_PATH XLSX_PATH [--sheet-name NAME]
xlsx-to-csvs XLSX_PATH OUTPUT_DIR
md-to-docx MD_PATH DOCX_PATH [--landscape]
md-to-docx-gxp MD_PATH DOCX_PATH [--title TEXT] [--version TEXT] [--landscape]md-to-docx-gxp reads optional YAML frontmatter from the markdown to populate
the version table and definitions table. CLI flags --title and --version
override frontmatter when provided. See requirements/requirements.md for the
frontmatter schema.
--landscape sets Letter landscape page orientation (11" × 8.5") on both
markdown → Word commands — useful for documents with wide tables. Without it,
pandoc's page setup is left untouched and Word applies its default portrait
page.
.venv/bin/file-conversion md-to-docx wide-tables.md wide-tables.docx --landscape
.venv/bin/file-conversion md-to-docx-gxp sop.md sop.docx --landscapeMCP server
python -m file_conversion.mcp_server exposes the same four conversions as MCP
tools over stdio. Add it to your Claude Desktop config as a regular MCP server.
Both markdown → Word tools take a landscape: bool = False argument matching
the CLI flag.
Contributing
See CONTRIBUTING.md for how to set up a dev environment,
run the tests, and submit a pull request.
License
Apache License 2.0 — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Generate PDF, Word (.docx) and PowerPoint (.pptx) documents from Markdown over MCP.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for seamless document format conversion using Pandoc, supporting Markdown, HTML, PDF, DOCX (.docx), csv and more.1587MIT
- AlicenseBqualityDmaintenanceA universal MCP server for document processing, conversion, and automation. Handle PDF, DOCX, HTML, Markdown, and more through a unified API and toolset.1318 npm140MIT
- AlicenseAqualityDmaintenanceMCP server for reading, writing, editing, formatting, and exporting Microsoft Office documents (Word, Excel, PowerPoint) via stdio JSON-RPC, with 47 tools and cross-platform support.472MIT
- AlicenseAqualityDmaintenanceA secure MCP server for converting documents between Markdown, DOCX, HTML, PDF, and TXT formats within a sandboxed working directory.3MIT