Excel MCP Server πŸš€

by vijjeswarapusuryateja

1 stars
152 downloads
Not rated
GitHub

Description

# Excel MCP Server πŸš€ This project implements a lightweight **Model Context Protocol (MCP)** server for Excel automation, powered by **OpenAI's ChatGPT (GPT-4o)**. You can create, edit, and automate Excel files through natural language prompts, with GPT translating your intent…

About

# Excel MCP Server πŸš€ This project implements a lightweight **Model Context Protocol (MCP)** server for Excel automation, powered by **OpenAI's ChatGPT (GPT-4o)**. You can create, edit, and automate Excel files through natural language prompts, with GPT translating your intent into structured tool calls. --- ## βœ¨β€¦

Details

Author
vijjeswarapusuryateja
GitHub stars
1
Downloads
152
Categories
Other

- Lightweight FastAPI backend exposing Excel operations as MCP tools
- Natural language prompt handling with GPT‑4o orchestration
- Multi‑tool call execution (e.g., create sheets + write cells)
- Minimal setup β€” no complex SDKs required
- Streamlit frontend for easy interaction

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Excel MCP Server πŸš€
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run the backend (python excel_mcp_server.py) and the Streamlit frontend (streamlit run frontend.py) after cloning the repository, creating a virtual environment, and installing dependencies from requirements.txt. No complex SDKs are required.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "excel mcp server \ud83d\ude80": {
            "excel_mcp_server": {
                "command": "python3",
                "args": [
                    "-m",
                    "venv",
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "excel_mcp_server": {
        "command": "python3",
        "args": [
            "-m",
            "venv",
            "venv"
        ]
    }
}

Excel MCP Server πŸš€

This project implements a lightweight Model Context Protocol (MCP) server for Excel automation, powered by OpenAI's ChatGPT (GPT-4o).

You can create, edit, and automate Excel files through natural language prompts, with GPT translating your intent into structured tool calls.

---

✨ Features

- Lightweight FastAPI backend exposing Excel operations as MCP tools
- Natural language prompt handling with GPT-4o orchestration
- Multi-tool call execution (supports workflows like creating sheets + writing cells)
- Streamlit frontend to interact easily
- Minimal setup β€” no complex SDKs required

---

πŸ“¦ Project Structure

| File | Purpose |
|:--|:--|
| excel_mcp_server.py | FastAPI backend with Excel MCP tools and GPT integration |
| frontend.py | Streamlit frontend for chatting with Excel |
| requirements.txt | (Coming soon) List of Python dependencies |

---

πŸš€ How to Run Locally

1. Clone this repo:

git clone https://github.com/vijjeswarapusuryateja/excel_mcp_server.git
cd excel_mcp_server

2. Create a virtual environment:

python3 -m venv venv
source venv/bin/activate  # Mac/Linux
venv\Scripts\activate  # Windows

3. Install required packages:

pip install -r requirements.txt

4. Run the backend server:

python excel_mcp_server.py

5. In a new terminal, run the frontend:

streamlit run frontend.py

---

πŸ“š Related Article

I wrote a full Medium article explaining the architecture, how I built this project, and what I learned about MCP:

πŸ‘‰ Read the article here

---

🧐 Future Improvements

- Dockerize backend + frontend
- Add batch writing tools
- Add style formatting (bold, colors)
- Support uploading/downloading Excel files through API

---

πŸ“œ License

MIT License

---

🌟 If you found this project useful, give it a ⭐ star and feel free to fork/extend!

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.