Expense Tracker MCP Server
Enables tracking personal finances with Indian Rupee support, adding expenses, listing transactions, and generating detailed financial summaries with graphs and strategic advice.
README
💸 Expense Tracker MCP Server
A professional Model Context Protocol (MCP) server designed to help you track, analyze, and optimize your personal finances. This server provides tools to add expenses, list transactions, and generate detailed financial summaries with Indian Rupee (₹) support and strategic advice.
🚀 Features
- Add Expenses: Easily log expenses with categories, dates, and notes.
- Tabular Summaries: Professional reports in tabular format showing counts, totals, and percentages.
- Financial Advice: Strategic solutions tailored to your spending habits (Needs vs. Wants).
- Visual Graphs: Built-in support for Mermaid.js charts and Matplotlib PNG graphs for visual distribution.
- INR Support: All financial values are formatted in Indian Rupees (₹).
🛠️ Installation
1. Clone the Repository
git clone https://github.com/your-username/expense-tracker.git
cd expense-tracker
2. Install Dependencies (Recommended: uv)
If you have uv installed, simply run:
uv sync
Alternatively, using standard pip:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
🖥️ Usage
Running the Server
If using uv, you can run the server directly:
uv run main.py
Otherwise, use python:
python main.py
Claude Desktop Integration
To use this with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"Expense Tracker": {
"command": "uv",
"args": ["--directory", "C:/path/to/expense-tracker", "run", "main.py"]
}
}
}
Note: Replace C:/path/to/ with the actual absolute path to your project directory.
📂 Project Structure
main.py: The core MCP server implementation.expenses.db: SQLite database for persistent storage.requirements.txt: List of Python dependencies.pyproject.toml: Project configuration for tools likeuv.
🧠 Smart Tools
add_expense: Add a new expense record.list_expenses: Retrieve transactions within a date range.summarize: Get a detailed financial report with graphs and advice.categories: List all supported expense categories.
⚖️ License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.