Provides persistent storage and management of personal expense data, enabling tools to store, edit, delete, and query financial records with database transactions for expense tracking and reporting.
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., "@ExpenseTracker MCP Serveradd a $45.99 expense for groceries at Whole Foods yesterday"
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.
ExpenseTracker MCP Server
A production-ready Model Context Protocol (MCP) server that turns your AI assistant into a persistent personal finance manager using PostgreSQL.
This project allows Claude Desktop or any MCP-enabled agent to securely store, analyze, and export expense data using real database transactions instead of chat memory.
What Is It?
ExpenseTracker MCP is a local backend service exposing structured financial tools to AI agents.
It enables your assistant to:
Store expenses permanently
Edit and delete past records
Summarize spending patterns
Detect top spending categories
Generate monthly reports
Export data for accounting or tax use
How It Works
Claude Desktop sends a tool request using MCP.
ExpenseTracker MCP receives the request.
The server executes the database operation in PostgreSQL.
Results are returned to Claude as structured JSON.
Logs are written to
expense_tracker.log.
The AI never invents data — it only queries your real database.
How To Run Using uv
Install dependencies
uv add fastmcp psycopg2-binary python-dotenvCreate .env file
DB_HOST=localhost
DB_PORT=5432
DB_NAME=expense_tracker
DB_USER=expense_user
DB_PASSWORD=your_passwordStart MCP server
For Testing
uv run fastmcp dev main.pyFor Run
uv run fastmcp run main.pyHow to connect to Claude Desktop
uv run fastmcp install claude-desktop main.pyRestart Claude Desktop
Contribution
Contributions are welcome.
Fork the repository
Create a feature branch
Add or improve MCP tools or documentation
Submit a pull request with a clear description of your changes
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.