awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
iOfficeAI avatar

iOfficeAI/OfficeCLI

0
View on GitHub↗
8,092 stars·596 forks·C#·Apache-2.0·9 viewsofficecli.ai↗

OfficeCLI

OfficeCLI is a headless office suite and automation tool designed for programmatically reading, editing, and generating Microsoft Office documents. It functions as an OOXML manipulation library and a document templating engine, providing a standalone binary that allows for the management of Word, Excel, and PowerPoint files without requiring a local installation of office software.

The project distinguishes itself by exposing document operations as tools for AI agents via a JSON-RPC server and the Model Context Protocol. It enables advanced customization through raw XML manipulation using XPath and provides a serialization system that dumps document subtrees into replayable JSON batches.

The tool covers a broad range of capabilities, including programmatic spreadsheet engineering with formula evaluation and pivot table generation, as well as comprehensive word processing tasks such as style management, revision tracking, and multilingual text formatting. It also includes utilities for data visualization, content extraction into structured JSON or high-fidelity HTML, and the merging of JSON data into predefined templates for automated report generation.

Features

  • AI Agent Interfaces - Exposes document manipulation operations as tools for AI agents via a JSON-RPC server and MCP.
  • Office Document Tools - Provides a comprehensive set of tools for programmatically creating, processing, and manipulating Microsoft Office document formats.
  • MCP Protocol Integrations - Exposes document manipulation operations as standardized tools for AI agents using the Model Context Protocol.
  • XML Structure Customization - Enables advanced customization of office files through direct raw XML manipulation using XPath.
  • Automated Report Generators - Generates structured business reports by merging JSON data into predefined document templates.
  • Dynamic Document Formatting - Applies complex styles and structural changes to Word documents programmatically.
  • Excel Spreadsheet Management - Implements full lifecycle management of Excel files, including programmatic editing of worksheets, formulas, and charts.
  • Headless Office Suites - Functions as a standalone binary for managing spreadsheets, presentations, and documents without requiring local office software.
  • Office Automation Tools - Provides a command line tool designed to automate the reading, editing, and generation of Microsoft Office files.
  • Office Document Generation - Generates new blank or predefined Word, Excel, and PowerPoint files from scratch.
  • Paragraph Management - Provides tools for creating, inserting, and removing block-level paragraph containers in documents.
  • Spreadsheet Cell Manipulators - Provides utilities for programmatically reading, adding, and modifying cell values, formulas, and formatting.
  • Table Management - Offers full programmatic control over the creation, deletion, and formatting of document tables.
  • Worksheet Organization - Supports the programmatic creation, renaming, and deletion of individual worksheets within a spreadsheet file.
  • Document Templating Systems - Ships a templating engine that merges JSON data into predefined document templates for automated report generation.
  • Existing Document Modification - Edits text, fonts, colors, layout, formulas, charts, and images within existing office files.
  • OOXML Schema Manipulations - Allows direct programmatic modification of the underlying XML structure of Office Open XML documents.
  • Content Extraction - Extracts text, structure, styles, and formulas from office files into plain text or structured JSON.
  • Document Structure Export - Dumps document subtrees into replayable JSON batches to enable imitation and automated variation generation.
  • Raw XML Editors - Provides the ability to read and update the underlying XML structure of document parts for advanced customization.
  • Single-Binary Distributions - Bundles all necessary dependencies into a standalone executable to operate without local office software installations.
  • XPath-Based XML Document Manipulation - Directly reads and modifies the underlying XML structure of document parts using XPath for advanced customization.
  • JSON-RPC Implementations - Implements a JSON-RPC server to expose document operations as tools for integration with external AI agents.
  • Spreadsheet Formula Engines - Provides a calculation engine that evaluates built-in spreadsheet functions and dynamic arrays without external software.
  • Style Management - Provides a system for defining and applying consistent named styles to paragraphs, characters, and tables.
  • Replayable JSON Batches - Dumps document subtrees into replayable JSON batches to enable imitation and automated variation generation.
  • Character-Level Styling - Changes the content and character-level styling of text segments to update fonts, sizes, or weights.
  • Chart Embeddings - Creates, modifies, and removes embedded charts while configuring types, data series, and styling.
  • Chart Insertions - Provides the capability to build and embed various chart types into spreadsheets.
  • Document Content Controls - Adds, modifies, and queries structured content controls to automate text replacement and metadata tagging.
  • Document Element Reorganization - Allows adding, removing, moving, or copying elements within a single document or across different office files.
  • Floating Textbox Management - Allows creating, reading, modifying, and deleting floating textboxes with precise control over geometry, fills, and rotation.
  • Paragraph Querying - Provides the ability to filter paragraphs based on styles, alignment, list levels, and text content.
  • Spreadsheet Element Deletion - Removes cells, rows, or columns and identifies potential formula reference errors.
  • Spreadsheet Charting - Generates standard data visualizations like bar, line, and pie charts directly within spreadsheet files.
  • Bookmark Managers - Provides tools for creating, renaming, and removing named anchors to mark specific document locations.
  • Document Generation Templates - Populates standardized document templates with JSON data to produce consistent, formatted reports.
  • Document Watermarking - Allows placing text overlays behind page content to create watermarks for branding or security.
  • Header and Footer Management - Provides comprehensive control over the creation, modification, and removal of document header and footer sections.
  • Element Insertion - Enables the insertion of formatted paragraphs and images into document header and footer sections.
  • Row and Column Manipulations - Allows structural restructuring of spreadsheets by manipulating rows and columns through a synthesized axis.
  • Coordinate Axis Synthesis - Uses a synthesized coordinate axis to manipulate spreadsheet columns and rows independently of implicit document structures.
  • Template-Based Reports - Generates consistent reports by replacing predefined placeholders in document templates with structured JSON data.
  • Content Change Tracking - Tracks document changes, including insertions and deletions, with author and date attribution.
  • Worksheet Data Extraction - Isolates and extracts content and attributes from specific spreadsheet worksheets.
  • Structured Spreadsheet Tables - Enables the programmatic creation, modification, and removal of formal structured tables and their styling within spreadsheets.
  • Pivot Table Aggregators - Generates native pivot tables from source ranges with multi-field aggregations and custom layouts.
  • Table Data Retrieval - Allows retrieving specific rows or ranges by filtering for column headers, values, and logical conditions.
  • Tabular Data Sorting - Implements operations for ordering rows in a worksheet based on specific column values and directions.
  • Data Querying - Allows searching for spreadsheet cells using value matches, data types, formulas, and text-based selectors.
  • Revision Finalization - Provides mechanisms to commit or discard tracked changes across the entire file or specific targets.
  • Document Object Embedding - Enables embedding and extracting binary objects, charts, and diagrams within document layouts.
  • Image Insertion Utilities - Provides utilities for inserting inline or floating images with configurable dimensions and text-wrapping.
  • AI Agent Tool Interfaces - Exposes document manipulation operations as tools for AI agents via a JSON-RPC server.
  • Fillable Form Fields - Adds text inputs, checkboxes, and dropdown menus to create fillable office documents.
  • Right-To-Left Support - Configures right-to-left and left-to-right reading directions for sections, tables, and paragraphs.
  • Conditional Formatting - Provides capabilities to change the visual appearance of spreadsheet cells based on their values or specific thresholds.
  • HTML-to-Image Converters - Converts document files into high-fidelity HTML or PNG screenshots for visual inspection of layouts.
  • HTML Document Renderers - Converts complex office document layouts into high-fidelity HTML or PNG formats for visual inspection.
  • Spreadsheet Row Sorting - Reorders rows based on specified columns and directions while optionally preserving a header row.
  • General Productivity Tools - Command line interface for manipulating office documents.

