Skip to main content
Glama
neev-25

Smart Expense Management MCP

by neev-25

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_expenseC

Add a new expense.

Examples:

  • "₹450 at Domino's for dinner, paid via UPI, category Food"

  • "Flight ticket ₹3500 for Rahul, category Travel"

get_expenseA

Get full details of a single expense by ID.

update_expenseC

Update specific fields of an expense. Only supply what you want to change.

delete_expenseA

Soft-delete an expense (can be restored later with restore_expense). The record stays in the database with is_deleted=1.

restore_expenseB

Restore a previously deleted expense.

list_expensesA

List expenses with powerful multi-dimensional filtering.

Examples:

  • "All food expenses in July 2026" → month=7, year=2026, category_id=

  • "UPI expenses above ₹500 this month" → payment_method='UPI', min_amount=500

  • "Expenses at Domino's" → merchant='Domino'

  • "Expenses for Girnar trip" → event_id=

list_categoriesA

List all categories with their subcategories.

create_categoryB

Create a new top-level expense category. Example: name='Fashion', icon='👗'

update_categoryC

Rename a category or change its icon.

delete_categoryA

Delete a category. Subcategories are removed automatically (CASCADE).

create_subcategoryA

Add a subcategory to an existing category. Example: category_id=1, name='Biryani'

move_subcategoryC

Move a subcategory to a different parent category.

expense_summaryA

Category-wise spending summary. Leave year/month empty for all-time totals.

monthly_summaryA

Full monthly report: total, by category (with %), by payment method, top merchant. Example: year=2026, month=7

yearly_summaryC

Month-by-month spending breakdown for an entire year.

payment_summaryB

Breakdown of spending by payment method (UPI, Cash, Card, etc.).

budget_summaryB

Budget vs actual for all categories with budgets set. Returns alert level: 🟢 ok / 🟡 warning (≥80%) / 🔴 danger (≥100%)

set_budgetC

Set or update a spending budget for a category in a specific month/year.

add_recurringA

Add a recurring expense that auto-creates entries when due. frequency: 'daily' | 'weekly' | 'monthly' | 'yearly' next_due_date: YYYY-MM-DD

Examples: Netflix monthly ₹199, Gym monthly ₹1500, Rent monthly ₹8000

list_recurringB

List all active recurring expenses.

process_recurringA

Process all overdue recurring expenses — creates actual expense entries for each one and updates next_due_date. Call this daily or at server startup.

add_friendC

Add a friend to track balances with.

list_friendsA

List all friends.

record_balanceA

Record a money exchange with a friend.

direction options: "i_paid" → I paid for them → they owe me ₹amount "they_paid" → They paid for me → I owe them ₹amount

Examples:

  • "Rahul owes me ₹500 for recharge" → direction='i_paid', friend_id=Rahul's id

  • "I paid ₹120 for Prince for chai" → direction='i_paid', friend_id=Prince's id

  • "Jay paid ₹200 for my food at Domino's" → direction='they_paid', friend_id=Jay's id

settleA

Mark balances with a friend as settled. If amount is given, settle exactly that much; otherwise settle everything.

friend_summaryB

Net balance summary with a specific friend. Returns: who owes whom, and by how much.

overall_balanceA

Net balance summary across ALL friends. Shows total receivable (others owe you) and total payable (you owe others).

explain_settlement_algorithmA

Explains how the minimal debt settlement algorithm works. Great for learning and interview preparation!

create_eventC

Create a group event for expense splitting. member_ids: list of friend IDs to add as participants.

Example: "Girnar Trip" with Rahul (id=1), Prince (id=2), Jay (id=3)

add_event_memberC

Add a friend to an existing event.

add_event_expenseA

Add an expense to a group event and compute per-member splits.

split_type options: "equal" → split evenly among all members (or included_member_ids) "percentage" → supply split_data={"friend_id": percent, ...} summing to 100 "custom" → supply split_data={"friend_id": amount, ...} summing to total

Returns the computed split immediately so you can verify it.

Example: Hotel ₹4000 paid by Neev, split equally among 4 friends: → each owes ₹1000

event_summaryA

Complete event summary including:

  • All expenses

  • Per-member net balances

  • Minimum settlement transactions (who pays whom, how much)

This uses the greedy two-pointer algorithm to minimize the number of transactions.

list_eventsB

List all events (active and closed).

close_eventA

Mark an event as closed (all expenses settled).

search_expensesA

Natural language expense search.

Claude should use this when the user asks conversational questions about their spending.

Examples: "How much did I spend on food this month?" "Show me Domino's expenses" "All UPI payments above ₹500 in June" "What did I spend at Girnar trip?" "Show my expensive purchases in 2026"

Returns both the matching expenses AND a quick summary (total, count, avg).

quick_statsA

Dashboard-style overview: this month's total, category breakdown, and overall balance. Perfect for "Give me a financial overview" or "How am I doing this month?"

generate_csvA

Export all expenses for a given month as a CSV string. The CSV is also saved to the /reports/ directory.

generate_excelA

Export all expenses for a given month to an Excel file (.xlsx). Returns the file path.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/neev-25/expense-manager-mcp'

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