Local MCP Server 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., "@Local MCP Server Expense TrackerAdd an expense of $30 for dinner on 2024-03-21"
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.
Local MCP Server Expense Tracker
A lightweight, local Model Context Protocol (MCP) server built with FastMCP and SQLite to manage expenses. This server enables MCP-compatible clients (like Claude Desktop) to add, list, edit, and delete expenses directly from chat using a local database.
Features
SQLite Database: Self-contained database (
Expense.db) created dynamically in the same directory.Full CRUD operations:
add_expense: Add a new expense (amount, category, date, description).list_expenses: Fetch all expenses stored in the database.edit_expense: Modify an existing expense record by ID.delete_expense: Permanently delete an expense record by ID.
Related MCP server: local-expense-tracker
Prerequisites
Python 3.10+
uv (recommended Python package installer/runner)
Installation & Running
1. Run in Development Mode (Inspector)
To run the server and inspect/test the tools using the FastMCP web inspector:
uv run fastmcp dev inspector expense_tracker.py2. Run the MCP Server
To start the server directly:
uv run fastmcp run expense_tracker.py3. Install in Claude Desktop
To automatically register the server with your local Claude Desktop configuration:
uv run fastmcp install claude-desktop expense_tracker.py4. Windows Auto-Sync & Path Fix (Optional)
If you are using the Microsoft Store version of Claude Desktop on Windows, the app is sandboxed and might fail to find uv in its PATH or fail to load the standard configuration.
You can run the included PowerShell script to fix the paths and sync configuration:
.\sync_mcp.ps1This script:
Resolves the absolute path of
uv.exe.Syncs the configurations to Claude's sandboxed local packages directories.
Restarts Claude Desktop automatically.
Database Schema
The SQLite database contains a table named expenses with the following schema:
id: INTEGER (Primary Key, Auto-increment)amount: REAL (Not Null)category: TEXT (Not Null)date: DATE (Not Null)description: TEXT (Optional)
License
MIT License
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
- Flicense-qualityDmaintenanceA lightweight MCP server for tracking personal expenses, income, and budget summaries using SQLite.Last updated4
- Flicense-qualityDmaintenanceA local MCP server for tracking personal expenses using SQLite, enabling users to add, list, and summarize expenses via natural language.Last updated
- Flicense-qualityBmaintenanceA simple MCP server for tracking expenses in a local SQLite database, enabling add, read, update, delete, and summarization of expenses with predefined categories.Last updated
- Flicense-qualityCmaintenanceA lightweight local MCP server for tracking personal or small-team expenses. It lets you add expense entries, list transactions within a date range, and generate simple summaries by category — all backed by a local SQLite database.Last updated
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
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/MOKSH0077/Local-MCP-Server-Expense-Tracker'
If you have feedback or need assistance with the MCP directory API, please join our Discord server