expense-tracker-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., "@expense-tracker-mcp-server add a coffee expense of $4.50 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.
Expense Tracker MCP Server
A Model Context Protocol (MCP) server for tracking, categorizing, and summarizing personal & business expenses. Built with Python, FastMCP, and SQLite.
Features
Add Expenses (
add_expense): Log date, amount, category, subcategory, and optional notes.List Expenses (
list_expenses): Fetch expense logs within a specified date range.Summarize Expenses (
summarize): Aggregated totals grouped by category (or filter by specific category).Categories Resource (
expense://categories): Dynamic access to preset expense categories and subcategories.
Related MCP server: Expense Tracker MCP
Prerequisites
Python 3.12+
uv(recommended) orpip
Setup & Running
Clone the Repository:
git clone https://github.com/<YOUR_USERNAME>/expense-tracker-mcp-server.git cd expense-tracker-mcp-serverInstall Dependencies:
uv syncRun the MCP Server:
uv run main.py
MCP Client Configuration
Claude Desktop Configuration
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"expense-tracker": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/expense-tracker-mcp-server",
"run",
"main.py"
]
}
}
}License
Available Tools
3 toolsadd_expenseC
Add a new expense entry to the database.
Inputs: date (required), amount (required), category (required), note, +1 more.
list_expensesA
List expense entries within an inclusive date range.
Inputs: end_date (required), start_date (required).
summarizeA
Summarize expenses by category within an inclusive date range.
Inputs: end_date (required), start_date (required), category.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: add_expense writes entries, list_expenses reads them by date range, and summarize aggregates them by category. There is no ambiguity between the three tools.
All tools use a consistent verb_infinitive arrangement (add_, list_, summarize), though adding and listing are verb_noun patterns while summarize is less obviously named in the same convention. Minor deviation but the pattern is predictable.
Three tools is on the thin side for an expense tracker, which typically needs update and delete operations to manage entries. The count is minimal but each tool does carry meaningful weight.
The surface covers create (add) and read (list, summarize), but lacks update and delete operations for expenses—a clear gap in CRUD coverage. Users cannot edit or remove entries, which is a significant functionality hole for an expense tracker.
Maintenance
Related MCP Connectors
Expense ledger for AI assistants: record receipts line by line, ask what you spent, export anytime.
Track expenses from your AI chat: log, categorize, monthly CSV 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
- FlicenseNot gradedqualityDmaintenanceEnables users to track and manage personal expenses through natural language, including adding entries, filtering by date/category, viewing statistics, and exporting data in JSON or CSV format.3-
- FlicenseNot gradedqualityDmaintenanceEnables tracking of personal expenses with tools to add, list, update, delete, and summarize expenses by category.-
- FlicenseBqualityDmaintenanceEnables users to add, list, and summarize expenses, and exposes expense categories as a resource.3-
- FlicenseNot gradedqualityDmaintenanceEnables users to track expenses by adding, listing, and summarizing them with category support through natural language.-