Basic information
About xlwings Excel MCP Server
xlwings Excel: Manipulate Excel files without installing Excel. 30+ tools for workbooks, data ops, formatting, formulas, charts and pivots across Windows and…
xlwings Excel is a MCP server in the Productivity category listed in the AddMCP.net directory, published by hyunjae-labs. It exposes 6 tools, including excel_copy_sheet, excel_create_table, excel_describe_sheets, excel_format_range and more. Supported transport: stdio. Runtime: Python. The repository has 9 GitHub stars. Source code is hosted on github.com. Related topics: ai, analytics-data, automation, community, developer-tools.
Setup
{
"mcpServers": {
"xlwings-mcp-server": {
"command": "uvx",
"args": [
"xlwings-mcp-server"
],
"env": {
"EXCEL_MCP_SESSION_TTL": "600",
"EXCEL_MCP_MAX_SESSIONS": "8",
"EXCEL_MCP_DEBUG_LOG": "1",
"EXCEL_MCP_VISIBLE": "false",
"EXCEL_MCP_CALC_MODE": "automatic"
}
}
}
}
{
"mcpServers": {
"xlwings-mcp-server": {
"command": "uvx",
"args": [
"xlwings-mcp-server"
],
"env": {
"EXCEL_MCP_SESSION_TTL": "600",
"EXCEL_MCP_MAX_SESSIONS": "8",
"EXCEL_MCP_DEBUG_LOG": "1",
"EXCEL_MCP_VISIBLE": "false",
"EXCEL_MCP_CALC_MODE": "automatic"
}
}
}
}
{
"servers": {
"xlwings-mcp-server": {
"command": "uvx",
"args": [
"xlwings-mcp-server"
],
"env": {
"EXCEL_MCP_SESSION_TTL": "600",
"EXCEL_MCP_MAX_SESSIONS": "8",
"EXCEL_MCP_DEBUG_LOG": "1",
"EXCEL_MCP_VISIBLE": "false",
"EXCEL_MCP_CALC_MODE": "automatic"
}
}
}
}
xlwings Excel MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"xlwings-mcp-server": {
"command": "uvx",
"args": [
"xlwings-mcp-server"
],
"env": {
"EXCEL_MCP_SESSION_TTL": "600",
"EXCEL_MCP_MAX_SESSIONS": "8",
"EXCEL_MCP_DEBUG_LOG": "1",
"EXCEL_MCP_VISIBLE": "false",
"EXCEL_MCP_CALC_MODE": "automatic"
}
}
}
}
xlwings Excel MCP Server tools
- excel_copy_sheet — Copy existing sheet to a new sheet
- excel_create_table — Create a table in the Excel sheet
- excel_describe_sheets — List all sheet information of specified Excel file
- excel_format_range — Format cells in the Excel sheet with style information
- excel_read_sheet — Read values from Excel sheet with pagination.
- excel_write_to_sheet — Write values to the Excel sheet
Overview
What is xlwings Excel?
A Model Context Protocol (MCP) server that lets you manipulate Excel files without needing Microsoft Excel installed. It enables AI agents to create, read, and update Excel workbooks programmatically, supporting both local and remote use.
How to use xlwings Excel?
Install and run via uvx excel-mcp-server with one of three transport methods. For local use, use the stdio transport. For remote connections, use streamable‑HTTP (recommended) or the deprecated SSE transport. When using HTTP transports, set the EXCEL_FILES_PATH environment variable to specify where Excel files are stored; file paths in tool calls must be relative to that directory. Optionally set FASTMCP_PORT to change the listening port (default 8007). For the stdio transport, the file path is provided per tool call.
Key features of xlwings Excel
- Create, read, update, and delete workbooks and worksheets
- Insert formulas, formatting, charts, pivot tables, and Excel tables
- Built‑in data validation for ranges, formulas, and integrity
- Font styling, colors, borders, alignment, and conditional formatting
- Chart creation (line, bar, pie, scatter, and more)
- Triple transport support: stdio, SSE (deprecated), and streamable HTTP
Use cases of xlwings Excel
- Automatically generate or update Excel reports with an AI assistant
- Perform data analysis and create pivot tables/charts without Excel installed
- Manage multiple worksheets – copy, rename, delete – through natural language commands
- Remotely manipulate Excel files located on a server or in a shared directory
Frequently asked questions
1 Do I need Microsoft Excel installed to use this server?
No. The server lets you manipulate Excel files without needing Microsoft Excel installed.
2 How do I set the file path when using HTTP transports?
For SSE or streamable HTTP transports, set the EXCEL_FILES_PATH environment variable on the server side. It defaults to `./excel_files
Videos
Tutorials, guides, and showcases related to xlwings Excel MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In