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 lunch expense of $15.50 for 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
๐ค AI-Powered Expense Management using Model Context Protocol
๐ Overview
Expense Tracker MCP is an AI-powered financial management system built usingModel Context Protocol (MCP ).
The system allows Large Language Models to interact with expense data throughMCP tools, enabling users to:
Add expenses
Search expenses
Analyze spending patterns
Generate financial insights
Communicate with expense data using natural language
๐ง MCP Architecture
flowchart TB
USER["๐ค User"]
CLIENT["๐ MCP Client"]
SERVER["โก FastMCP Server"]
TOOLS["๐ MCP Tools"]
FASTAPI["๐ FastAPI Application"]
MONGO["๐ MongoDB Database"]
USER --> CLIENT
CLIENT --> SERVER
SERVER --> TOOLS
TOOLS --> FASTAPI
FASTAPI --> MONGO๐ Key Features
๐ธ Expense Managementโ Create expensesโ Update expensesโ Delete expensesโ Retrieve expense recordsโ Store financial history
๐ Model Context Protocol
This project implements MCP architecture:
User|MCP Client|FastMCP Server|Expense Tools|MongoDB
Related MCP server: Expense Tracker MCP
๐ ๏ธ Technology Stack
###๐ Core Development
โก MCP Framework
๐ Backend
๐ Database
๐ฆ Validation & Configuration
Pydantic v2Pydantic SettingsEnvironment Variablespython-dotenv
๐ Project Structure
Expense_Tracker/
โ
โโโ app/
โ โโโ db/
โ โโโ database.py # MongoDB connection configurations & client initialization
โ โโโ application.py # Core FastAPI application routing and logic
โ
โโโ mcp/
โ โโโ mcp_client.py # MCP Client implementation for context bridging
โ โโโ mcp_server.py # FastMCP Server registering the operational tools
โ
โโโ .env # Local environment variable configuration
โโโ .gitignore # Specified version control exclusions (e.g., venv, __pycache__ )
โโโ .python-version # Explicit python version pinning
โโโ pyproject.toml # Project metadata, dependencies, and editable tool configurations
โโโ README.md # System documentation## โ๏ธ InstallationClone repository:
git clone https://github.com/YOUR_USERNAME/Expense-Tracker-MCP.git
cd Expense-Tracker-MCP
Install dependencies:
pip install -e .๐ Environment Configuration
Create .env
MONGODB_URI=your_mongodb_connection_string
DATABASE_NAME=expense_trackerโถ๏ธ Running Application
Start MCP Server
-expense-server
or
python mcp_server.py๐ Remote MCP Server
This project also provides a remote MCP server that users can connect to:https://expense-tracker-01.fastmcp.app/mcp
API Documentation:
http://localhost:8000/docs๐ฎ Future Improvements
-Expense prediction using ML-Budget recommendation engine-Voice-based expense entry-Multi-user authentication-React dashboard-Cloud deployment-Mobile application
๐จโ๐ป Developer
Sarim Abbas
AI Engineer | Backend Developer | Agentic AI Developer
โญ Star this repository if you find it useful!
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/SyedSarimAbbas/Expense_Tracker_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server