Google Sheets and Excel MCP Servers Compared (2026)
The MCP servers that let Claude Code, Codex and other agents work in spreadsheets: Google's Sheets MCP server, open-source servers for Google Sheets and .xlsx files, Claude's own connectors, and when a shared workspace like Artifacts fits better.
An MCP server is how an agent such as Claude Code or Codex gets tools for something outside the terminal, and spreadsheets are one of the most asked-for. There are three kinds of spreadsheet server today:
- Servers for Google Sheets, which work on sheets in your Google Drive: Google's own, still in developer preview, and open-source ones.
- Servers for Excel files, which read and write .xlsx files on your computer.
- A shared workspace such as Artifacts (tryartifacts.com), the office for AI agents, where the agent creates the spreadsheet and the team edits it there.
Which one fits depends less on the spreadsheet than on who works on it after the agent. This guide compares them, with what each needs and where the file ends up.
Key takeaways
- Google's Sheets MCP server is hosted by Google but needs membership in the Google Workspace Developer Preview Program, a Google Cloud project and your own OAuth client.
- Open-source Google Sheets servers, such as mcp-google-sheets (MIT), run on your computer and sign in with a Google service account or OAuth.
- The open-source Excel MCP Server (MIT) creates and edits .xlsx files on disk without Microsoft Excel installed; the files stay on your computer until you send them.
- Artifacts is a hosted MCP server where any agent creates real spreadsheets that the team edits live, comments on cell by cell and downloads as Excel.
Disclosure: this blog is published by the Artifacts team. Facts about the other servers come from their own documentation, linked under Sources and read on 13 November 2026.
At a glance
| Server | Works on | Runs | Signs in with | Who edits the result |
|---|---|---|---|---|
| Google Sheets MCP server (Google) | Sheets in Google Drive | Hosted by Google (developer preview) | Your own OAuth client in a Google Cloud project | Anyone the sheet is shared with, in Google Sheets |
| mcp-google-sheets (open source) | Sheets in Google Drive, through the Sheets API | On your computer, or in Docker | A service account, OAuth or Google's default credentials | Anyone the sheet is shared with, in Google Sheets |
| Excel MCP Server (open source) | .xlsx, .xlsm, .xltx and .xltm files on disk | On your computer (stdio, or Streamable HTTP on localhost) | Nothing: it opens files in folders you allow | Whoever you send the file to |
| Artifacts | Spreadsheets in a shared space, downloadable as .xlsx or CSV | Hosted, at https://tryartifacts.com/mcp | An agent key made in Artifacts | The space's members, live, with comments the agent reads |
Google Sheets MCP servers
Google's own Sheets server
Google offers remote MCP servers for its Workspace products, Sheets among them, which act with "the same permissions and data governance controls as the user." Setting one up takes four steps in Google's guide:
- Join the Google Workspace Developer Preview Program.
- Create a Google Cloud project, and turn on the Sheets API and its MCP service.
- Configure an OAuth consent screen and create your own OAuth client.
- Add the server to your agent. Google's guide covers Google Antigravity, and Claude.ai and Claude Desktop as custom connectors.
It is the most direct route for a team whose sheets already live in Drive and whose administrator can join the preview.
Open-source servers for Google Sheets
mcp-google-sheets is "a Python-based MCP server that acts as a bridge between any MCP-compatible client" and the Google Sheets API, under the MIT license. Its tools list, create, read, update and share spreadsheets, add rows and columns, copy and rename tabs, and search across your Drive. It signs in four ways, in this order: credentials passed in an environment variable, a service account (which the project recommends "for Servers/Automation"), OAuth for personal use, or Google's default credentials.
Because it uses your own credentials, the agent can reach whatever those credentials can reach. A service account sees only the sheets shared with it, which is a simple way to limit the agent.
Claude's Google Sheets connector
Anthropic's Google Docs, Sheets and Slides connectors, in beta, let Claude "create and edit Google files directly from Claude," in a pane beside the chat on Claude on the web and Claude Desktop. Anthropic's pages describe them for those apps; they do not describe using them from Claude Code.
Excel MCP servers
The open-source Excel MCP Server (MIT) lets agents "create, read, and modify Excel workbooks." Its README says it "needs no Microsoft Excel, and runs on Windows, macOS and Linux," and that formulas "are calculated without Excel by a built-in engine." What to know before you use it:
- The workbooks are files on your computer. With
--allow-dir, the server opens only workbooks inside that folder; without it, any absolute path to an Excel file works. - It runs locally. Clients start it over stdio; its Streamable HTTP mode "listens on localhost only" by default.
- It doesn't overwrite. The README says it "never silently overwrites an existing workbook."
This suits an agent that should produce a file for one person. The file is still on that person's computer when it is done, so sharing it is a separate step.
For workbooks in OneDrive and SharePoint, Anthropic's Microsoft 365 connector gives Claude tools to upload a file to a SharePoint library or replace a file's content, on a work account in a Microsoft Entra tenant with an administrator's consent. People then co-author it in Excel.
When you need a shared workspace instead
The servers above put a spreadsheet somewhere: in Drive, or on disk. They leave out what happens next, when the people who asked for the sheet want to change a number, question a formula or ask for another tab. A shared workspace covers that part.
In Artifacts, an agent connects to one MCP server with its own key and creates the spreadsheet in a space the team works in:
- A real workbook. Tabs, formulas, formatting, charts and tables, made with the spreadsheet tools in the MCP reference. The agent can also start a sheet from an .xlsx, .ods or .csv file.
- Checked before it comes back. The agent can render the sheet as people see it and run a check that finds formula errors, numbers stored as text and text cut off by the cell beside it.
- Edited live. People edit the same workbook while the agent works; each change appears for everyone at once.
- Comments the agent reads. People comment on an exact cell; the agent reads the thread and answers there, and an @mention in the chat asks it for the next version.
- Excel out. The sheet downloads as Excel (.xlsx), or one tab as CSV.
Connecting Claude Code takes one command, with a key made in Artifacts' settings:
claude mcp add --transport http --scope user artifacts https://tryartifacts.com/mcp --header "Authorization: Bearer fk_…"
Codex adds the same server in ~/.codex/config.toml; see the Codex setup.
Which to choose
| Your situation | Better fit |
|---|---|
| The team's sheets live in Google Drive and your administrator can join Google's preview | Google's Sheets MCP server |
| You want an agent working in your own Google Sheets today, with a service account you control | An open-source Google Sheets server |
| One person needs an .xlsx file made or changed on their computer | The Excel MCP Server |
| The team edits the sheet after the agent, comments on cells and asks for changes | Artifacts |
| Several agents (Claude Code, Codex and others) make the team's sheets | Artifacts |
They combine, too: a workbook made in Artifacts downloads as .xlsx, so it can go into Drive or SharePoint once the team is done.
Frequently asked questions
What is a Google Sheets MCP server?
An MCP server that gives an agent tools to read and change Google Sheets: read a range, write cells, add tabs, share a spreadsheet. Google offers one in its Workspace developer preview, and open-source servers such as mcp-google-sheets call the Google Sheets API with your own credentials.
Is there an Excel MCP server?
Yes. The open-source Excel MCP Server reads and writes .xlsx files on your computer without Excel installed. For spreadsheets a team works on together, Artifacts' MCP server creates workbooks in a shared space that download as .xlsx.
Can Claude Code create Excel files?
Yes, in three ways: write the file itself with a library such as openpyxl, use an Excel MCP server that writes .xlsx files, or connect to a workspace such as Artifacts that creates the sheet for the team and exports it as .xlsx. See how to make Claude Code create Excel and PowerPoint files.
Do these servers work with Codex?
Codex connects to MCP servers over stdio or Streamable HTTP, so local servers such as the Excel MCP Server and remote ones such as Artifacts work with it. Google's guide documents Antigravity and Claude for its own servers.
Sources
- Configure the Google Workspace MCP servers (Google for Developers)
- mcp-google-sheets (GitHub)
- Excel MCP Server (GitHub)
- Use Google Workspace connectors (Claude Help Center)
- Microsoft 365 connector security guide (Claude Help Center)
- Connect Claude Code to tools via MCP (Claude Code docs)
- Artifacts spreadsheet docs (tryartifacts.com)


