MCP Hub
Back to servers

Finance MCP Server

Enables personal finance tracking through Claude Desktop using natural language to manage income and expenses with persistent SQLite storage. Supports adding and deleting transactions, checking balances, and viewing spending summaries grouped by category or month.

glama
Updated
Apr 4, 2026

💰 Finance MCP Server

A personal finance tracker powered by the Model Context Protocol (MCP), allowing you to manage your income and expenses directly through Claude Desktop using natural language.


🚀 Features

  • Add income and expense transactions
  • Check your current balance
  • List recent transactions
  • Get a summary grouped by category
  • Get a monthly summary (income, expenses, balance)
  • Delete transactions by ID
  • Persistent storage using SQLite

🛠️ Requirements


📦 Installation

1. Clone the repository:

git clone https://github.com/taylor3lewis/finance-mcp-server.git
cd finance-mcp-server

2. Create and activate a virtual environment:

python -m venv venv

# Windows
venv\Scripts\activate

# macOS/Linux
source venv/bin/activate

3. Install dependencies:

pip install -r requirements.txt

⚙️ Claude Desktop Configuration

Open your Claude Desktop config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Add the following entry inside "mcpServers":

{
  "mcpServers": {
    "finance-mcp-server": {
      "command": "C:/path/to/your/venv/Scripts/python.exe",
      "args": ["C:/path/to/finance-mcp-server/server.py"]
    }
  }
}

⚠️ Replace the paths with the actual paths on your machine.

Restart Claude Desktop after saving the config file.


🧰 Available Tools

ToolDescription
add_transactionAdd an income or expense transaction
get_balanceGet your current balance
list_transactionsList the most recent transactions
get_summary_by_categoryView totals grouped by category
get_monthly_summaryView income, expenses and balance for a given month
delete_transactionDelete a transaction by its ID

💬 Usage Examples

Once configured, just talk to Claude naturally:

"Mock 10 fake expenses in 3 different categories: food, leisure, and bills."

Usage 1

"What is my current balance?"

Usage 2

"Show me a summary of my expenses by category"

Usage 3

"If I maintain this monthly spending pattern, how much will I have spent by the end of the year?"

Usage 4

"How much did I spend in March 2026"

Usage 5

"List my last 5 transactions"

Usage 6

"delete entry with id = 2"

Usage 7

Using HTTP Client

Run MCP Server

python main.py http

Run Client in Another Shell

python client.py

Usage 8


🗂️ Project Structure

finance-mcp-server/
├── main.py            # MCP server with all tools
├── client.py          # MCP client to connect to server via API
├── requirements.txt   # Python dependencies
├── README.md          # Project documentation
└── data/
    └── finance.db     # SQLite database (auto-created on first run)

Reviews

No reviews yet

Sign in to write a review