Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Work with your Crunch Accounting books: expenses, receipts, invoices, clients, suppliers and banking
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MCP_TRANSPORT, CRUNCH_CLIENT_ID, CRUNCH_CLIENT_SECRET, CRUNCH_REDIRECT_URI, CRUNCH_REFRESH_TOKEN, CRUNCH_ALLOW_WRITES, CRUNCH_ALLOW_DELETES, CRUNCH_ALLOW_EMAIL, CRUNCH_TOOLSETS, CRUNCH_FILES_DIR, CRUNCH_AUDIT_LOGค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add crunch --env MCP_TRANSPORT='ใส่ค่าของคุณ' --env CRUNCH_CLIENT_ID='ใส่ค่าของคุณ' --env CRUNCH_CLIENT_SECRET='ใส่ค่าของคุณ' --env CRUNCH_REDIRECT_URI='ใส่ค่าของคุณ' --env CRUNCH_REFRESH_TOKEN='ใส่ค่าของคุณ' --env CRUNCH_ALLOW_WRITES='ใส่ค่าของคุณ' --env CRUNCH_ALLOW_DELETES='ใส่ค่าของคุณ' --env CRUNCH_ALLOW_EMAIL='ใส่ค่าของคุณ' --env CRUNCH_TOOLSETS='ใส่ค่าของคุณ' --env CRUNCH_FILES_DIR='ใส่ค่าของคุณ' --env CRUNCH_AUDIT_LOG='ใส่ค่าของคุณ' -- docker run -i --rm -e MCP_TRANSPORT -e CRUNCH_CLIENT_ID -e CRUNCH_CLIENT_SECRET -e CRUNCH_REDIRECT_URI -e CRUNCH_REFRESH_TOKEN -e CRUNCH_ALLOW_WRITES -e CRUNCH_ALLOW_DELETES -e CRUNCH_ALLOW_EMAIL -e CRUNCH_TOOLSETS -e CRUNCH_FILES_DIR -e CRUNCH_AUDIT_LOG ghcr.io/mattoddie/crunch-mcp:0.4.1เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"crunch": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_TRANSPORT",
"-e",
"CRUNCH_CLIENT_ID",
"-e",
"CRUNCH_CLIENT_SECRET",
"-e",
"CRUNCH_REDIRECT_URI",
"-e",
"CRUNCH_REFRESH_TOKEN",
"-e",
"CRUNCH_ALLOW_WRITES",
"-e",
"CRUNCH_ALLOW_DELETES",
"-e",
"CRUNCH_ALLOW_EMAIL",
"-e",
"CRUNCH_TOOLSETS",
"-e",
"CRUNCH_FILES_DIR",
"-e",
"CRUNCH_AUDIT_LOG",
"ghcr.io/mattoddie/crunch-mcp:0.4.1"
],
"env": {
"MCP_TRANSPORT": "ใส่ค่าของคุณ",
"CRUNCH_CLIENT_ID": "ใส่ค่าของคุณ",
"CRUNCH_CLIENT_SECRET": "ใส่ค่าของคุณ",
"CRUNCH_REDIRECT_URI": "ใส่ค่าของคุณ",
"CRUNCH_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"CRUNCH_ALLOW_WRITES": "ใส่ค่าของคุณ",
"CRUNCH_ALLOW_DELETES": "ใส่ค่าของคุณ",
"CRUNCH_ALLOW_EMAIL": "ใส่ค่าของคุณ",
"CRUNCH_TOOLSETS": "ใส่ค่าของคุณ",
"CRUNCH_FILES_DIR": "ใส่ค่าของคุณ",
"CRUNCH_AUDIT_LOG": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"crunch": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_TRANSPORT",
"-e",
"CRUNCH_CLIENT_ID",
"-e",
"CRUNCH_CLIENT_SECRET",
"-e",
"CRUNCH_REDIRECT_URI",
"-e",
"CRUNCH_REFRESH_TOKEN",
"-e",
"CRUNCH_ALLOW_WRITES",
"-e",
"CRUNCH_ALLOW_DELETES",
"-e",
"CRUNCH_ALLOW_EMAIL",
"-e",
"CRUNCH_TOOLSETS",
"-e",
"CRUNCH_FILES_DIR",
"-e",
"CRUNCH_AUDIT_LOG",
"ghcr.io/mattoddie/crunch-mcp:0.4.1"
],
"env": {
"MCP_TRANSPORT": "ใส่ค่าของคุณ",
"CRUNCH_CLIENT_ID": "ใส่ค่าของคุณ",
"CRUNCH_CLIENT_SECRET": "ใส่ค่าของคุณ",
"CRUNCH_REDIRECT_URI": "ใส่ค่าของคุณ",
"CRUNCH_REFRESH_TOKEN": "ใส่ค่าของคุณ",
"CRUNCH_ALLOW_WRITES": "ใส่ค่าของคุณ",
"CRUNCH_ALLOW_DELETES": "ใส่ค่าของคุณ",
"CRUNCH_ALLOW_EMAIL": "ใส่ค่าของคุณ",
"CRUNCH_TOOLSETS": "ใส่ค่าของคุณ",
"CRUNCH_FILES_DIR": "ใส่ค่าของคุณ",
"CRUNCH_AUDIT_LOG": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MCP_TRANSPORT envCRUNCH_REDIRECT_URI envCRUNCH_ALLOW_WRITES envCRUNCH_ALLOW_DELETES envCRUNCH_ALLOW_EMAIL envCRUNCH_TOOLSETS envCRUNCH_FILES_DIR envCRUNCH_AUDIT_LOG envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mattoddie ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: CRUNCH_CLIENT_ID, CRUNCH_CLIENT_SECRET, CRUNCH_REFRESH_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.1) เข้า registry 16 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker, MCPB ในเครื่องด้วย
ในหมวดเดียวกันมี Finance Toolkit, SolidInvoice, Korea Tax Calculator
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Talk to your books.
An open-source Model Context Protocol server for Crunch Accounting, the UK online accounting service. It lets Claude and other AI assistants read and, if you allow it, update your expenses, receipts, invoices, clients, suppliers and bank accounts, all from one small Docker container.
[crunch-mcp.mattoddie.dev](https://crunch-mcp.mattoddie.dev)
Quick start · Documentation · Tool reference · Contributing
"How's the business looking this month?"
*You have £18,240 across your two bank accounts and £312 on the company credit card. Three sales invoices are unpaid, £7,800 in total. INV-0042 to Example Client Ltd (£2,400) is 12 days overdue; the other two aren't due yet. On the spending side, four September expenses have no receipt attached and one bill from Example Hosting Ltd (£96) is still unpaid. Want me to draft a polite chaser for INV-0042, or list the expenses that are missing receipts?*
Ask about your business in plain English. The assistant picks from 70 tools to look things up and, if you allow it, make changes. Some examples:
ghcr.io/mattoddie/crunch-mcp) for linux/amd64 and linux/arm64, about 21 MB. It's a single static Go binary on a distroless base, with no shell or package manager, running as a non-root user. It serves Streamable HTTP for a long-running service, or stdio for docker run -i. You can also run the binary on its own.dry_run: true to show the request it would send, with a field-by-field diff for updates, without changing anything. CRUNCH_AUDIT_LOG records each change in a JSON Lines audit log..mcpb) for macOS, Windows and Linux, with a settings form and no Docker needed.search, fields and limit to fetch only what's needed.Using Claude Desktop? Download the extension bundle for your computer from the latest release, open it, enter your Crunch client ID and ask Claude to *"log in to Crunch"*. See Claude Desktop. The steps below set up the Docker server for every other client.
You need Docker, a Crunch account, Crunch API access and an MCP client such as Claude Code.
1. Get API access. Apply for access to Crunch's public API through the application form linked from Crunch's developer documentation. Crunch sends you a client ID, and a client secret if you're set up as a confidential client. There's no sandbox, so a free Crunch account is a good place to try things. Getting started has the details.
2. Set up the server.
mkdir crunch-mcp && cd crunch-mcp
curl -fsSLO https://raw.githubusercontent.com/mattoddie/crunch-mcp/main/compose.yaml curl -fsSL https://raw.githubusercontent.com/mattoddie/crunch-mcp/main/example.env -o .env
openssl rand -hex 32)
3. Log in to Crunch and start the server.
docker compose run --rm -p 127.0.0.1:8976:8976 crunch-mcp login # open the URL it prints and click Allow
docker compose up -d
If your browser isn't on the Docker host, the page after Allow won't load. That's fine: copy the URL from the address bar and paste it into the terminal.
4. Connect your assistant.
claude mcp add --transport http crunch http://<docker-host>:8080/mcp \
--header "Authorization: Bearer "
Now ask *"How's my business doing?"* in Claude Code.
Using Claude Desktop, VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i or the local binary.
crunch-mcp is listed in the official MCP Registry as io.github.mattoddie/crunch-mcp, so clients that install servers from the registry can set it up for you, with the Docker image in stdio mode or an extension bundle.
Out of the box the assistant can look but not touch. To let it make changes, add these to .env:
CRUNCH_ALLOW_WRITES=true # create and update expenses, invoices, clients, suppliers, payments, attachments…
CRUNCH_ALLOW_DELETES=true # also allow deleting records and removing payments (needs writes) CRUNCH_ALLOW_EMAIL=true # also allow emailing invoices and payment reminders to customers (needs writes) CRUNCH_TOOLSETS=account,reference,expenses,invoices,clients,suppliers # optional: expose fewer tools CRUNCH_AUDIT_LOG=stderr # optional: log every change (or an absolute file path; see docs/configuration.md)
The login needs matching scopes, so log in again after turning on writes or deletes:
docker compose stop
docker compose run --rm -p 127.0.0.1:8976:8976 crunch-mcp login docker compose up -d
Ask for a dry run first when it matters: *"Record that receipt, but show me a dry run first."*
Read Security before turning on writes for your real books.
| Toolset | What's covered |
|---|---|
account | Login status and the OAuth login flow, the logged-in user, company details (VAT number and scheme, addresses) and a one-call business overview |
reference | The values Crunch expects: expense types, VAT types, payment methods, countries, open accounting periods, directors and employees |
banking | Bank accounts and credit cards: balances, details, payments recorded against them, opening balances, default accounts, archiving |
clients | Clients (the customers you invoice): list, look up, create, update and delete |
suppliers | Suppliers: list, look up, create, update, archive and delete |
expenses | Expenses: list and filter, totals, create with lines, payments and receipts, update, record and remove payments, attach and download receipts, delete |
recurring | Recurring expenses that Crunch creates on a schedule: list, create, pause or change, delete |
invoices | Sales invoices: list and filter, totals, create drafts, update, issue, email to the customer, record and remove payments, attachments, PDF download, delete |
raw | An escape hatch that calls any Crunch public API endpoint |
See the [tool reference](docs/tools.md) for every tool and argument. Ready-made prompts like business_health_check, record_receipt and chase_overdue_invoices chain the tools together for common jobs.
The docs are also published at [crunch-mcp.mattoddie.dev/docs](https://crunch-mcp.mattoddie.dev/docs/), with search.
| 🚀 Getting started | Step-by-step setup, from API access to first question |
| 🔌 Connecting MCP clients | Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode |
| ⚙️ Configuration | Every environment variable, how login and tokens work, Docker secrets, toolsets |
| 🐳 Deployment | Compose, image tags, upgrades, TLS reverse proxy, hardening, running without Docker |
| 💬 Using crunch-mcp | Example conversations, prompts, how changes, receipts and PDFs work |
| 🧰 Tool reference | Every tool and prompt, generated from the code |
| 🛡️ Security | Threat model, least privilege, token storage, safe write setups |
| 📡 Compatibility | The Crunch API, its limits, and known gaps |
| 🩹 Troubleshooting | Common errors and how to fix them |
| 🛠️ Development | Architecture, adding a tool, testing |
Contributions are very welcome, whether that's bug reports, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.
MIT © Matt Oddie
*crunch-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Crunch (E-Crunch Ltd). "Crunch" is a trademark of E-Crunch Ltd.*