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. Queries can filter by account or group totals by account. 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, account=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.4.0.tar.gz (7.2 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.4.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: moneymanager_mcp-0.4.0.tar.gz
  • Upload date:
  • Size: 7.2 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.4.0.tar.gz
Algorithm Hash digest
SHA256 d077ccdce3a425c05889eb589ed2e3b270997ecba62738ba5a180a3bac9cd7bf
MD5 ddc84a7f671c8078b61cb7523fc0b532
BLAKE2b-256 fd207ce2e54049216996b4ec921ddbaf844ed50cf372a59ca9b8b88c93a76afb

See more details on using hashes here.

Provenance

The following attestation bundles were made for moneymanager_mcp-0.4.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.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for moneymanager_mcp-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2379275995d711a82df6aa4bc8cd97737cb05f2057c0b10e57fc68c2147082f
MD5 256d35dc9262532df95eacf9e4a630e9
BLAKE2b-256 2adf75e7b1eef9d25a4e5518e136aaac45f3bf9e8c20c4b13a26194c4c729f84

See more details on using hashes here.

Provenance

The following attestation bundles were made for moneymanager_mcp-0.4.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