Skip to main content
Glama
khushisonwane23

Expense Tracker MCP

Expense Tracker MCP

FastMCP で構築されたリモートの Model Context Protocol (MCP) サーバーです。Claude などの AI アシスタントが、構造化されたツールを介して経費追跡システムを操作できるようにします。

Module Overview

このプロジェクトは、AI アシスタントが MCP を通じて外部データやアプリケーション機能と対話できることを示しています。

Expense Tracker MCP 서버ーは、FastMCP を使用して経費管理ツールを公開し、SQLite を使用して経費データを保存します。

The server is deployed remotely using FastMCP Cloud, allowing an MCP-compatible client such as Claude to connect to it through a remote MCP endpoint.

Related MCP server: Expense Tracker MCP

Architechture

Claude
   │
   │ MCP
   ▼
Remote MCP Endpoint
   │
   ▼
FastMCP Cloud
   │
   ▼
FastMCP Expense Tracker Server
   │
   ▼
SQLite Database

✨ Features

  • 経費の追加と管理

  • 経費記録の取得

  • 経費のカテゴリ分類

  • SQLite を使用した経費データの保存

  • MCP ツールによる経費機能の公開

  • MCP サーバューバのリモートデプロイ

  • リモートのMCP サーバューバのClaude への接続

  • AI アシスタントが構造化された経費データを操作できるようにする

️ Tech Stack

  • Python

  • FastMCP

  • Model Context Protocol (MCP)

  • SQLite

  • JSON

  • FastMCP Cloud

  • Claude

🔌 対話例

Claude に接続すると、ユーザーは自然言語で経費トラッカーと操作できます。

"Add an expense of ₹500 for groceries."

"Show me my recent expenses."

"How much did I spend on food?"

"List my expenses by category."

Claude はユーザーの要求を解釈し、サーバーバーが公開する適切な MCP ツールを呼び出します。

☁️ リモートデプロイ

MCP サーバーバーは FastMCP Cloud にデプロイされ、リモート MCP エンドポイントを介して公開されます。

これにより、Claude やその他のMCP 対応クライアントは、サーバーバーをロカルで実行することなくサーバーにアクセスできます。

Local Development
       ↓
FastMCP Server
       ↓
FastMCP Cloud
       ↓
Remote MCP Endpoint
       ↓
Claude

⚙️ ローカルセットアップ

リポジトリをクローンします:

git clone https://github.com/khushisonwane23/expense-tracker-mcp.git
cd expense-tracker-mcp

仮想環境を作成します:

python -m venv .venv

仮想環境を Windows で有効化します:

.venv\Scripts\activate

依存関係をインストールします:

pip install -r requirements.txt

uv を使用している場合:

uv sync

▶️ ローカルでの実

FastMCP サーバーバーを実执行します:

fastmcp run server.py

正しいコマンドは、プロジェクトの構築によって異なることがあります。

o Connecting to Claude

サーバーバーを FastMCP Cloud にデプロイすると、アプリーはリモート MCP エンドポイントを提供します。

このエンドポイントは、Claude などの MCP 対応クライアントで設定できます。

Claude
   ↓
Remote MCP Endpoint
   ↓
FastMCP Cloud
   ↓
Expense Tracker MCP Server
   ↓
SQLite Database

接続すると、Claude は MCP サーババーが公開するツールを発見して使用できます。

🔐 セキュリティ

機微情報をこのリポジトリーにコミットしてはなないでください。

以下のファイルは非公開のままにしてください:

.env
expenses.db
.venv/
__pycache__/

API キーやその他のシークレットは、ソースコードにハードコーダで記録するのではなく、環境変数を使って保存する必要があります。

🧮 学習目標

このプロジェクトは、次のことを理解するために作られました。

  • Model Context Protocol がどのように働くか

  • AI アシスタントが外部のツールとどのように対話するか

  • FastMCP を使って MCP サーバーを構築する方法

  • LLM を外部データに接続する方法

  • ツールベースの AI ワークフローがどのように機能するか

  • MCP サーバーをリモートでデプロイする方法

  • MCP を Claude に統合する方法

🚧 将来の改善点

  • 認証と認可の追加

  • 月間の支出分析の追加

  • 予算の追跡の追加

  • より豊かな財務インサイトの追加

  • エラー処理と入力検証の改善

  • 自動テストの追加

  • 本番環境が見に使用できるデータベースの使用

  • 他財務管理ツールの追加

👩💻 Author

Khushi Sonwane

気になるのこと。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to manage personal expenses through natural conversation, supporting expense tracking, categorization, filtering, and financial summaries. Uses SQLite database to store expense records with full CRUD operations for comprehensive personal finance management.
    1
  • F
    license
    Not graded
    quality
    C
    maintenance
    An AI-powered Expense Tracker built using FastMCP and SQLite that exposes expense management capabilities as MCP tools, allowing AI assistants to interact with a persistent expense database.
  • F
    license
    Not graded
    quality
    C
    maintenance
    An AI-native expense tracker MCP server that enables AI assistants to add and list expenses in a local SQLite database.

View all related MCP servers

Related MCP Connectors

  • Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.

  • Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.

  • Capture receipts, scan Gmail, analyze spending, and create reviewed reports from AI assistants.

View all MCP Connectors

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/khushisonwane23/expense-tracker-mcp'

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