Skip to main content

MCP stdio server for Realbyte Money Manager .mmbak backups.

Project description

moneymanager-mcp

CI PyPI

MCP stdio server for querying Realbyte Money Manager .mmbak exports with AI clients.

The server reads a local .mmbak file, which is a ZIP-wrapped SQLite database, through the moneymanager-parser SDK. It exposes tools for filtered queries, schema inspection, category listing, accounts (names and balances), and currencies. Query top/list rows include account and to_account for each transaction.

Install

pip install moneymanager-mcp

Run

Point the server at a backup file with MONEY_BACKUP or pass backup_path to each tool:

export MONEY_BACKUP=/path/to/backup.mmbak
moneymanager-mcp

Tools:

  • query(backup_path=None, date_from=None, date_to=None, month=None, category=None, search=None, kind="expense", group_by=None, top=None, list_n=None, limit=24)
  • schema(backup_path=None)
  • list_categories(backup_path=None)
  • accounts(backup_path=None)
  • currency(backup_path=None)

Invalid or missing backups return a JSON error payload instead of crashing the server.

Client configuration

These clients launch moneymanager-mcp as a local stdio server, so the command must be on your PATH. Installing with pipx keeps it isolated and globally available:

pipx install moneymanager-mcp
# or: pip install --user moneymanager-mcp

Point the server at your backup with the MONEY_BACKUP environment variable (shown below), or omit it and pass backup_path to each tool call.

GitHub Copilot CLI

Option A — interactive: start copilot, run the /mcp slash command, choose Add server, and enter the command moneymanager-mcp with the MONEY_BACKUP environment variable.

Option B — config file: add the server to ~/.copilot/mcp-config.json:

{
  "mcpServers": {
    "money-manager": {
      "type": "local",
      "command": "moneymanager-mcp",
      "args": [],
      "tools": ["*"],
      "env": { "MONEY_BACKUP": "/path/to/backup.mmbak" }
    }
  }
}

Restart copilot, then run /mcp to confirm the server and its tools are listed.

VS Code (GitHub Copilot agent mode)

Create .vscode/mcp.json in your workspace (or run MCP: Add Server from the Command Palette and pick Workspace):

{
  "servers": {
    "money-manager": {
      "type": "stdio",
      "command": "moneymanager-mcp",
      "args": [],
      "env": { "MONEY_BACKUP": "/path/to/backup.mmbak" }
    }
  }
}

Open the Chat view, switch to Agent mode, and select the tools via Configure Tools. Use MCP: Open User Configuration instead if you want the server available across all workspaces.

Claude Desktop

Open Settings → Developer → Edit Config (or edit the file directly) and add the server. The config file is at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows:

{
  "mcpServers": {
    "money-manager": {
      "command": "moneymanager-mcp",
      "env": { "MONEY_BACKUP": "/path/to/backup.mmbak" }
    }
  }
}

Restart Claude Desktop; the Money Manager tools then appear in the tools menu.

Tip: if a client cannot find moneymanager-mcp, use the absolute path to the executable (find it with which moneymanager-mcp) as the command value.

Development

python3 -m venv .venv
. .venv/bin/activate
pip install -e '.[dev]'
ruff check .
ruff format --check .
mypy src
pytest --cov

Contributing

Issues and pull requests are welcome. Please use generated sample backups in tests rather than personal exports.

License

MIT © 2026 Shubham Sharma

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moneymanager_mcp-0.3.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moneymanager_mcp-0.3.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file moneymanager_mcp-0.3.0.tar.gz.

File metadata

  • Download URL: moneymanager_mcp-0.3.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for moneymanager_mcp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 41a626b78188aa07feb69d122ba556b9aa9dba8e24f8e5616a46ba1066672794
MD5 d9dba8469d5e5db46757aa4482ae5a15
BLAKE2b-256 eac62c99b504ecd3f46d5624a0d17d08eb3c6d0f739d29d7687693c9360c3607

See more details on using hashes here.

Provenance

The following attestation bundles were made for moneymanager_mcp-0.3.0.tar.gz:

Publisher: release.yml on shubham1172/moneymanager-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file moneymanager_mcp-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for moneymanager_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cd7a3853b773d205ca088adf2dc94d7aa4ecfbe32d1b7f7494e2cb9fe16e0e8
MD5 1e474688c4aed194592b3781e9ad4d43
BLAKE2b-256 9b90dcbb700642ef6c6378e2aa71a95975847c3b08f15bfa0798590323b5e647

See more details on using hashes here.

Provenance

The following attestation bundles were made for moneymanager_mcp-0.3.0-py3-none-any.whl:

Publisher: release.yml on shubham1172/moneymanager-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page