Expense MCP Server

Personal Expense Tracker MCP Server — expenses, income, budgets & savings goals

Local serverstdioPython

What is the Expense MCP server?

Connect Expense to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Personal Expense Tracker MCP Server — expenses, income, budgets & savings goals. The expense mcp server is what makes that connection.

What the server does

Add to %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (Mac):

  • 📝 Track expenses & income with categories and descriptions
  • 📊 Spending summaries — today, week, month, year
  • 💳 Budget management — set limits per category, get alerts at 80%/100%
  • 🎯 Savings goals — create goals, track progress with visual bars
  • 📈 Spending insights — top categories, daily averages, biggest days
  • 🗑️ Safe deletion — Pydantic-based elicitation for confirmation

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • expense_add — Save expense or income
  • expense_search — Filter by text, date, category, amount
  • expense_summary — today / week / month / year totals
  • expense_delete — Delete with Pydantic confirmation prompt
  • expense_insights — Spending patterns and top categories
  • budget_set — Set monthly category budget
  • budget_list — View budgets with usage %
  • goal_create — Create savings goal
  • goal_update — Add money toward goal
  • goal_list — View goals with progress bars
  • nanobot — The nanobot tool exposed by this server

Credentials and setup notes

Configuration is passed through the environment: DATABASE_URL, CURRENCY, DEFAULT_USER. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Installation goes through your MCP client rather than a global install: point it at git on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Expense's toolset — expense_add, expense_search, expense_summary and 8 more — is a fair guide to whether it matches your workflow. It is maintained by justfsl50; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Expense's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Expense.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
expense_addSave expense or income
expense_searchFilter by text, date, category, amount
expense_summarytoday / week / month / year totals
expense_deleteDelete with Pydantic confirmation prompt
expense_insightsSpending patterns and top categories
budget_setSet monthly category budget
budget_listView budgets with usage %
goal_createCreate savings goal
goal_updateAdd money toward goal
goal_listView goals with progress bars
nanobotThe nanobot tool exposed by this server.

How to install the Expense MCP server

{
  "mcpServers": {
    "expense": {
      "command": "uvx",
      "args": ["git"],
      "env": {
        "DATABASE_URL": "your-value",
        "CURRENCY": "your-value",
        "DEFAULT_USER": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
DATABASE_URLEndpoint or connection string the server talks to.Yes
CURRENCYConfiguration value read at startup.Optional
DEFAULT_USERConfiguration value read at startup.Optional

Example prompts to try

  • Use Expense to expense add.
  • Use Expense to expense search.
  • Use Expense to expense summary.

Frequently asked questions

It connects Expense to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (expense_add, expense_search, expense_summary, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Expense directly.