Skip to main content

mcp-win-stdio-excel-db

High-Performance Power Pipeline Model Context Protocol (MCP) Server combining SQL Databases and Excel Spreadsheets: 9 tools for high-volume streaming, in-memory cross-joins, and automated reconciliation.

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


🌟 Key Features (9 Tools)

  • Direct DB to Excel Streaming (db_to_excel_stream): Streams tens of thousands of database rows directly into styled .xlsx files without passing raw data through the LLM context window.
  • Bulk Excel to DB Upsert (excel_to_db_upsert): Ingests Excel spreadsheets into relational database tables with automatic type inference, chunking, and upsert conflict resolution.
  • Cross-Source Join Engine (query_unified_sources): Executes unified DuckDB SQL queries joining relational database tables and local .xlsx/.csv files in memory.
  • Reconciliation Auditor (reconcile_db_vs_excel): Detects discrepancies, missing rows, and value drift between database tables and business spreadsheets.
  • Master Dataset Comparer (compare_master_datasets): Deep schema and record-level structural diff between two master sources.
  • Master Migration Planner (generate_master_migration_plan): Generates verifiable SQL migration and rollback scripts to sync spreadsheet changes to production.
  • Sync Master to DB (sync_master_to_db): Executes staged migration plans in atomic database transactions.
  • Python Template Pipeline (py_template_pipeline): Runs deterministic Python/Pandas data pipeline transformations.
  • Template Populator (db_to_excel_template): Injects live database query results into pre-styled corporate Excel templates while preserving existing formulas, fonts, and borders.

🔐 Zero-Configuration & Dynamic Connection Sharing

mcp-win-stdio-excel-db requires zero mandatory environment variables. It automatically shares the dynamic database connections configured via mws-db or the db MCP server (~/.mcp-win-stdio/db_connections.json), supporting PostgreSQL, MySQL, SQLite, and SQL Server out of the box.


📦 Installation

# Standalone package installation:
pip install mcp-win-stdio-excel-db

# Or with full mcp-win-stdio suite:
pip install "mcp-win-stdio[all]"

🚀 Claude Setup

Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json)

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

Claude Code CLI

claude mcp add excel-db python -m mcp_win_stdio.excel_db

📜 License

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

Metadata

Release files for mcp-win-stdio-excel-db 0.5.5

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-db 0.5.5
File Size Uploaded Provenance Actions
mcp_win_stdio_excel_db-0.5.5.tar.gz 19.6 kB With provenance Details for mcp_win_stdio_excel_db-0.5.5.tar.gz

Built distribution (wheel)

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

Total release size: 45.1 kB

Release files / mcp_win_stdio_excel_db-0.5.5.tar.gz

Download URL mcp_win_stdio_excel_db-0.5.5.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
62d0d47639ebbdf15743a075c5025e2a32f2fd7a9ed9f209114e3cc079035615
BLAKE2b-256 checksum
How to use checksums
7fd9b4bd02d3ede7d0243eb14b2ba9342f46864236c6e03d52bc1478f065a2d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / mcp_win_stdio_excel_db-0.5.5-py3-none-any.whl

Download URL mcp_win_stdio_excel_db-0.5.5-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1c48ce2e4e07d6f98f4a9fea2e19a273adfabde3f2a3ff152b51607938c97b2
BLAKE2b-256 checksum
How to use checksums
30a26fc42b5df6b22a3ec97daa2c8add00ed0a904fc2d36f1ed83b9cf0efbb1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for mcp-win-stdio-excel-db 0.5.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_win_stdio_excel_db-0.5.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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