# longbook

> longbook is an MCP server for finance and payments. Let your AI read your bills and subscriptions and propose changes for you to review. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Platforms:** macOS, iOS, API, CLI
- **Website:** https://longbook.app/mcp/
- **Repository:** https://github.com/mxmaster2s/longbook-code/tree/HEAD/packages/mcp
- **MCP Registry name:** app.longbook/mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-11-23

## About

longbook keeps recurring commitments such as subscriptions, insurance, EMIs, rent and fees as a plain folder of files the user owns. This server lets an assistant answer from that record with real arithmetic: next payment day, upcoming cashflow, spending by category, account or person. Amounts stay per currency and are never converted or blended.

There are three doors. A local stdio server reads the owner's folder and the statements in their documents folder, and writes straight to it. A browser AI signs in at longbook.app/mcp and reads the hosted copy, writing only suggestions once the owner enables them. A scheduled agent uses an access key. In every case writes land in the app's Proposals screen, where the whole batch can be kept or undone.

A typical flow is attaching a bank statement to a chat, having the AI record the charges as one batch and list the ones that clearly repeat, then reviewing it in the app. The README says nothing in the cloud edits the memory itself.

## Features

- **Per-currency arithmetic:** Next payment, cashflow and spending are computed without blending currencies.
- **Review before keeping:** Every write waits in the Proposals screen to keep or undo as one batch.
- **Three connection routes:** Local stdio, signed-in browser AI, or a scheduled agent with a key.
- **Statement reading:** The local server reads PDF, xlsx and CSV statements from a documents folder.
- **Guided prompts:** Prompts walk the AI through setup, monthly statements and categorising.

## Good for

- Turn a year of bank statements into a list of recurring charges
- Ask which subscriptions renew in the next two weeks
- Break down spending by category or family member
- Have a morning agent record bank alerts and receipts as proposals
- Categorise commitments that lack a category

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://longbook.app/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://longbook.app/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://longbook.app/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://longbook.app/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://longbook.app/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://longbook.app/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://longbook.app/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://longbook.app/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://longbook.app/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://longbook.app/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://longbook.app/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://longbook.app/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://longbook.app/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://longbook.app/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://longbook.app/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://longbook.app/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://longbook.app/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://longbook.app/mcp
```

Enter a Name (for example "longbook"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://longbook.app/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 25 tools deletes data and 5 change data; 15 names don't say. From the server's own tool labels and tool names; not verified by us.

- `next_payment`: Next payment due
- `upcoming`: Upcoming charges
- `cashflow`: Cash flow overview
- `spending_by_category`: Spending grouped by category
- `spending_by_account`: Spending grouped by account
- `spending_by_person`: Spending grouped by person
- `commitments`: List recurring commitments
- `charges`: List charges
- `search` (name suggests: reads): Search the memory
- `accounts`: List accounts
- `people`: List people
- `tags`: List tags
- `whoami`: Show who is connected
- `read_guide` (name suggests: reads): Read the usage guide
- `add_commitments` (name suggests: changes): Add commitments as a proposal
- `update_commitment` (name suggests: changes): Update a commitment
- `mark_paid`: Mark a charge paid
- `add_charges` (name suggests: changes): Add charges
- `remove_charges` (name suggests: deletes): Remove charges
- `cancel_commitment` (name suggests: changes): Cancel a commitment
- `promote_to_recurring`: Turn a charge into a recurring commitment
- `leave_insight`: Leave an insight note
- `create_report` (name suggests: changes): Create a report
- `list_documents` (name suggests: reads): List statements in the documents folder (local only)
- `read_document` (name suggests: reads): Read a statement document (local only)

## FAQ

### Can the AI change my data without asking?

No. Writes arrive as proposals in the app's Proposals screen for you to keep or undo.

### How do I connect a browser AI?

Add https://longbook.app/mcp as a connector and sign in through the browser.

### What do I run locally?

npx -y @longbook/mcp@latest, with --vault pointing at your longbook folder where needed.

### Does longbook need Node?

The README says Node 18 or later for the local server.

### How do I add longbook to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://longbook.app/mcp

### What are the best alternatives to longbook?

The closest alternatives to longbook are Ha MCP, Solana MCP by Vybe, Concord MCP, Tapetide - Indian Stock Market MCP and Open Sunsama.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Open Sunsama](https://ai-powered.com/mcp/open-sunsama): Open Sunsama is an open-source MCP server for productivity.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [Dayfile.app](https://ai-powered.com/mcp/dayfile-app): Dayfile.app is an open-source MCP server for productivity.

---
Source: https://ai-powered.com/mcp/longbook
