Skip to main content

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

Metadata

Release files for moneymanager-mcp 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moneymanager-mcp 0.4.0
File Size Uploaded Provenance
moneymanager_mcp-0.4.0.tar.gz 7.2 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for moneymanager-mcp 0.4.0
File Interpreter ABI Platform
moneymanager_mcp-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 kB

Release files / moneymanager_mcp-0.4.0.tar.gz

Download URL moneymanager_mcp-0.4.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d077ccdce3a425c05889eb589ed2e3b270997ecba62738ba5a180a3bac9cd7bf
BLAKE2b-256 checksum
How to use checksums
fd207ce2e54049216996b4ec921ddbaf844ed50cf372a59ca9b8b88c93a76afb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.

Transparency log

Release files / moneymanager_mcp-0.4.0-py3-none-any.whl

Download URL moneymanager_mcp-0.4.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2379275995d711a82df6aa4bc8cd97737cb05f2057c0b10e57fc68c2147082f
BLAKE2b-256 checksum
How to use checksums
2adf75e7b1eef9d25a4e5518e136aaac45f3bf9e8c20c4b13a26194c4c729f84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.

Transparency log

Security for moneymanager-mcp 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for moneymanager_mcp-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page