Deploy Excel MCP Server

Let AI assistants create and edit Excel workbooks over MCP

Deploy Excel MCP Server

Just deployed

/data

Deploy and Host Excel MCP Server on Railway

Excel MCP Server is an open-source Model Context Protocol (MCP) server that lets AI clients such as Claude, Cursor, VS Code Copilot and Codex create, read and edit Excel workbooks. It handles formulas (with a built-in calculator), charts, PivotTables, tables, conditional formatting and CSV import, and needs no Microsoft Excel.

About Hosting Excel MCP Server

This template runs Excel MCP Server 2.3.3 in its remote Streamable HTTP mode as one Railway service, built from a public GitHub repo that pins the upstream release. Workbooks live in /data/workbooks on a Railway volume, so they survive redeploys and restarts. Every request to /mcp needs a bearer token that Railway generates on deploy (EXCEL_MCP_AUTH_TOKEN); there is nothing else to fill in and no LLM key is needed, because your AI client does the thinking. /healthz answers Railway's health check without a token. The start script sizes the server's memory limits to the service, so it runs on a 0.5 GB plan.

Common Use Cases

  • Let Claude, Cursor or another MCP client build reports, budgets and dashboards as real .xlsx files with formulas, charts and PivotTables
  • Give a team or an agent workflow one shared, always-on place to keep and edit workbooks, instead of a local stdio server on each laptop
  • Clean up and analyse spreadsheets: import CSV, sort, filter, remove duplicates, trace why a formula is wrong, run Goal Seek

Dependencies for Excel MCP Server Hosting

  • One Railway service (Python 3.13) with a volume mounted at /data
  • An MCP client that supports remote Streamable HTTP servers with a custom header (Claude Code, Cursor, VS Code, Codex and others)

Deployment Dependencies

Implementation Details

After the deploy, open the service's Variables tab and copy EXCEL_MCP_AUTH_TOKEN. Your server URL is https://YOUR-DOMAIN/mcp, where YOUR-DOMAIN is the service's Railway domain.

Claude Code:

claude mcp add --transport http excel https://YOUR-DOMAIN/mcp --header "Authorization: Bearer YOUR-TOKEN"

Cursor (~/.cursor/mcp.json) and most other clients:

{
  "mcpServers": {
    "excel": {
      "url": "https://YOUR-DOMAIN/mcp",
      "headers": { "Authorization": "Bearer YOUR-TOKEN" }
    }
  }
}

Paths such as reports/q1.xlsx are relative to the volume. To move files between your computer and the server, ask the assistant to use import_workbook (upload) and export_workbook (download). Optional settings from upstream can be added as variables: EXCEL_MCP_READ_ONLY=1 (read-only tools), EXCEL_MCP_TOOLS (offer fewer tools to save context), EXCEL_MCP_ALLOW_VBA_WRITE=1 (write VBA macros; the server never runs them).

On the 0.5 GB plan the server is limited to workbooks of about 30 MB and about 300,000 loaded cells; give the service more memory and redeploy to raise these limits automatically (upstream's own defaults apply from about 2.6 GB). Updates: when this template moves to a new upstream release, Railway shows an update notice on your service; read the repo's CHANGELOG.md, then apply it. Your workbooks stay on the volume.

Why Deploy Excel MCP Server on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Excel MCP Server on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1