Skip to main content
Glama
Expense Tracker MCP Server

Expense Tracker MCP Server

πŸ’° Expense Tracker MCP Server

A remote Model Context Protocol (MCP) server for managing and analyzing expenses using Python, FastMCP, and SQLite.

This project is mainly built for learning purposes to understand how MCP servers work, how tools and resources are exposed, and how an MCP server can be accessed remotely.

⚠️ This is a learning project and is not intended to be a production-ready financial application.

Changes :

Before => if name == "main": mcp.run()

After => 1if name == "main": mcp.run(transport = "http" , host = "0.0.0.0" , port = 8000 )

πŸš€ Features

  • Add expenses

  • View expenses

  • Update expenses

  • Delete expenses

  • Search expenses

  • Calculate total expenses

  • Category-wise expense summary

  • Monthly expense summary

  • Overall expense summary

  • MCP tools and resources

  • Remote MCP server

Related MCP server: expense-tracker-mcp-server

πŸ› οΈ Tech Stack

  • Python

  • FastMCP

  • SQLite

  • uv

  • MCP

  • Remote/HTTP transport

πŸ“‚ Project Structure

ExpenseTracker_Mcp_Server/
β”‚
β”œβ”€β”€ expenseTracker/
β”‚   β”œβ”€β”€ main.py
β”‚   └── categories.json
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ pyproject.toml
β”œβ”€β”€ uv.lock
└── .gitignore

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Enables tracking, categorizing, and summarizing personal and business expenses with support for date range queries and category grouping.
      3
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      Enables users to manage personal expenses by adding entries, listing them by date range, and summarizing spending by category through MCP tools, while exposing category data as a resource.
      3
      -
    • F
      license
      B
      quality
      C
      maintenance
      Enables recording and analyzing personal expenses locally in a SQLite database, with tools for adding expenses, listing them by date range, summarizing spending by category, and accessing a categories resource.
      3
      -