---
title: "Deploy Excel MCP Server"
description: "Let AI assistants create and edit Excel workbooks over MCP"
category: "AI/ML"
url: https://railway.com/deploy/excel-mcp-server
---

# Deploy Excel MCP Server

Let AI assistants create and edit Excel workbooks over MCP

**[Deploy Excel MCP Server on Railway](https://railway.com/template/excel-mcp-server)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/excel-mcp-server/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### Excel MCP Server https://raw.githubusercontent.com/haris-musa/excel-mcp-server/v2.3.3/icon.png

- **Source:** https://github.com/aalfath/excel-mcp-server-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# 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

* Upstream project: https://github.com/haris-musa/excel-mcp-server (MIT licence)
* Release deployed: https://github.com/haris-musa/excel-mcp-server/releases/tag/v2.3.3
* Tool reference: https://github.com/haris-musa/excel-mcp-server/blob/v2.3.3/TOOLS.md
* Template repo: https://github.com/aalfath/excel-mcp-server-railway-template

### 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:

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

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

```json
{
  "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.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/excel-mcp-server
