Skip to main content

mcp-win-stdio-excel

Windows-native Model Context Protocol (MCP) server for Microsoft Excel: 20 tools combining high-speed Pandas querying, RapidFuzz reconciliation, OpenPyXL editing, and native Windows Excel COM automation.

Part of the mcp-win-stdio Windows-optimized suite.


🚀 Features (20 Tools)

  • Vectorized Data Queries: High-speed Pandas slicing, filtering, and aggregation on large spreadsheets.
  • Typo-Tolerant Reconciliation: Pre-flight key diagnostics (analyze_reconciliation_keys) and fuzzy joins (reconcile_and_merge) producing clean 3-tab audit workbooks (Matched, Unmatched_Source, Unmatched_Target).
  • OpenPyXL Direct Editing: Safe cell updates, row appending, multi-sheet management, formula insertion, CSV/JSON export.
  • Native Windows Excel COM Automation: Background/visible Excel process control, formula recalculation, pivot table refreshes, PDF export, and VBA macro execution.

🛠️ Included Tools (20 Tools)

  • Inspection: get_workbook_info, preview_sheet, get_column_values, compare_column_values, summarize_column, search_text.
  • Querying & Slices: query_rows (Pandas vectorized expressions), read_range, query_excel_sql.
  • Editing & Export: create_workbook, append_rows, update_cells, add_sheet, rename_sheet, delete_sheet, export_to_csv, export_to_json.
  • Reconciliation: analyze_reconciliation_keys, reconcile_and_merge.
  • Windows COM Automation: recalculate_and_save, export_to_pdf, refresh_data_and_pivots, run_vba_macro, get_active_excel_window.

📦 Installation

pip install mcp-win-stdio-excel

(Installing this package automatically installs mws CLI orchestrator).


🚀 One-Command Claude Setup

mws setup excel
# or:
mws add excel

Manual Configuration Example

In %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "excel": {
      "command": "python",
      "args": ["-m", "mcp_win_stdio.excel"]
    }
  }
}

📖 CLI Commands & Interactive Guide

mws excel guide     # Complete tool reference & prompt recipes
mws excel doctor    # Verify Excel COM automation, Pandas, and OpenPyXL
mws excel setup     # Configure Claude Desktop / Claude Code
mws excel run       # Launch server over stdio

📜 License

MIT License. Copyright (c) 2026 Mohan Kumar Indala.

Release files for mcp-win-stdio-excel 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-win-stdio-excel 0.2.4
File Size Uploaded
mcp_win_stdio_excel-0.2.4.tar.gz 19.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-win-stdio-excel 0.2.4
File Interpreter ABI Platform
mcp_win_stdio_excel-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 40.8 kB

Release files / mcp_win_stdio_excel-0.2.4.tar.gz

Download URL mcp_win_stdio_excel-0.2.4.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1bb5fc7b759746c495fb3afe358aeeeaea9ce69743ac3763481a63dec019d4b4
BLAKE2b-256 checksum
How to use checksums
ae30971fc2fa81e4c76542f91486870b8babe72cceee2539799bf1443cb41689
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / mcp_win_stdio_excel-0.2.4-py3-none-any.whl

Download URL mcp_win_stdio_excel-0.2.4-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18c40d6e32ece52071e28a4ec411ef145b6551c9467a9cdaceb0b651b7fac231
BLAKE2b-256 checksum
How to use checksums
78e6e11a7bd9a990ca9f402440ad527eaf6ee0fb1d3a5134032286f4bcf94179
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page