Expense Tracker MCP Server
Click on "Install 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 ServerAdd a $45.50 expense for groceries 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
This project is a Model Context Protocol (MCP) server for managing personal expenses. It exposes tools and a resource that can be used by MCP-compatible clients such as Claude Desktop or the FastMCP inspector.
What it does
The server provides:
add_expense(date, amount, category, subcategory="", note="")to store a new expenselist_expenses(start_date, end_date)to retrieve expenses in a date rangesummarize(start_date, end_date, category=None)to group totals by categoryexpense://categoriesas a JSON resource for category definitions
Expenses are stored in a local SQLite database created automatically when the server starts.
Related MCP server: Expense Tracker MCP Server
Requirements
Python 3.13 or newer
uv for dependency and script management
Installation
From the project root:
uv syncThis installs the project and its dependencies from the pyproject.toml file.
Run locally with the MCP inspector
Start the server and inspect it in the FastMCP inspector:
uv run fastmcp dev inspector src/expense_tracker_mcp_server/main.pyThis opens the inspector UI and lets you test the tools and resources.
Connect to Claude Desktop
To install the server into Claude Desktop, run:
uv run fastmcp install claude-desktop src/expense_tracker_mcp_server/main.pyOn Windows, Claude Desktop may store its config under a packaged-app path. If the default location is not detected, provide it explicitly:
uv run fastmcp install claude-desktop --config-path "C:\Users\<your-user>\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude" src/expense_tracker_mcp_server/main.pyReplace <your-user> with your Windows username.
Project structure
src/
expense_tracker_mcp_server/
__init__.py
main.pymain.pycontains the MCP server implementation and tool definitions.expenses.dbis created automatically at runtime in the package directory.categories.jsonis loaded as theexpense://categoriesresource.
Example usage
Once the server is running, you can call the tools with payloads such as:
{
"date": "2026-07-31",
"amount": 42.5,
"category": "Food",
"subcategory": "Lunch",
"note": "Team lunch"
}Notes
The SQLite database is local to the project and will be created on first run.
The categories resource is read from the JSON file each time it is requested, so edits are picked up without restarting the server.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceMCP server for tracking personal expenses using FastMCP and SQLite, enabling adding, listing, updating, deleting expenses and summarizing by category via natural language tools.Last updated51
- FlicenseBqualityBmaintenanceMCP server for managing and analyzing expenses. Provides tools to add, list, summarize expenses, and retrieve categories.Last updated3
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server for tracking personal expenses. This server provides tools to add, list, and summarize expenses, utilizing a local SQLite database for storage.Last updated
- Flicense-qualityDmaintenanceA local MCP server for tracking personal expenses using SQLite, enabling users to add, list, and summarize expenses via natural language.Last updated
Related MCP Connectors
Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.
MCP server for URL shortening and management
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shandilya3031/expense-tracker-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server