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.3

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.3
File Size Uploaded
mcp_win_stdio_excel-0.2.3.tar.gz 19.6 kB Details

Built distribution (wheel)

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

Total release size: 40.8 kB

Release files / mcp_win_stdio_excel-0.2.3.tar.gz

Download URL mcp_win_stdio_excel-0.2.3.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
88aaf3cf74b4ec2dd96b7d95d768bc87744447a592b34c66ed8f6f38c483f3e2
BLAKE2b-256 checksum
How to use checksums
4a63a553b1e254a3b01db18ee32bdc687ad17ce3bac054b0477bd0a7515820f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

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

Download URL mcp_win_stdio_excel-0.2.3-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1186e7d8df05e8dea39ce77cabb5abf1ae68fb452f3b325edaac150b025da7b5
BLAKE2b-256 checksum
How to use checksums
e40d35e4aa64773e2b84e973b5aa11085b3db30efcc1e6d9fed2cc4cd73ca033
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.2.4

2 release files

This release

0.2.3 This release

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