Finance Tracking MCP
Finance Tracking MCP
個人の支出を追跡するための小さなMCPサーバーで、SQLite上でFastMCPとSQLAlchemyを使用して構築されています。
ツール
ツール | 説明 |
| 新しい支出を追加します(タイトル、金額、カテゴリ、任意の日付とメモ)。デフォルトは今日の日付です。 |
| IDで既存の支出を更新します。渡したフィールドのみが変更されます。 |
| 合計とカテゴリ別の内訳を表示します。カテゴリや月( |
Related MCP server: Expense Tracker MCP Server
リソース
URI | 説明 |
|
|
要件
Python 3.12以上
実行方法
uv run main.pyサーバーは初回実行時に main.py と同じディレクトリに expenses.db を作成します。このファイルはgitignoreされているため、データはローカルに保持されます。
Claudeで使用する
MCPクライアント設定にサーバーを追加します。例:
{
"mcpServers": {
"finance-tracking": {
"command": "uv",
"args": ["run", "--directory", "/path/to/finance-tracking-mcp", "main.py"]
}
}
}プロジェクト構成
main.py # MCP server: tools, resource, and SQLAlchemy models
categories.json # Category list exposed via the expense://categories resource
pyproject.toml # Project metadata and dependenciesAvailable Tools
3 toolsadd_expenseB
Add a new expense entry to the database.
Inputs: title (required), amount (required), category (required), date, +1 more. Returns: object
edit_expenseB
Edit an existing expense by ID. Only pass the fields you want to change.
Inputs: expense_id (required), date, note, title, +2 more. Returns: object
expense_summaryA
Get a spending summary, optionally filtered by category and/or month.
Inputs: month, category. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool serves a clearly distinct purpose: summarizing expenses, adding new ones, and editing existing ones. There is no overlap or ambiguity in their functions.
Two tools follow a verb_noun pattern (add_expense, edit_expense), while expense_summary deviates slightly as a noun-first name. This minor inconsistency does not hinder readability.
With only 3 tools, the server is well-scoped for a focused expense tracking purpose. Each tool earns its place with no redundancy or excess.
The server covers add, edit, and summary, but lacks a delete operation and a way to retrieve individual expense details. This represents a notable gap in lifecycle coverage.
Related MCP Connectors
Personal finance tracker — log transactions, view summaries, and browse a dashboard
Personal expense tracker: capture receipts, log IRS mileage, reconcile statements, export reports.
Track expenses from your AI chat: log, categorize, monthly CSV reports. All data is local.
Personal finance ledger: log expenses, track bills and cards, import statements.
Related MCP Servers
- FlicenseDqualityCmaintenanceEnables users to track and manage daily expenses through SQLite storage, supporting operations like adding, updating, deleting expenses, calculating totals by category, and filtering expenses by date range or category.6-
- FlicenseAqualityDmaintenanceEnables tracking and managing personal expenses through a local SQLite database. Supports adding, editing, deleting, listing, and summarizing expenses by category, as well as managing credit accounts.6-
- FlicenseNot gradedqualityDmaintenanceEnables natural language management of personal expenses, including adding, listing, and summarizing expenses with local SQLite storage.-
- FlicenseBqualityDmaintenanceTracks and manages personal expenses with tools to add, view, filter by category, and summarize spending over date ranges using SQLite storage.4-