Reading time: ~7 min
It is the end of the month. There is a folder with forty phone photos of paper receipts, a handful of PDF invoices saved from your inbox, and a spreadsheet that needs one row per purchase: date, vendor, tax and total. You already have Claude open all day. The obvious question is whether Claude can do the typing for you.
It can, and the whole job takes one sentence. This post shows the setup, the exact prompt, the CSV that comes out, and what each column means, so you can decide whether it fits your bookkeeping before you spend a credit.
Why a folder of receipts is still a chore
Claude reads a single receipt you drop into the chat well. A folder is a different job, and it changes what you need from the tool:
- Files, not attachments. Forty receipts means forty uploads. You want the assistant to open the folder on your disk itself.
- The same columns every time. A spreadsheet only works when the twentieth receipt lands in the same columns as the first, whatever the store, country or language.
- Values copied, not calculated. The total in your sheet should be the total printed on the paper. The reasoning behind that rule is in our receipt and invoice JSON schema guide.
- A file at the end. The result belongs in a CSV you can open in Excel or Google Sheets, not in a long chat reply you have to copy out by hand.
That is the gap the WiseOCR MCP server fills.
What the WiseOCR MCP server adds to Claude
The Model Context Protocol (MCP) is an open standard that lets an AI assistant call tools running on your computer. Claude Desktop, Claude Code, Cursor and VS Code all support it, and each tool appears to the assistant as something it can use when your request calls for it.
wiseocr-mcp is a free npm package that gives your assistant four tools:
extract_receiptreads one photo, scan or PDF from your disk or from a public link.extract_receipt_from_textturns text you already have, such as an e-mail receipt, into the same JSON.extract_receipts_batchreads up to 100 documents from files and folders and saves the results to a new CSV or JSON file.get_accountshows your account e-mail and remaining credits, free of charge.
The server runs on your computer, so it opens files by their path. Each document is sent to the WiseOCR API, which recognises the text, checks that the document really is a receipt or an invoice, and maps every value to a fixed field. You never call the tools by name: you ask in plain words and Claude picks the right one.
Set it up in two steps
You need Node.js 20 or newer. Your app starts the server through npx, so there is nothing else to install.
1. Create an API key. Sign in to WiseOCR and generate a key under Dashboard → API Keys. It is the same key the API, Make and Zapier use.
2. Add WiseOCR to your app. In Claude Code, one command does it:
claude mcp add wiseocr --env WISEOCR_API_KEY=your-api-key -- npx -y wiseocr-mcp
Add --scope user to have WiseOCR in every project. In Claude Desktop, open Settings → Developer → Edit Config, add this entry to claude_desktop_config.json and restart the app:
{
"mcpServers": {
"wiseocr": {
"command": "npx",
"args": ["-y", "wiseocr-mcp"],
"env": {"WISEOCR_API_KEY": "your-api-key"}
}
}
}
Cursor uses the same entry in .cursor/mcp.json, and VS Code has its own format with a secure prompt for the key. Copy-ready snippets for every app are on the WiseOCR MCP server page.
To check the connection, ask: "How many WiseOCR credits do I have left?" Claude answers with your account e-mail and balance, and the call costs nothing.
From a folder to a CSV in one prompt
Here is the prompt:
Extract every receipt in ~/Receipts/October and put them in a CSV with date, vendor, total and VAT.
Claude calls extract_receipts_batch with the folder path and a new file name, for example ~/Receipts/october.csv. The server finds every supported file in that folder (JPG, PNG, WebP, GIF, BMP, TIFF, PDF and .txt), processes three documents at a time and writes one row per document. When it finishes, Claude gets a short summary: how many documents were read and how many credits they used. The rows themselves go straight into the file, so a hundred receipts do not fill up the conversation.
This is what the file looks like for three of our sample documents: a US receipt, a US invoice and a German grocery receipt. The values are the real API output for those documents:
file,status,error,documentType,time,vendor,taxNo,documentNo,country,currency,totalNet,totalTax,total,itemCount
/Users/you/Receipts/October/northwind.jpg,ok,,receipt,2026-03-14T15:42,Northwind Retail LLC (Northwind Home & Garden),12-3456789,,US,USD,,6.87,90.09,4
/Users/you/Receipts/October/cedarline-invoice.pdf,ok,,invoice,2026-09-14,Cedarline Office Supply LLC,,INV-2026-0418,US,USD,2361.97,194.86,2556.83,4
/Users/you/Receipts/October/lindenhain.jpg,ok,,receipt,2026-03-21T09:48,Lindenhain Naturkost GmbH (Lindenhain Biomarkt),DE123456789,,DE,EUR,,,33.08,6
What each column holds:
- file – the path of the document, so every row points back to its source.
- status / error –
okfor every document that was read; anything else comes with a reason you can act on. - documentType –
receiptorinvoice, detected automatically. - time – the purchase date in ISO format, with the time when the document prints one.
- vendor – the seller's company name as printed, with the brand you know in brackets when it differs from the company name.
- taxNo / documentNo – the seller's tax ID and the invoice number, whenever they are printed.
- country / currency – ISO codes, so a folder that mixes dollars and euros still sorts cleanly.
- totalNet / totalTax / total – amounts as plain decimals, exactly as printed.
- itemCount – how many line items the document has.
Look at the German receipt: it prints its VAT per rate (7% and 19%) and no single VAT total, so totalTax stays empty instead of being added up by the model. The per-rate amounts, along with every line item, are in the JSON version of the output. Ask for october.json instead of october.csv when you need them.
A few practical details:
- Receipts split across several folders? Name them all in one prompt.
- Up to 100 documents go into one call. For a bigger archive, ask Claude to work through it month by month.
- The output is always a new file. Existing files are never overwritten, so last month's CSV is safe.
More things to ask
The batch tool is the headline, and the other three tools cover the rest of the month:
- "Read ~/Desktop/invoice-2041.pdf and tell me the invoice number, the seller's tax ID and the total." One document, full JSON with line items, and Claude answers the question from it.
- "Turn the receipt at https://example.com/
receipt.pdf into JSON." Public links to images and PDFs work the same way as local files. - "Find my taxi receipts in Gmail from last month and turn them into JSON." With a Gmail MCP server connected, Claude finds the e-mails and passes their text to WiseOCR. Text needs no OCR step, and it comes back in the same structure as a scanned receipt.
- "Group october.csv by vendor and show the totals per currency." If your assistant can open local files, as Claude Code and Cursor can, it can work with the CSV it just created.
What it costs
The package is free. Every page uses one credit from the same balance as the WiseOCR API, from $0.03 per page on the largest credit pack. A month of 40 single-page receipts uses 40 credits; a three-page PDF invoice uses three. Asking for your remaining credits is free.
You can buy a credit pack that stays valid for a year or subscribe monthly. The current packs are on the pricing page.
Use it as a monthly expense tracker
The routine that works well is simple. Keep one folder per month, drop every receipt and invoice into it as it arrives, and run the same prompt on the first day of the next month. The CSV goes into your expense spreadsheet or your accounting software's import, and the file column keeps the link to the original if anyone asks for it.
At tax time the same file already has what an accountant looks for: the seller's tax ID, the net amount, the tax and the total for every document, each with its currency.
When you would rather have receipts processed the moment they arrive, without opening a chat, the same extraction runs in automation tools. The Make.com integration and the Zapier app send every new receipt to Google Sheets or your accounting software on their own. And to see the full JSON for a document of your own first, try the receipt to JSON converter.
WiseOCR turns receipts and invoices into structured JSON through the API, Make, Zapier or your AI assistant. Try it on your own receipt in the live demo.
