# bookie [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/yuens1002/bookie  
**GitHub Stars:** 1  
**npm Downloads (last month):** 229  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/bookie

## Description
Double-entry bookkeeping MCP server — import bank CSVs, categorize, reconcile, tax reports.

## Tools
Capabilities this server exposes over MCP:

- **manage_accounts** — Create/list/archive accounts (segment-scoped categories carry a tax line)
- **add_transaction** — Record one balanced double-entry (money flows from → to)
- **split_transaction** — One payment leg + N category legs (a receipt split across categories)
- **import_transactions** — Import a bank/card CSV as balanced entries — preview → confirm, with dedup
- **manage_rules** — Create/list/delete/test/suggest auto-categorization rules (categorize → account/property, or exclude) that power import-preview suggestions; `action=suggest` scans past categorizations and returns candidate rules for descriptions with 2+ occurrences
- **categorize_transaction** — Re-categorize the income/expense leg of an existing entry — explicit account or apply a stored rule
- **reconcile** — Match a bank/card statement CSV against the ledger and mark postings cleared — preview then commit
- **manage_receipts** — Attach, list, delete, or get a signed download URL for receipt data; optionally upload the original file (JPEG, PNG, WEBP, HEIC, or PDF) to Railway Bucket storage
- **generate_report** — Monthly reconciliation summary, or fiscal-year Schedule C / Schedule E tax P&L
- **export_report** — Render any report as markdown or CSV
- **send_report** — Run a report and email it via Resend
- **query_transactions** — List entries + postings by date range / account
- **account_balances** — Current balance per account

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "bookie": {
    "command": "npx",
    "args": ["-y","bookie-mcp"],
    "env": {
      "BOOKIE_DB_URL": "",
      "BOOKIE_DB_DIRECT_URL": "",
      "BOOKIE_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `BOOKIE_DB_URL`, `BOOKIE_DB_DIRECT_URL`, `BOOKIE_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What the bookie MCP server does

The bookie MCP server maintains a double-entry ledger for financial activity managed through an MCP host. It is designed for freelancers, solopreneurs, and rental-property owners who want to work with books from Claude, GPT, or another MCP-capable client. Accounts can carry segment-specific categories and tax lines, while transaction amounts use integer-cent money handling.

The ledger can receive individual entries, split a payment across multiple categories, or load transactions from a bank or card CSV. Stored rules can suggest categories during imports, and existing income or expense legs can be recategorized later. Receipt records may include attached files, with supported originals including JPEG, PNG, WEBP, HEIC, and PDF.

## How it works

Bookie uses Neon Postgres for its database. A local MCP client starts the server as a stdio process, while a deployed instance can expose an HTTP transport. The client supplies the database connection details and authentication settings through environment variables.

CSV workflows use review stages rather than immediately changing the ledger. An import first produces a preview, then confirmation creates balanced entries and applies deduplication. Reconciliation similarly previews matches between a statement and existing postings before marking them cleared. Reports can be generated for a month or fiscal year, exported to Markdown or CSV, and optionally sent through Resend.

The server also exposes two readable MCP resources: active accounts with current balances, and an annual report snapshot. Built-in prompts describe month-end close, uncategorized-transaction review, and tax-summary preparation workflows.

## Setup and configuration

The bookie MCP server requires Node 24 or newer, a Neon account, and an MCP-capable host. The repository setup flow installs dependencies, provisions the Neon database, creates secrets, writes the environment file, and pushes the schema. It then builds the local server.

For another machine using the same ledger, the published npm package can be started with `npx` and pointed at the existing Neon connection strings. A separate checkout and build are not required on those additional machines. The schema can also be pushed from the installed package when connection strings already exist.

Important configuration values include:

- `BOOKIE_TRANSPORT`: selects `stdio` or `http`.
- `BOOKIE_DB_URL`: Neon pooled database connection.
- `BOOKIE_DB_DIRECT_URL`: direct Neon connection, used for schema operations.
- `BOOKIE_API_KEY`: static bearer token for direct access and local clients.
- `PUBLIC_URL`, `JWT_SECRET`, `OAUTH_CLIENT_ID`, and `OAUTH_CLIENT_SECRET`: settings for deployed OAuth access.
- `RESEND_API_KEY` and `RESEND_FROM`: required for emailed reports.
- Railway Bucket AWS-compatible variables: enable receipt-file uploads when a bucket is connected.

## Tools and capabilities

The available tools cover the ledger lifecycle:

- Manage, list, and archive accounts.
- Add balanced entries or split one payment across several category legs.
- Import bank and card CSVs with preview, confirmation, and duplicate detection.
- Create, test, delete, and suggest categorization rules.
- Reclassify existing income or expense postings.
- Match statements against the ledger and commit cleared postings.
- Attach, list, delete, and download receipt data through signed URLs.
- Query postings by date range or account and inspect current balances.
- Generate monthly reconciliation summaries and fiscal-year Schedule C or Schedule E reports.
- Export reports as Markdown or CSV, or email them through Resend.

## Limitations and notes

The bookie MCP server does not provide a dashboard UI or multi-user access. Its intended workflow relies on an LLM host for reading CSVs, interpreting receipt images, and presenting written results, while the server handles ledger calculations and stored financial data.

Financial data is kept in the configured Neon Postgres database. Connection strings belong in ignored environment files or deployment variables. Receipt-file upload depends on Railway Bucket credentials; report emailing depends on Resend configuration. Remote HTTP deployment requires the additional public URL and authentication settings appropriate to that deployment.

_Full upstream README: https://allmcps.com/mcp/bookie/readme_