Star history

Star history chart for iofficeai/officecliStar history chart for iofficeai/officecli

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does iofficeai/officecli do?

OfficeCLI is a headless office suite and automation tool designed for programmatically reading, editing, and generating Microsoft Office documents. It functions as an OOXML manipulation library and a document templating engine, providing a standalone binary that allows for the management of Word, Excel, and PowerPoint files without requiring a local installation of office software.

What are the main features of iofficeai/officecli?

The main features of iofficeai/officecli are: AI Agent Interfaces, Office Document Tools, MCP Protocol Integrations, XML Structure Customization, Automated Report Generators, Dynamic Document Formatting, Excel Spreadsheet Management, Headless Office Suites.

What are some open-source alternatives to iofficeai/officecli?

Open-source alternatives to iofficeai/officecli include: open-xml-templating/docxtemplater — Docxtemplater is an office document generation engine designed to automate the creation of personalized business… python-openxml/python-docx — python-docx is an OOXML document manipulation library used for creating, reading, and updating Microsoft Word files.… haris-musa/excel-mcp-server — This project is a Model Context Protocol server that provides an interface for AI agents to programmatically create,… unidoc/unioffice — unioffice is a comprehensive document processing suite that provides a PDF document processor, an Open XML document… jmcnamara/xlsxwriter — XlsxWriter is a library for generating spreadsheets in the XLSX format, functioning as an Excel workbook writer and… negokaz/excel-mcp-server — This project is a Model Context Protocol server that enables artificial intelligence assistants to interact directly…

