xlwings-mcp-server-fastmcp

Provides an MCP server (stdio transport) that uses xlwings to automate Microsoft Excel through session-based operations (open workbook sessions, read/write cell data, apply formulas, manage worksheets/ranges/tables, and create charts), with configurable session TTL and limits.

Evaluated Apr 04, 2026 (17d ago)
Homepage ↗ Repo ↗ Infrastructure mcp xlwings excel-automation python windows stdio automation spreadsheets
⚙ Agent Friendliness
62
/ 100
Can an agent use this?
🔒 Security
23
/ 100
Is it safe for agents?
⚡ Reliability
24
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
78
Documentation
65
Error Messages
0
Auth Simplicity
100
Rate Limits
0

🔒 Security

TLS Enforcement
0
Auth Strength
10
Scope Granularity
0
Dep. Hygiene
55
Secret Handling
60

No explicit auth described; MCP runs over stdio and is presumably intended for trusted local use. The server accepts file paths and can modify workbooks; this increases risk if exposed to untrusted clients. TLS is not applicable to stdio transport. Secret handling is not documented; typical best practice would be to avoid logging environment variables and workbook contents, but the README only mentions a debug log flag without detailing redaction.

⚡ Reliability

Uptime/SLA
0
Version Stability
40
Breaking Changes
0
Error Recovery
55
AF Security Reliability

Best When

You run a trusted MCP client locally/in a controlled environment on Windows with Excel installed, and you want an agent to manipulate workbooks via a persistent session API.

Avoid When

You expose the MCP server to untrusted networks/users or you cannot restrict what file paths, formulas, and workbook mutations the client can request.

Use Cases

  • AI agents that need to programmatically read and transform Excel spreadsheets
  • Generating reports by writing data, applying formulas, and formatting output
  • Automating workbook structure changes (worksheets, tables, ranges)
  • Creating charts from a specified data range
  • Batch processing with session reuse to reduce Excel startup overhead

Not For

  • Running on non-Windows environments (required for xlwings COM/pywin32)
  • Public multi-tenant deployment without additional network/auth controls
  • Use cases requiring strong access control over which files/cells can be modified per user
  • High-security environments where sending arbitrary file paths and formulas to an automation service is unacceptable

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
Yes
SDK
No
Webhooks
No

Authentication

Methods: None documented for MCP tool calls
OAuth: No Scopes: No

README does not describe any authentication/authorization mechanism for MCP connections or tool invocations. Tool access appears uncontrolled aside from environment and OS-level/network controls.

Pricing

Free tier: No
Requires CC: No

Agent Metadata

Pagination
none
Idempotent
False
Retry Guidance
Not documented

Known Gotchas

  • Session expiry (TTL) can cause 'Session Not Found' errors if operations take too long.
  • Excel automation is Windows/COM dependent; tool calls will fail without Excel and COM available.
  • Operations are stateful and likely order-dependent (e.g., writing requires an open workbook session).
  • Excel formula application may behave differently depending on calculation settings (EXCEL_MCP_CALC_MODE).

Alternatives

Full Evaluation Report

Comprehensive deep-dive: security analysis, reliability audit, agent experience review, cost modeling, competitive positioning, and improvement roadmap for xlwings-mcp-server-fastmcp.

AI-powered analysis · PDF + markdown · Delivered within 30 minutes

$99

Package Brief

Quick verdict, integration guide, cost projections, gotchas with workarounds, and alternatives comparison.

Delivered within 10 minutes

$3

Score Monitoring

Get alerted when this package's AF, security, or reliability scores change significantly. Stay ahead of regressions.

Continuous monitoring

$3/mo

Scores are editorial opinions as of 2026-04-04.

8642
Packages Evaluated
17761
Need Evaluation
586
Need Re-evaluation
Community Powered