Skip to main content
Glama
Python-Blade

Expense Tracker MCP Server

by Python-Blade

Expense Tracker MCP Server

A powerful SQLite-backed expense tracking server built with the Model Context Protocol (MCP). This server allows AI agents (like Claude) to manage your personal finances by adding, deleting, and listing expenses directly from your chat interface.

Features

  • Add Expenses: Record new expenses with details like amount, category, description, and date.

  • Track History: Maintain a persistent history of all transactions in a local SQLite database.

  • Reporting: Generate summaries and list all expenses.

  • Management: Delete incorrect entries by ID.

Related MCP server: Expense Tracker MCP Server

Prerequisites

  • Python 3.12 or higher

  • uv (recommended) or pip

Installation

  1. Clone or download this repository.

  2. Install dependencies:

uv sync
# OR
pip install -r requirements.txt

Configuration for Claude Desktop

To use this with Claude Desktop, add the following to your config file (%APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "expense-tracker": {
      "command": "path/to/your/python.exe",
      "args": [
        "path/to/finance.py"
      ]
    }
  }
}

Note: It is highly recommended to use absolute paths for both the python executable and the script file to avoid issues.

Usage

Once connected to Claude, you can use natural language to manage your expenses:

  • "I spent $50 on groceries at Walmart today."

  • "Add a transportation expense of $15 for a taxi ride."

  • "Show me my expense report."

  • "Delete expense ID 4."

Architecture

  • Database: Uses sqlite3 for a lightweight, file-based database (expenses.db) that lives in the same directory as the script.

  • MCP Framework: Built using FastMCP for a simple and efficient server implementation.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    B
    quality
    D
    maintenance
    MCP server for tracking personal expenses using FastMCP and SQLite, enabling adding, listing, updating, deleting expenses and summarizing by category via natural language tools.
    Last updated
    5
    1
  • F
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server for tracking personal expenses. This server provides tools to add, list, and summarize expenses, utilizing a local SQLite database for storage.
    Last updated
  • F
    license
    B
    quality
    C
    maintenance
    A lightweight local MCP server that enables users to add, list, edit, and delete expenses via SQLite database through natural language in MCP-compatible clients.
    Last updated
    4
    1

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.

  • GibsonAI MCP server: manage your databases with natural language

View all MCP Connectors

Latest Blog Posts

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/Python-Blade/mcp-expense-tracker'

If you have feedback or need assistance with the MCP directory API, please join our Discord server