ExpenseTracker MCP Server
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.
Related MCP server: Expense Tracker MCP Server
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
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
- Alicense-qualityDmaintenanceEnables AI agents to manage personal expenses through natural language conversations. Supports adding, searching, and analyzing transactions with automatic categorization and financial insights.Last updated3MIT
- Flicense-qualityDmaintenanceEnables AI assistants to manage personal expenses through natural conversation, supporting expense tracking, categorization, filtering, and financial summaries. Uses SQLite database to store expense records with full CRUD operations for comprehensive personal finance management.Last updated1
- 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
- Flicense-qualityDmaintenanceEnables AI assistants to track and manage expenses, including adding, viewing, and summarizing expenses by category, date, or amount, with persistent local storage.Last updated1
Related MCP Connectors
Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.
Personal finance by conversation: expenses, receipts, statement import, budgets, net worth.
Track, analyze, and act on your streaming and SaaS subscriptions from any AI agent.
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/tanishra/Expense-Tracker-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server