mcp-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., "@mcp-expense-trackerAdd a $5 coffee to food"
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.
mcp-expense-tracker
An MCP (Model Context Protocol) server for tracking expenses. Expenses are stored in a local JSON file, and the server exposes tools for adding expenses and summarizing totals by day or month.
Two equivalent implementations are included:
src/— TypeScript/Node, stdio transport. Use this with Claude Code or Claude Desktop.server.py— Python (FastMCP). Use this to deploy on FastMCP Cloud so it's reachable as a remote connector from claude.ai.
Tools
add_expense — record an expense (
amount,category, optionaldescription, optionaldatedefaulting to today)list_expenses — list expenses, optionally filtered by
start_date,end_date,categorydelete_expense — delete an expense by
idsummarize — get the total (and per-category breakdown) for a
day,month, oralltime, anchored on an optionaldate
Related MCP server: Expense Tracker MCP Server
Deploy on FastMCP Cloud (for claude.ai)
FastMCP Cloud deploys directly from this GitHub repo. When it asks for an entrypoint, use:
server.py(FastMCP Cloud auto-detects the mcp object in server.py; you'd only need server.py:mcp if the variable were named something else.) It installs requirements.txt automatically. Once deployed, add the resulting https://<your-app>.fastmcp.app/mcp URL as a custom connector in claude.ai's connector settings.
Storage caveat: server.py stores expenses in a local data/expenses.json file. Confirm your FastMCP Cloud plan gives that container a persistent disk — if storage is ephemeral/rebuilt on redeploy, expenses will reset. If you hit that, swap server.py's file-backed storage for a hosted database.
Node/TypeScript setup
npm install
npm run buildRun standalone
npm startThe server communicates over stdio, so it's meant to be launched by an MCP client rather than used directly in a terminal.
Use with Claude Code
claude mcp add expense-tracker -- node /absolute/path/to/mcp-tracker/build/index.jsUse with Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"expense-tracker": {
"command": "node",
"args": ["/absolute/path/to/mcp-tracker/build/index.js"]
}
}
}Run the Python version locally
pip install -r requirements.txt
python server.pyData storage
Expenses are stored in data/expenses.json (created automatically). Set EXPENSE_DATA_DIR to change where data is stored. This applies to both implementations.
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-qualityDmaintenanceEnables users to track and manage personal expenses through natural language, including adding entries, filtering by date/category, viewing statistics, and exporting data in JSON or CSV format.3
- FlicenseAqualityDmaintenanceEnables tracking and managing personal expenses through a local SQLite database. Supports adding, editing, deleting, listing, and summarizing expenses by category, as well as managing credit accounts.6
- Flicense-qualityBmaintenanceEnables tracking of personal expenses with tools to add, list, update, delete, and summarize expenses by category.
- Flicense-qualityDmaintenanceEnables AI assistants to track and manage expenses, including adding, viewing, and summarizing expenses by category, date, or amount, with persistent local storage.1
Related MCP Connectors
Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.
Personal finance by conversation: expenses, receipts, statement import, budgets, net worth.
Capture receipts, scan Gmail, analyze spending, and create reviewed reports from 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/sppandita85/mcp-expense-tracker'
If you have feedback or need assistance with the MCP directory API, please join our Discord server