Skip to main content
Glama
Sonali-2608

Expense Tracker MCP Server

by Sonali-2608

Expense Tracker MCP Server

This project is a lightweight FastMCP server for managing personal expenses and budgets over HTTP. It provides a simple way to store expenses in a local SQLite database, organize them by category, and query spending information through MCP-compatible tools.

What it does

  • Tracks expense entries with amounts, dates, and descriptions

  • Supports category-based organization using a JSON category list

  • Exposes expense-related operations through an MCP server endpoint

  • Can be run locally for development or deployed remotely for HTTP access

Run locally

uv run main.py

The local MCP endpoint is:

http://localhost:8000/mcp

Related MCP server: Personal Finance Tracker

Remote deployment

This project is already configured for a remote HTTP MCP server:

mcp.run(transport="http", host="0.0.0.0", port=port)

The server reads these environment variables:

Variable

Default

Purpose

HOST

0.0.0.0

Network interface to bind

PORT

8000

HTTP port, usually set by the hosting provider

EXPENSE_DB_PATH

./expenses.db

SQLite database path

EXPENSE_CATEGORIES_PATH

./categories.json

Categories JSON path

Typical remote start command:

uv run main.py

After deployment, connect your MCP client to:

https://your-domain.example/mcp

Important remote notes

  • Use HTTPS for public access.

  • Make sure the hosting provider exposes the assigned PORT.

  • If you keep SQLite, configure persistent storage and set EXPENSE_DB_PATH to that mounted path. Otherwise the database may reset after redeploys.

  • For a public server, add authentication or place it behind a protected gateway before storing real financial data.

F
license - not found
-
quality - not tested
C
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
    -
    quality
    D
    maintenance
    Enables 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.
  • F
    license
    -
    quality
    C
    maintenance
    MCP server for tracking expenses with local SQLite storage. Provides tools to add, list, and summarize expenses by category.
  • F
    license
    -
    quality
    C
    maintenance
    A personal expense tracker exposed over MCP, enabling users to log and query expenses in natural language sentences. It features category inference, recurring expenses, soft deletes, and SQLite storage with no external database.

View all related MCP servers

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.

  • UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.

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/Sonali-2608/MCP_Server'

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