Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables natural language management of personal expenses, including adding, listing, and summarizing expenses with local SQLite storage.

README.md

💰 Expense Tracker MCP Server

A Model Context Protocol (MCP) server that enables Claude to seamlessly manage, track, and analyze your personal expenses. By connecting this server to your Claude client, you can simply tell Claude to log purchases, ask for monthly summaries, and identify your spending habits using natural language.

✨ Features

  • Natural Language Entry: Tell Claude "I just spent ₹15 on coffee" and let the server handle the categorization and data entry.
  • Detailed Analytics: Ask Claude to calculate your monthly totals, compare spending by category, or find specific past expenses.
  • Secure & Local: Expenses are stored locally (in a SQLite database), meaning your financial data doesn't leave your machine unless you share it in chat.
  • Fully MCP Compliant: Seamlessly integrates with Claude Desktop and other MCP-compatible clients.

---

🛠️ Prerequisites

  • Python 3.10+
  • Claude Desktop App installed on your machine.

---

🚀 Installation

  1. Clone the repository:
    git clone [https://github.com/Shivam0176/Expense-Tracker-MCP-Server.git](https://github.com/Shivam0176/Expense-Tracker-MCP-Server.git)
  1. Install dependencies:
    Python: pip install -r requirements.txt

---

🔌 Connecting to Claude

To use this server with Claude Desktop, you need to update your Claude configuration file.

  1. Open your Claude Desktop configuration file:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Add the expense-tracker server to the mcpServers object:
    {
      "mcpServers": {
        "expense-tracker": {
          "command": "node",
          "args": [
            "/absolute/path/to/expense-tracker-mcp/build/index.js"
          ]
        }
      }
    }

Note: Make sure to replace /absolute/path/to/... with the actual absolute path to the compiled server file on your machine. If you are using Python, the command would be "python" or "uv" and the arg would point to your python script.

  1. Restart Claude Desktop for the changes to take effect.

---

🧰 Available Tools

This MCP server exposes the following tools to Claude:

| Tool Name | Description | Required Arguments | Optional Arguments | | :--- | :--- | :--- | :--- | | add_expense | Logs a new expense into the database. | amount, category | description, date (defaults to today) | | list_expenses | Retrieves a list of expenses. | None | limit, category, start_date, end_date | | get_summary | Provides a spending summary by category. | None | month, year | | delete_expense| Removes an expense record by its ID. | id | None |

---

💬 Example Prompts

Once configured, you can talk to Claude just like a personal accountant:

  • "I just bought groceries at Whole Foods for $85.40."
  • "Can you show me a summary of my expenses for March 2024?"
  • "How much have I spent on the 'Dining Out' category this week?"
  • "Delete the last expense I added for 'Office Supplies'."

---

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Databases servers.