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 Food expense of ā¹250 for Lunch."
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 local MCP (Model Context Protocol) server built with FastMCP and PostgreSQL.
This project exposes expense management tools that can be used by MCP clients such as Claude Desktop.
Features
ā Add Expense
š List Expenses
š Summarize Expenses
āļø Edit Expense
šļø Delete Expense
š° Add Credit
š Expense Categories Resource
Related MCP server: Expense Tracker MCP Server
Tech Stack
Python
FastMCP
PostgreSQL
SQLAlchemy
Psycopg 3
Pydantic Settings
UV
Project Structure
expense-tracker-mcp/
ā
āāā app/
ā āāā tools/
ā ā āāā expense_tools.py
ā ā āāā credit_tools.py
ā āāā config.py
ā āāā database.py
ā āāā models.py
ā āāā resources.py
ā
āāā categories.json
āāā main.py
āāā .env.example
āāā pyproject.toml
āāā README.mdMCP Tools
Tool | Description |
| Add a new expense |
| List all expenses |
| Show expense summary |
| Update an existing expense |
| Delete an expense |
| Add income/credit |
MCP Resource
expense://categoriesReturns the predefined expense categories.
Setup
Clone the repository:
git clone https://github.com/thearyangupta/expense-tracker-mcp.git
cd expense-tracker-mcpInstall dependencies:
uv syncCreate a .env file:
DATABASE_URL=postgresql+psycopg://postgres:YOUR_PASSWORD@localhost:5432/expense_trackerRun the server:
uv run python main.pyExample Prompts
Add a Food expense of ā¹250 for Lunch.
Show all expenses.
Summarize my expenses.
Update expense 3.
Delete expense 5.
Add a credit of ā¹20,000 from Freelancing.Future Improvements
Expense filtering
Monthly reports
Export to CSV
Budget tracking
AI-powered expense insights
Built using FastMCP and PostgreSQL.
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
- FlicenseNot gradedqualityDmaintenanceA lightweight MCP server for tracking personal expenses, income, and budget summaries using SQLite.4
- FlicenseAqualityDmaintenanceA 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.3
- FlicenseNot gradedqualityBmaintenanceA simple MCP server for tracking expenses in a local SQLite database, enabling add, read, update, delete, and summarization of expenses with predefined categories.
- FlicenseNot gradedqualityCmaintenanceA lightweight local MCP server for tracking personal or small-team expenses. It lets you add expense entries, list transactions within a date range, and generate simple summaries by category ā all backed by a local SQLite database.
Related MCP Connectors
Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.
MCP server for managing Prisma Postgres.
MCP server for interacting with the Supabase platform
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/thearyangupta/expense-tracker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server