Office MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Office MCP Server Create an Excel file with sales data and a bar chart"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Office MCP Server
MCP server for creating and editing Word, Excel, and PowerPoint documents offline. Pure Python — no AppleScript, no COM, works on any platform.
Features
Word (.docx): create, read, add headings, paragraphs, tables, lists
Excel (.xlsx): create, read, write data, formulas, charts, cell formatting
PowerPoint (.pptx): create, read, add slides, text boxes
Related MCP server: docx-mcp
Install
pip install office-mcp-serverOr run directly with uvx:
uvx office-mcp-serverConfiguration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"office": {
"command": "uvx",
"args": ["office-mcp-server"]
}
}
}OpenCode / Claude Code
{
"mcpServers": {
"office": {
"command": "python",
"args": ["-m", "office_mcp_server.server"],
"cwd": "/path/to/office-mcp-server"
}
}
}Local development
git clone https://github.com/YOUR_USERNAME/office-mcp-server.git
cd office-mcp-server
pip install -e .Tools
Tool | Description |
| Create .docx file |
| Read .docx content |
| Add heading (level 1-6) |
| Add formatted paragraph |
| Add table with headers |
| Add bullet/numbered list |
| Create .xlsx file |
| Read .xlsx data |
| Write data to cells |
| Add formula (e.g., |
| Create bar/line/pie chart |
| Bold, color, alignment, border |
| Create .pptx file |
| Read slide content |
| Add slide with layout |
| Add text box to slide |
Example Usage
Ask your AI assistant:
"Create a Word document at ~/Desktop/report.docx with a title 'Q4 Report', add a heading 'Revenue', and a paragraph with the text 'Revenue increased by 25%'"
"Create an Excel file at ~/Desktop/data.xlsx, write headers Name/Score, add data rows, and create a bar chart"
"Create a PowerPoint at ~/Desktop/slides.pptx with title 'Pitch Deck', add 3 slides with content"
License
MIT
Available Tools
16 toolsadd_excel_chartA
Create a chart in an Excel sheet.
Args: path: Path to the .xlsx file sheet_name: Sheet name chart_type: bar, line, or pie data_range: Cell range (e.g., 'A1:B10') title: Chart title position: Cell to place chart (e.g., 'E5')
Inputs: path (required), chart_type (required), data_range (required), sheet_name (required), +2 more.
add_excel_formulaA
Add a formula to an Excel cell.
Args: path: Path to the .xlsx file sheet_name: Sheet name cell: Cell reference (e.g., 'A4') formula: Excel formula (e.g., '=SUM(A1:A3)')
Inputs: cell (required), path (required), formula (required), sheet_name (required).
add_presentation_slideB
Add a slide to a PowerPoint presentation.
Args: path: Path to the .pptx file layout_index: Slide layout index (0=Title, 1=Title+Content, 6=Blank) title: Slide title content: Slide body content
Inputs: path (required), title, content, layout_index.
add_presentation_textA
Add a text box to a PowerPoint slide.
Args: path: Path to the .pptx file slide_index: Slide index (0-based) text: Text content left: Left position in inches top: Top position in inches width: Width in inches height: Height in inches font_size: Font size in points bold: Bold text alignment: left, center, right
Inputs: path (required), text (required), slide_index (required), top, +6 more.
add_word_headingA
Add a heading to a Word document.
Args: path: Path to the .docx file text: Heading text level: Heading level 1-6
Inputs: path (required), text (required), level.
add_word_listB
Add a bulleted or numbered list to a Word document.
Args: path: Path to the .docx file items: List items ordered: True for numbered list, False for bullet
Inputs: path (required), items (required), ordered.
add_word_paragraphA
Add a paragraph to a Word document with optional formatting.
Args: path: Path to the .docx file text: Paragraph text bold: Bold text italic: Italic text font_size: Font size in points (0 = default) alignment: left, center, right, justify
Inputs: path (required), text (required), bold, italic, +2 more.
add_word_tableB
Add a table to a Word document.
Args: path: Path to the .docx file headers: Column headers rows: Data rows (list of lists)
Inputs: path (required), rows (required), headers (required).
create_excel_workbookA
Create a new Excel workbook (.xlsx).
Args: path: Absolute file path for the new workbook sheet_name: Name for the first sheet
Inputs: path (required), sheet_name.
create_presentationB
Create a new PowerPoint presentation (.pptx).
Args: path: Absolute file path for the new presentation title: Optional title for the first slide
Inputs: path (required), title.
create_word_documentA
Create a new Word document (.docx).
Args: path: Absolute file path for the new document title: Optional title heading to add
Inputs: path (required), title.
format_excel_cellsB
Apply formatting to Excel cells.
Args: path: Path to the .xlsx file sheet_name: Sheet name cell_range: Cell range (e.g., 'A1:C3') bold: Bold text font_size: Font size in points font_color: Hex color (e.g., 'FF0000') bg_color: Background hex color alignment: left, center, right border: Add thin border
Inputs: path (required), cell_range (required), sheet_name (required), bold, +5 more.
read_excel_workbookA
Read an Excel workbook and return its data.
Args: path: Path to the .xlsx file sheet_name: Specific sheet to read (empty = all sheets)
Inputs: path (required), sheet_name.
read_presentationA
Read a PowerPoint presentation and return slide content.
Args: path: Path to the .pptx file
Inputs: path (required).
read_word_documentA
Read a Word document and return its paragraphs and tables.
Args: path: Absolute path to the .docx file
Inputs: path (required).
write_excel_dataB
Write data to an Excel sheet.
Args: path: Path to the .xlsx file sheet_name: Target sheet name data: 2D array of values to write start_cell: Starting cell (e.g., 'A1')
Inputs: data (required), path (required), sheet_name (required), start_cell.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Each tool targets a distinct action and file format, with clear boundaries between reading, writing, creating, adding, and formatting. Even within the same format, verbs and objects make the purpose unambiguous.
Tool names consistently follow a verb_noun pattern with format prefixes like excel, word, and presentation (e.g., read_excel_workbook, add_word_paragraph, create_presentation). The naming style is uniform throughout.
At 16 tools, the set is slightly above the typical 3-15 range, but the count is justified by covering three document formats: Excel, PowerPoint, and Word. Each tool serves a meaningful purpose in the overall Office workflow.
The toolset covers creation, reading, and appending content for all three formats, with good Excel manipulation support. However, there are notable gaps: no delete/remove operations and no in-place editing of existing Word or PowerPoint content, which limits full lifecycle management.
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Automate enterprise-grade documents from templates, merge and 100+ conversions: PDF, Office, HTML.
Generate, edit, merge, translate and PDF-convert PowerPoint (.pptx) over MCP. 8 tools.
Composable APIs for document extraction, image transformation, and document & sheet generation.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI-powered Office automation server that enables creating, editing, and processing Word, Excel, and PowerPoint documents through natural language instructions using Python-based libraries.1MIT
- AlicenseBqualityDmaintenanceEnables comprehensive management of Microsoft Word documents with 30+ tools for reading, writing, formatting, template merging, image extraction, equation extraction, and style application.241MIT
- AlicenseDqualityDmaintenanceEnables reading, writing, editing, and converting Office documents (ODT, DOCX, ODS, XLSX, PDF, etc.) using MCP tools, with no external dependencies.1121 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables processing PowerPoint and Word documents, extracting content and structure, combining them, and generating new presentations.1-