Open-source alternatives to OfficeCLI

Similar open-source projects, ranked by how many features they share with OfficeCLI.
  • open-xml-templating/docxtemplateropen-xml-templating avatar

    open-xml-templating/docxtemplater

    3,592View on GitHub↗

    Docxtemplater is an office document generation engine designed to automate the creation of personalized business documents, presentations, and spreadsheets. By manipulating the underlying XML structure of office files, the framework replaces placeholders within pre-designed templates with dynamic data, enabling the programmatic production of reports, invoices, and complex data-driven documents. The project distinguishes itself through a modular extension architecture that allows developers to integrate custom logic for handling images, charts, and specialized formatting. It supports advanced

    JavaScriptdocxdocx-generationdocx-generator
    View on GitHub↗3,592
  • python-openxml/python-docxpython-openxml avatar

    python-openxml/python-docx

    5,442View on GitHub↗

    python-docx is an OOXML document manipulation library used for creating, reading, and updating Microsoft Word files. It functions as a generator for building formatted documents and a parser for extracting text, metadata, and structural elements from existing files. The project provides a comprehensive style management system for defining and applying character, paragraph, and table styles within OpenXML documents. It allows for the programmatic control of document appearance through an object-oriented approach to the underlying XML schema. Capabilities cover a wide range of document generat

    Python
    View on GitHub↗5,442
  • haris-musa/excel-mcp-serverharis-musa avatar

    haris-musa/excel-mcp-server

    3,940View on GitHub↗

    This project is a Model Context Protocol server that provides an interface for AI agents to programmatically create, read, and modify Excel workbooks. It serves as a bridge that enables large language models to perform spreadsheet automation and data visualization. The server allows AI agents to generate native Excel charts and pivot tables from raw data, transforming structured information into visual summaries. It provides a mechanism for remote spreadsheet management through a protocol-based connectivity layer. The system covers a broad range of spreadsheet manipulation capabilities, incl

    Python
    View on GitHub↗3,940
  • unidoc/uniofficeunidoc avatar

    unidoc/unioffice

    4,809View on GitHub↗

    unioffice is a comprehensive document processing suite that provides a PDF document processor, an Open XML document library, a document security toolkit, and a document content extractor. It is designed to programmatically create, read, and modify Word, Excel, and PowerPoint files, as well as generate and edit PDF documents. The project is distinguished by its native language implementation of the Open XML standard, which removes native binary dependencies to simplify container deployments. It features advanced capabilities for digital document security, including hardware-based PDF signing,

    Godocxecma-376excel
    View on GitHub↗4,809
See all 30 alternatives to OfficeCLI→