skills$openclaw/office-mcp
lijie4204613403.2k

by lijie420461340

office-mcp – OpenClaw Skill

office-mcp is an OpenClaw Skills integration for data analytics workflows. MCP server for Word, Excel, PowerPoint operations via AI

3.2k stars2.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

nameoffice-mcp
descriptionMCP server for Word, Excel, PowerPoint operations via AI OpenClaw Skills integration.
ownerlijie420461340
repositorylijie420461340/office-mcp
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lijie420461340/office-mcp
last updatedFeb 7, 2026

Maintainer

lijie420461340

lijie420461340

Maintains office-mcp in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
280 B
SKILL.md
2.6 KB
SKILL.md

name: office-mcp description: MCP server for Word, Excel, PowerPoint operations via AI author: claude-office-skills version: "1.0" tags: ['mcp', 'office', 'word', 'excel', 'powerpoint'] models: [claude-sonnet-4, claude-opus-4] tools: [computer, code_execution, file_operations] library: name: Office MCP url: https://github.com/anthropics/skills stars: N/A

Office Mcp Skill

Overview

This skill wraps Office document operations as MCP tools, allowing Claude to create, edit, and manipulate Word, Excel, and PowerPoint files with standardized interfaces.

How to Use

  1. Describe what you want to accomplish
  2. Provide any required input data or files
  3. I'll execute the appropriate operations

Example prompts:

  • "Create Word documents with AI-generated content"
  • "Build Excel spreadsheets with formulas"
  • "Generate PowerPoint presentations"
  • "Batch edit Office documents"

Domain Knowledge

Office MCP Tools

ToolInputOutput
create_docxTitle, sections, styles.docx file
edit_docxPath, changesUpdated .docx
create_xlsxData, formulas.xlsx file
create_pptxSlides, layout.pptx file

Integration with Claude Skills

# Example: Combining Skills + MCP

User: "Create a sales report from this data"

1. Data Analysis Skill → Analyze data
2. office-mcp/create_docx → Generate Word report
3. office-mcp/create_xlsx → Generate Excel summary
4. office-mcp/create_pptx → Generate PowerPoint deck

MCP Server Implementation

from mcp import Server
from docx import Document
from openpyxl import Workbook

server = Server("office-mcp")

@server.tool("create_docx")
async def create_docx(title: str, content: str, output_path: str):
    doc = Document()
    doc.add_heading(title, 0)
    doc.add_paragraph(content)
    doc.save(output_path)
    return {"status": "success", "path": output_path}

@server.tool("create_xlsx")
async def create_xlsx(data: list, output_path: str):
    wb = Workbook()
    ws = wb.active
    for row in data:
        ws.append(row)
    wb.save(output_path)
    return {"status": "success", "path": output_path}

Best Practices

  1. Validate inputs before document operations
  2. Use temp files for large documents
  3. Return structured responses with file paths
  4. Handle errors gracefully with meaningful messages

Installation

# Install required dependencies
pip install python-docx openpyxl python-pptx reportlab jinja2

Resources

README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install office-mcp?

Run openclaw add @lijie420461340/office-mcp in your terminal. This installs office-mcp into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lijie420461340/office-mcp. Review commits and README documentation before installing.