OpenClaw and Excel: skills, the exec tool, or an MCP server
OpenClaw has no built-in Excel integration. It reads spreadsheets either with a skill from ClawHub (Excel/XLSX, Google Sheets and similar) or by writing and running a script through its exec tool. For questions about the numbers in a file, a read-only MCP server is safer and more accurate: OpenClaw calls tools like aggregate and filter and gets exact results computed over every row.
How a file reaches OpenClaw
When you send a spreadsheet to your claw on WhatsApp, Telegram or another channel, OpenClaw saves it through its inbound media store and hands the agent the file path. On WhatsApp the inbound cap is set by channels.whatsapp.mediaMaxMb, 50 MB by default. From there the agent needs a way to read it, and that's where the choice comes in.
Option 1: an Excel or spreadsheet skill from ClawHub
Skills are packaged instructions and scripts. Searching ClawHub for "excel" or "spreadsheet" turns up skills that create, inspect and edit XLSX workbooks, and Google Sheets and Microsoft Excel skills that connect to your cloud accounts. You install one with openclaw skills install followed by the skill's @owner/name, into your workspace's skills folder.
Skills are the right tool when you want OpenClaw to produce or edit a workbook: build a report, fill a template, update a Google Sheet. Two cautions from OpenClaw's own docs: treat third-party skills as untrusted code and read them before enabling (openclaw skills verify checks a skill at install time), and ClawHub is open to anyone with an old-enough GitHub account.
Option 2: let the agent write a script (exec)
Without a skill, OpenClaw falls back to its exec tool: it writes a short Python or Node script, runs it in the workspace, and reads the output. That's flexible, but the docs note sandboxing is off by default, so the script runs on the machine hosting your gateway.
It also has to rediscover your file's quirks every time. Bank statements and store exports usually start with a few lines of letterhead above the real header, write amounts as ₹1,23,456.00 or (200.00), and mix date formats. A script that reads the wrong header row or skips text-formatted numbers still prints a confident total.
Option 3: a read-only MCP server for the data
OpenClaw 2026.10 can use MCP servers, the open protocol for adding tools. Fileshape Ask AI is a hosted one built for this job. You upload the file once; Fileshape finds the real header row, converts amounts to numbers and dates to YYYY-MM-DD, and gives OpenClaw tools to describe, filter, search and aggregate the cleaned table. A question like "spend per month by category" is computed over every row and only the result comes back, so a 200,000-row file costs no more context than a 20-row one.
Nothing runs on your gateway host, the tools can't modify anything, and you choose what the agent sees: mask a column (it sees XXXX1234) or hide it before upload, and switch AI access off per file later.
Set up Fileshape in OpenClaw
With sign-in (OAuth), one URL covers every file you upload:
- Upload your spreadsheet at fileshape.app/account/datasets.
- Where your gateway runs: openclaw mcp set fileshape '{"url":"https://mcp.fileshape.app/mcp","transport":"streamable-http","auth":"oauth"}'
- Run openclaw mcp login fileshape, open the link it prints, sign in to Fileshape and approve.
- Check it with openclaw mcp doctor fileshape --probe. The gateway hot-reloads the change; then message your claw.
- Prefer the browser? In the Control UI open Settings → MCP → Add server, pick Streamable HTTP and paste the URL, then use Sign in.
Which one should you use?
Use a skill when the output is a workbook. Use MCP when the job is answering questions about data you already have: monthly totals, top customers, unmatched transactions. Many setups use both: Fileshape for the numbers, a skill to write the summary sheet.
Fileshape's free plan covers 1 file of up to 50 MB, kept 7 days. Each file also gets a private URL that works with openclaw mcp add and no sign-in.
Convert or reshape a file in your browser. Nothing is uploaded.
Open the converterFAQ
Questions
Does OpenClaw support MCP servers?
Yes. Add remote servers with openclaw mcp add or openclaw mcp set, or from Settings → MCP in the Control UI. Streamable HTTP and SSE are supported, with OAuth via openclaw mcp login.
Can OpenClaw edit my Excel file?
With an Excel/XLSX skill or a script, yes. Fileshape's MCP tools are read-only, so a connected Fileshape file is never changed.
How do I limit which tools OpenClaw can call?
Use the server's toolFilter (or --include on openclaw mcp add) to allow only the tools you want, for example describe and aggregate.
Why are my totals wrong when OpenClaw reads a bank statement?
Usually the script picked the wrong header row or skipped amounts stored as text (with commas, currency symbols or brackets). Fileshape cleans those before the agent sees the data.
More from the blog
Keep reading
- AI for data analysis: which tool to use, and how to trust the answersThe three ways to use AI for data analysis (chat uploads, spreadsheet add-ins, connected agents), which fits which job, and how to check the numbers.
- How to upload files to ChatGPT and Claude, and share them with any AIUpload a file to ChatGPT or Claude, fix uploads that fail, and share the same files with every AI app through one URL instead of re-uploading.
- Is it safe to upload a bank statement to ChatGPT or Claude?What ChatGPT and Claude keep when you upload a bank statement, the settings that stop training on it, and how to share only the columns the AI needs.
- Bank statement analysis with ChatGPT or Claude: prompts that get the numbers rightCopy-paste prompts for analysing a bank or card statement in ChatGPT or Claude, plus how to prepare the file so the totals come out right.
Updated 2026-11-19