Monthly Expense MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Monthly Expense MCP Server Add a $45.20 grocery expense for today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Monthly Expense MCP Server
A local MCP (Model Context Protocol) server that tracks your monthly expenses.
Data is stored in expenses.json right next to server.py — no external
database needed.
Tools it exposes
add_expense — add an expense (date, category, amount, description)
list_expenses — list expenses, optionally filtered by month/category
delete_expense — remove an expense by id
monthly_summary — total + per-category breakdown for a month, plus budget status if you've set one
set_budget — set/update a budget for a given month
list_categories — see all categories you've used
Related MCP server: Expense Tracker MCP
Setup with uv
Install uv if you don't already have it: https://docs.astral.sh/uv/getting-started/installation/
Create the environment and install FastMCP. Open a terminal/PowerShell in this folder and run:
uv sync
3. **Run the server** (it waits for MCP messages on stdin, which is normal):
uv run python server.py
Press Ctrl+C to stop it.
The server is implemented in `server.py` with FastMCP. `uv sync` creates the
local `.venv`, installs the locked dependencies, and generates `uv.lock`.
## Connect it to Claude Desktop
Open your Claude Desktop config file:
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
Add (or merge into) the `mcpServers` section:
```json
{
"mcpServers": {
"monthly-expense": {
"command": "C:\\Users\\reenu\\Desktop\\monthly-expense-mcp\\.venv\\Scripts\\python.exe",
"args": [
"C:\\Users\\reenu\\Desktop\\monthly-expense-mcp\\server.py"
]
}
}
}Save the file and fully restart Claude Desktop. You should then see the expense tools available (look for the 🔨 tools icon in a new chat).
Example usage once connected
"Add an expense: $45.20 for groceries on 2026-08-15"
"Show me all my expenses for August 2026"
"Set my August budget to $2000"
"Give me my August spending summary"
"Delete expense #3"
Notes
All data lives in
expenses.jsonin this folder — back it up if you care about the history. Delete that file to start fresh.This server only runs locally; it doesn't send your data anywhere.
Available Tools
6 toolsadd_expenseC
Add a new expense entry. Date must be in YYYY-MM-DD format.
Inputs: date (required), amount (required), category (required), description.
delete_expenseB
Delete an expense by its ID.
Inputs: id (required).
list_categoriesA
List all distinct expense categories currently in use.
Inputs: no named parameters.
list_expensesA
List expenses, optionally filtered by month (YYYY-MM) and/or category.
Inputs: month, category.
monthly_summaryA
Get a summary (total + per-category breakdown) for a given month (YYYY-MM). Also shows budget status if a budget is set.
Inputs: month (required).
set_budgetA
Set (or update) the budget for a given month (YYYY-MM).
Inputs: month (required), amount (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct action or resource: adding, listing, deleting expenses, summarizing months, setting budgets, and listing categories. There is no meaningful overlap that would cause an agent to select the wrong tool.
Most tools follow a clear verb_noun pattern: add_expense, list_expenses, delete_expense, set_budget, list_categories. The one deviation is monthly_summary, which uses a noun phrase instead of a verb_prefix, but it is still readable and predictable.
Six tools is well-scoped for a monthly expense management server. Each tool covers a necessary part of the domain without redundancy or bloat.
The tool surface covers creating, reading, and deleting expenses, plus monthly summaries and budgeting. The main gap is the lack of an update_expense tool, but users can work around it by deleting and re-adding an expense.
Maintenance
Related MCP Connectors
Track expenses from your AI chat: log, categorize, monthly CSV reports. All data is local.
Track budgets from your AI chat: envelopes, monthly limits, variance reports. All data is local.
Personal finance tracker — log transactions, view summaries, and browse a dashboard
Personal finance tracker: log expenses and income, track EMIs, debts, subscriptions and bills.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables tracking and managing personal expenses through a local SQLite database. Supports adding, editing, deleting, listing, and summarizing expenses by category, as well as managing credit accounts.6-
- FlicenseNot gradedqualityDmaintenanceEnables tracking of personal expenses with tools to add, list, update, delete, and summarize expenses by category.-
- FlicenseNot gradedqualityDmaintenanceEnables natural language management of personal expenses, including adding, listing, and summarizing expenses with local SQLite storage.-
- FlicenseAqualityDmaintenanceEnables tracking personal expenses by adding, listing, deleting, and summarizing expenses by day or month, stored locally in a JSON file.4-