Skip to main content
Glama
taylor3lewis

Finance MCP Server

by taylor3lewis

šŸ’° 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


Related MCP server: Expense Tracker MCP Server

šŸ› ļø 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

Tool

Description

add_transaction

Add an income or expense transaction

get_balance

Get your current balance

list_transactions

List the most recent transactions

get_summary_by_category

View totals grouped by category

get_monthly_summary

View income, expenses and balance for a given month

delete_transaction

Delete 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)

Related MCP Connectors

Related MCP Servers

  • F
    license
    C
    quality
    D
    maintenance
    Enables personal expense management with SQLite storage, allowing users to add, update, delete, list, and summarize expenses by category through natural language interactions.
    5
    -
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI assistants like Claude to manage personal expenses locally using SQLite. Supports adding, categorizing, summarizing expenses, setting budgets, and exporting data without cloud services.
    8
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to manage personal expenses through natural conversation with Claude, including adding, updating, deleting expenses, and viewing summaries by category or date range.
    3
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language expense tracking and management via Claude Desktop, supporting adding, listing, summarizing, updating, and deleting expenses with flexible date parsing and category filtering.
    -