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 $35 for gas 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
A powerful SQLite-backed expense tracking server built with the Model Context Protocol (MCP). This server allows AI agents (like Claude) to manage your personal finances by adding, deleting, and listing expenses directly from your chat interface.
Features
Add Expenses: Record new expenses with details like amount, category, description, and date.
Track History: Maintain a persistent history of all transactions in a local SQLite database.
Reporting: Generate summaries and list all expenses.
Management: Delete incorrect entries by ID.
Related MCP server: expense-tracker-mcp-server
Prerequisites
Python 3.12 or higher
uv (recommended) or pip
Installation
Clone or download this repository.
Install dependencies:
uv sync
# OR
pip install -r requirements.txtConfiguration for Claude Desktop
To use this with Claude Desktop, add the following to your config file (%APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"expense-tracker": {
"command": "path/to/your/python.exe",
"args": [
"path/to/finance.py"
]
}
}
}Note: It is highly recommended to use absolute paths for both the python executable and the script file to avoid issues.
Usage
Once connected to Claude, you can use natural language to manage your expenses:
"I spent $50 on groceries at Walmart today."
"Add a transportation expense of $15 for a taxi ride."
"Show me my expense report."
"Delete expense ID 4."
Architecture
Database: Uses
sqlite3for a lightweight, file-based database (expenses.db) that lives in the same directory as the script.MCP Framework: Built using
FastMCPfor a simple and efficient server implementation.
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.
Latest Blog Posts
- 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/Python-Blade/mcp-expense-tracker'
If you have feedback or need assistance with the MCP directory API, please join our Discord server