Expense Tracker MCP
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 MCPAdd a lunch expense of $12.50 for Food"
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
A Model Context Protocol (MCP) server for tracking personal expenses, built with Python, SQLAlchemy, and FastMCP.
Project Structure
expense-tracker-mcp2/
├── mcp/
│ ├── server.py # FastMCP server & tool registration
│ └── tools/
│ └── expense_tools.py # Raw tool functions (called by server)
│
├── services/
│ └── expense_service.py # Business logic layer
│
├── database/
│ ├── connection.py # SQLAlchemy engine & session
│ └── models.py # ORM models
│
├── schemas/
│ └── expense_schema.py # Pydantic request/response schemas
│
├── .env # Environment variables
├── requirements.txt
└── README.mdRelated MCP server: Expense Tracker MCP Server
Setup
1. Install dependencies
cd expense-tracker-mcp2
pip install -r requirements.txt2. Configure environment
Edit .env to set your database URL. Defaults to SQLite:
DATABASE_URL=sqlite:///./expenses.db3. Run the MCP server
python mcp/server.pyThe database tables are created automatically on first run.
MCP Tools
Tool | Description |
| Add a new expense |
| List expenses with optional filters |
| Update an expense by ID |
| Delete an expense by ID |
| Summarize totals grouped by category |
Expense Categories
Food, Transport, Housing, Healthcare, Entertainment, Shopping, Education, Utilities, Other
Example Usage (via MCP client)
# Add an expense
tool_add_expense(title="Lunch", amount=250.0, category="Food", date="2026-05-24")
# List this month's expenses
tool_list_expenses(start_date="2026-05-01", end_date="2026-05-31")
# Summarize by category
tool_summarize_expenses(start_date="2026-05-01", end_date="2026-05-31")Connecting to Claude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"expense-tracker": {
"command": "python",
"args": ["/path/to/expense-tracker-mcp2/mcp/server.py"]
}
}
}This server cannot be installed
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
- Flicense-qualityDmaintenanceEnables 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.Last updated3
- FlicenseCqualityDmaintenanceEnables personal expense management with SQLite storage, allowing users to add, update, delete, list, and summarize expenses by category through natural language interactions.Last updated5
- 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.Last updated6
- Flicense-qualityCmaintenanceEnables logging and tracking personal expenses in a local SQLite database with category/subcategory validation, offering tools to add, view, summarize, and delete expenses.Last updated
Related MCP Connectors
Personal finance by conversation: expenses, receipts, statement import, budgets, net worth.
Financial management on Procfy — transactions (revenue/expense/transfers), bank accounts, contacts,
Manage projects, tasks, time tracking, and team collaboration through natural language.
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/Rawal1755/expense-tracker-mcp2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server