# Expense

> Expense is an MCP server for finance and payments. MCP server for logging receipts, IRS mileage and expense reports from an AI assistant. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, Web, iOS, Android
- **Website:** https://expense.labnotes.org/ai
- **MCP Registry name:** org.labnotes/expense
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-27

## About

Expense is a personal expense tracker that you operate through an AI assistant. Once connected, the assistant can read a receipt from a photo or PDF, pick a category based on your past merchant history, and file it. Describe a drive in plain language and it will look up the stops, work out the route and price the trip at the IRS mileage rate for that date.

The server also handles the reporting side. You can ask a question about your spending and get an answer drawn from your own records, gather expenses into a report, and export it as a PDF. Pasting a bank statement lets the assistant spot charges that were never logged, and this reconciliation step is read-only, so it does not change existing entries.

Categories follow the IRS Schedule C lines, which suits freelancers, contractors and small business owners who need expense totals in tax-form terms. Connection uses OAuth 2.1 with PKCE, and you can review or revoke any connected app in the account settings.

## Features

- **Receipt capture from images:** Reads a photo or PDF of a receipt and assigns a category from your merchant history.
- **Natural-language mileage logging:** Turns a described trip into a mileage entry priced at the IRS rate for its date.
- **Spending questions:** Answers questions about your own expenses, such as totals for a category over a period.
- **Report building and PDF export:** Creates or closes reports, moves expenses into them and exports the PDF.
- **Read-only statement reconciliation:** Compares a pasted bank statement against logged expenses and lists unlogged charges without writing changes.
- **Schedule C categories:** Organizes expenses under IRS Schedule C lines for tax-season totals.

## Good for

- Log receipts from chat instead of filling out forms
- Track business mileage at the IRS rate without a manual log
- Find bank charges that were never recorded as expenses
- Prepare a quarterly expense report and export it as a PDF
- Check category totals such as meals and entertainment before filing taxes

## Install

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

```sh
claude mcp add --transport http expense https://expense.labnotes.org/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": {
    "expense": {
      "type": "http",
      "url": "https://expense.labnotes.org/mcp"
    }
  }
}
```

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

```text
https://expense.labnotes.org/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": {
    "expense": {
      "url": "https://expense.labnotes.org/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "expense": {
      "type": "http",
      "url": "https://expense.labnotes.org/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://expense.labnotes.org/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 expense --url https://expense.labnotes.org/mcp
```

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

```toml
[mcp_servers.expense]
url = "https://expense.labnotes.org/mcp"
```

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

```json
{
  "mcpServers": {
    "expense": {
      "httpUrl": "https://expense.labnotes.org/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http expense https://expense.labnotes.org/mcp

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

```json
{
  "mcpServers": {
    "expense": {
      "serverUrl": "https://expense.labnotes.org/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "expense": {
      "url": "https://expense.labnotes.org/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": {
    "expense": {
      "type": "streamableHttp",
      "url": "https://expense.labnotes.org/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "expense": {
      "url": "https://expense.labnotes.org/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": {
    "expense": {
      "url": "https://expense.labnotes.org/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "expense": {
      "url": "https://expense.labnotes.org/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "expense": {
      "url": "https://expense.labnotes.org/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://expense.labnotes.org/mcp
```

Enter a Name (for example "Expense"), 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": {
    "expense": {
      "type": "http",
      "url": "https://expense.labnotes.org/mcp"
    }
  }
}
```

## Tools

Going by the server's labels and the tool names, 2 of 14 tools change data; 4 names don't say. From the server's own tool labels and tool names; not verified by us.

- `capture_receipt`: Capture a receipt from a base64 image/PDF or a URL: extract the merchant, amount and category (reusing the merchant's previous category when known), store the image, and create the expense. A non-USD amount is converted to USD at the ECB reference rate for the expense date. Returns the extracted fields and the new expense id.
- `log_mileage`: Log a driving trip: geocode the stops, compute the route distance and the amount at the IRS rate for the trip's date and type, and create the mileage expense. The trip runs one way, from the first stop to the last; pass roundTrip true when the drive returns to its first stop.
- `list_expenses` (says read-only): Query expenses with optional filters (date range, category, merchant, report, unreported-only, type). Returns newest first. Amounts are decimal strings.
- `expense_summary` (says read-only): Totals for expenses matching the filters: overall count + sum, and per-category breakdown. The answer to "how much did I spend on X?".
- `list_reports` (says read-only): All reports with their expense counts and exact totals.
- `create_report` (name suggests: changes): Create a report (e.g. "Q3 2026") to group expenses. Fails if the name already exists.
- `close_report`: Close (or reopen) a report. A closed report refuses every expense filed to it until it is reopened, so closing asks the user to confirm first; a client that cannot answer the prompt passes confirm: true. Reopening needs no confirmation.
- `add_to_report` (name suggests: changes): Move an expense into a report. Also renames the stored receipt image to the dated convention name when the expense has a date and original filename.
- `export_report` (says read-only): Render a report as a PDF (the same layout as the web export: grouped by category, mileage rows with type/rate/distance, and a 'Receipts & routes' appendix — receipt images plus a real route map per mileage trip with its date, mileage, and amount listed beside it) and return it base64-encoded. Decode and save as a .pdf file.
- `list_categories` (says read-only): The account's category names (alphabetical) — use these when categorizing expenses.
- `list_merchants` (says read-only): Merchant names previously used, most recent first.
- `get_settings` (says read-only): Account settings: the home address (start and end of every trip), the account's named locations, and the IRS mileage-rate master table (period + type).
- `reconcile` (says read-only): Match a bank statement against logged expenses. Pass the statement as CSV or QFX/OFX text (CSV: header row optional, date/description/amount columns, signed amounts or Debit/Credit split; QFX/OFX: FITID honored). Returns matched pairs (high confidence), statement lines needing review (amount+date match but merchant differs, or ambiguous), statement lines with no matching receipt, and logged receip
- `apply_reconciliation`: Apply what a person accepted from `reconcile` and complete the run. `matches` are `{ line, expenseId }` pairs (a matched pair's line, or a review candidate) and are re-checked against a fresh match, so only an expense the statement supports for that line is accepted. `additions` are the lines with no expense behind them, filed as new expenses from the statement's own date and amount; a refund line

## FAQ

### How do I connect Expense to my AI assistant?

Add the endpoint https://expense.labnotes.org/mcp to your MCP configuration. A browser window opens for you to sign in and approve access. No API key or headers are required.

### Can the assistant see my password?

No. Connection uses OAuth 2.1 with PKCE, so the assistant never receives your password. Access tokens expire after an hour and refresh tokens rotate.

### Can I disconnect an assistant later?

Yes. Settings → Agents & API (MCP) lists every connected application, and you can revoke a single token or the whole app.

### Does reconciliation change my expenses?

No. Statement reconciliation is read-only and leaves existing expenses as they are.

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

Run this command in your terminal: claude mcp add --transport http expense https://expense.labnotes.org/mcp

### What are the best alternatives to Expense?

The closest alternatives to Expense are ExpenseLM, Spendpoint, Expense MCP, SiftSum and Finance Intelligence MCP.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [ExpenseLM](https://ai-powered.com/mcp/expenselm): ExpenseLM is a freemium MCP server for finance and payments.
- [Spendpoint](https://ai-powered.com/mcp/spendpoint): Spendpoint is an MCP server for finance and payments.
- [Expense MCP](https://ai-powered.com/mcp/expense-mcp): Expense MCP is an open-source MCP server for finance and payments.
- [SiftSum](https://ai-powered.com/mcp/siftsum): SiftSum is a free MCP server for finance and payments.
- [Finance Intelligence MCP](https://ai-powered.com/mcp/finance-intelligence-mcp): Finance Intelligence MCP is an open-source MCP server for finance and payments.
- [Mobile Accounting](https://ai-powered.com/mcp/mobile-accounting): Mobile Accounting is a freemium MCP server for finance and payments.
- [Expenselm MCP Server](https://ai-powered.com/mcp/expenselm-mcp-server): Expenselm MCP Server is an MCP server for finance and payments.
- [Receiptix](https://ai-powered.com/mcp/receiptix): Receiptix is an MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/expense-2
