Skip to main content
Glama
actual-mcp

actual-mcp

by slushpupie

actual-mcp

An MCP (Model Context Protocol) server that bridges AI/LLM applications to Actual Budget. Exposes your budget data as MCP tools for use with any MCP-compatible client.

Tools

Tool

Description

list_accounts

List all accounts (name, type, balance, off-budget/closed flags)

get_transactions

Get recent transactions for an account (sorted newest-first)

add_transaction

Create a new transaction and commit it to the server

get_budget_balances

List budget categories with group and income flag

Related MCP server: actual-mcp-server

Setup

Prerequisites

  • Python 3.12+

  • An Actual Budget server (self-hosted)

  • uv (recommended) or pip

Installation

# Clone the repo
git clone https://github.com/slushpupie/actual-mcp
cd actual-mcp

# Install dependencies
uv sync

# Configure your Actual server credentials
cp .env.example .env
# Edit .env with your server URL, password, and budget ID

Configuration

Set these environment variables (or add them to a .env file):

Variable

Required

Description

ACTUAL_SERVER_URL

Yes

URL of your Actual Budget server (e.g. http://localhost:5006)

ACTUAL_PASSWORD

Yes

Your Actual server password

ACTUAL_BUDGET_ID

Yes

The budget ID or unique budget name to operate on

Usage

Direct

uv run python mcp_server.py

This starts an MCP server over stdio, ready to connect to an MCP client.

Docker

make build
make run

Or manually:

docker run -i --rm \
  -e ACTUAL_SERVER_URL=http://host.docker.internal:5006 \
  -e ACTUAL_PASSWORD=your_password \
  -e ACTUAL_BUDGET_ID=your_budget_id \
  actual-mcp

Development

# Run tests
uv run python test_mcp_mock.py

# Run with uv
uv run python mcp_server.py

Available Tools

4 tools
add_transactionC

Adds a new transaction to an account.

Inputs: date (required), amount (required), account_id (required), payee_name (required), +2 more. Returns: result

get_budget_balancesB

Returns budget category balances.

Inputs: no named parameters. Returns: result

get_transactionsC

Gets recent transactions for a specific account.

Inputs: account_id (required), limit. Returns: result

list_accountsA

Lists all accounts in the budget.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: listing accounts, getting transactions, adding transactions, and retrieving budget balances. There is no overlap.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern (e.g., list_accounts, get_transactions), making it easy to predict and remember.

    Tool Count5/5

    With 4 tools, the set is well-scoped for a budgeting MCP server, covering the core operations without being too sparse or overwhelming.

    Completeness4/5

    The tools cover listing accounts, viewing transactions, adding transactions, and checking budget balances. However, update and delete operations for transactions are missing, which is a minor gap.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      C
      maintenance
      Exposes YNAB API endpoints as MCP tools, allowing AI assistants to manage budgets, accounts, transactions, and more through natural language.
      41
      77 PyPI
      101
      MIT
    • A
      license
      A
      quality
      A
      maintenance
      Lets AI assistants read and manage a self-hosted Actual Budget: accounts, transactions, budgets, categories, payees, rules, schedules and reports. Runs over stdio for Claude Desktop and Claude Code, or over HTTP with Bearer or OIDC auth for LibreChat and LobeChat.
      15
      5,067 npm
      83
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables LLMs to interact with a self-hosted Actual Budget instance, providing financial data and management tools with correct financial semantics and no cents math.
      14
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for Actual Budget that enables AI agents to read accounts, transactions, categories, and budgets, as well as create and update transactions and transfers.
      11
      1
      MIT