Personal Expense Tracker
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., "@Personal Expense TrackerAdd a $12.50 lunch expense for today and summarize my food spending this week"
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.
Personal Expense Tracker
A simple expense tracking API built with FastAPI, SQLite, and FastMCP.
The project lets you add expenses, view them by date range, and get a quick summary of spending by category.
Features
Add a new expense
Store expenses in SQLite
Filter expenses by date range
Get spending totals by category
Optional category filtering for summaries
Expose the FastAPI app through an MCP server
Related MCP server: Expense Tracker MCP Server
Tech Stack
Python 3.12+
FastAPI
SQLite
Pydantic
FastMCP
uv
Project Structure
PersonalExpenseTracker/
│
├── main.py # FastAPI application and API routes
├── server.py # FastMCP server
├── categories.json # Expense categories
├── pyproject.toml # Project configuration
├── uv.lock # Locked dependencies
├── .gitignore
└── README.mdGetting Started
Clone the repository:
git clone https://github.com/bhuvpal/PersonalExpenseTracker.git
cd PersonalExpenseTrackerInstall dependencies:
uv syncRun the FastAPI server:
uv run uvicorn main:app --reloadThe API will be available at:
http://127.0.0.1:8000FastAPI also provides interactive API documentation at:
http://127.0.0.1:8000/docsAPI Endpoints
Method | Endpoint | Purpose |
GET |
| Check if the API is running |
POST |
| Add an expense |
GET |
| Get expenses for a date range |
GET |
| Get spending summary by category |
Example Expense
{
"amount": 250,
"date": "2026-09-04",
"category": "Food",
"sub_category": "Lunch",
"note": "Lunch with friends"
}MCP Server
The project also includes a FastMCP server that exposes the FastAPI application for MCP-based usage.
Run it with:
uv run python server.pyDatabase
Expenses are stored locally in a SQLite database.
Each expense contains:
Amount
Date
Category
Sub-category
Note
Why I Built This
I built this project to practice building APIs with FastAPI and explore how existing APIs can be exposed through Model Context Protocol (MCP).
Author
Bhuv Pal
GitHub: @bhuvpal
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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.
Related MCP Connectors
- ManiloOAuthapp.manilo
Log, query, and edit expenses, budgets, and accounts in Manilo from any MCP-compatible AI assistant.
- ManiloOAuthapp.ledgy.api
Log, query, and edit expenses, budgets, and accounts in Manilo (formerly Ledgy) from any MCP-compatible AI assistant.
Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.
Corporate travel booking and expense management for TripGain, exposed as an MCP server.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables users to track personal expenses through natural language interactions with comprehensive category support and financial summaries. Provides both local and remote MCP server options with SQLite storage for fast expense management operations.-
- FlicenseNot gradedqualityDmaintenanceEnables users to track expenses by adding, listing, and summarizing them with category support through natural language.-
- FlicenseAqualityCmaintenanceEnables logging expenses, summarizing spending, and checking wallet balance through natural conversation using MCP.5-
- AlicenseBqualityAmaintenanceEnables local tracking of personal expenses by adding, listing, summarizing, updating, and deleting expense records stored in a CSV file through an MCP client.5MIT
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/bhuvpal/PersonalExpenseTracker'
If you have feedback or need assistance with the MCP directory API, please join our Discord server