AutoCount Cloud Accounting MCP
by z9systems
README.md
# AutoCount Cloud Accounting MCP
Ask Claude, ChatGPT or any MCP client about your **AutoCount Cloud Accounting** books in plain words:
> "Which customers still owe us money, and how much?"
> "What's on invoice I-000123?"
> "How many WB-5G bottles do we have at HQ?"
> "Which receipts paid Harbor Lane's invoices this month?"
This is a **read-only** [Model Context Protocol](https://modelcontextprotocol.io) server. It uses AutoCount's official [Cloud Accounting Integration API](https://accounting-api.autocountcloud.com/documentation/) with your own API key. It can look things up; it cannot create, change, void or delete anything.
Unofficial. Not made or endorsed by Auto Count Sdn Bhd. "AutoCount" is their trademark. This server is for **AutoCount Cloud Accounting**, not the desktop AutoCount Accounting 2.x.
## Tools
| Tool | What it does |
|---|---|
| `get_company_profile` | Company name, registration and tax numbers, home currency |
| `list_customers` / `get_customer` | Customers (debtors), with extra columns on request |
| `list_suppliers` / `get_supplier` | Suppliers (creditors) |
| `list_products` / `get_product` | Products by category, type and status, with variants and bundles |
| `get_stock_balance` | Balance quantity of a product per location |
| `list_sales_invoices` | Sales invoices by date, customer, sales agent or number, with the outstanding amount |
| `list_documents` | Any of: sales invoices, credit notes, quotations, purchase invoices, purchase orders, purchase returns, payment vouchers and receipts, journal entries, knock-off entries, stock adjustments, stock transfers |
| `get_document` | One document with all its lines |
| `get_knockoff_details` | Which receipts or payments settled a document, and the other way round |
| `get_outstanding_items` | Open items of a customer or supplier account and the net balance |
| `list_reference` | Chart of accounts, areas, departments, numbering formats, locations, payment methods, sales agents, tax entities |
Lists return up to 100 records per page (AutoCount's page size); the tools say when there are more pages. Long document lists are summarized unless you ask for `full`.
## What you need
1. An AutoCount Cloud Accounting account book. The API is included in every plan, including the free mode.
2. An API key: in Cloud Accounting open **Settings > API Keys > Create API Key** and copy the **Key ID** and **API Key**.
- **Give the key read permissions only.** New keys get "All Permissions"; edit the key and keep only the Get/listing methods. This server never writes, but a read-only key makes sure of it.
3. Your **account book ID**: the number after the domain in the address bar, e.g. `accounting.autocountcloud.com/`**`12345`**`/...`
4. Node.js 18.17 or newer.
## Set up
**Claude Desktop** (`claude_desktop_config.json`):
```json
{
"mcpServers": {
"autocount": {
"command": "npx",
"args": ["-y", "autocount-mcp"],
"env": {
"AUTOCOUNT_ACCOUNT_BOOK_ID": "12345",
"AUTOCOUNT_KEY_ID": "your key id",
"AUTOCOUNT_API_KEY": "your api key"
}
}
}
}
```
**Claude Code:**
```
claude mcp add autocount -e AUTOCOUNT_ACCOUNT_BOOK_ID=12345 -e AUTOCOUNT_KEY_ID=... -e AUTOCOUNT_API_KEY=... -- npx -y autocount-mcp
```
Cursor, Windsurf and other clients use the same command, arguments and environment variables.
**Docker:**
```
docker build -t autocount-mcp https://github.com/z9systems/autocount-mcp.git
docker run -i --rm -e AUTOCOUNT_ACCOUNT_BOOK_ID=12345 -e AUTOCOUNT_KEY_ID=... -e AUTOCOUNT_API_KEY=... autocount-mcp
```
### Settings
| Variable | Default | |
|---|---|---|
| `AUTOCOUNT_ACCOUNT_BOOK_ID` | | required |
| `AUTOCOUNT_KEY_ID` | | required |
| `AUTOCOUNT_API_KEY` | | required |
| `AUTOCOUNT_BASE_URL` | `https://accounting-api.autocountcloud.com` | |
| `AUTOCOUNT_TIMEOUT_MS` | `20000` | |
| `AUTOCOUNT_MAX_RETRIES` | `3` | retries after AutoCount's rate limit (about 100 requests a minute per account book) |
## Safety
- Only read methods can be called. The client has a fixed list of AutoCount's GET methods and its "listing" search methods (POST requests that take filters and change nothing); any other method or path is refused before a request is made.
- Your Key ID and API Key stay on your computer and are sent only to AutoCount's API.
- Use a key with read permissions only (see above).
## Test
```
npm install
npm test
```
`npm test` runs the server against a stand-in for the AutoCount API, built from AutoCount's published API specification, and calls every tool.
To check your own account book (read-only calls only):
```
node --env-file=.env test/live.mjs
```
with `AUTOCOUNT_ACCOUNT_BOOK_ID`, `AUTOCOUNT_KEY_ID` and `AUTOCOUNT_API_KEY` in `.env`.
Status: tested against a real AutoCount Cloud Accounting account book (free mode) on 27 November 2026, with customers, suppliers, products, purchase and sales invoices, a receipt and a knock-off.
## Want it set up for you?
[Z9 Systems](https://z9systems.com) connects AI to AutoCount, SQL Account, Xero, HubSpot and other systems: stock questions on WhatsApp, purchase orders turned into sales orders, payment reminders, and more, with a person approving every key step.
## Licence
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues