Firefly III MCP Server
Firefly III MCP サーバー
Firefly III 個人財務インスタンスへのフルアクセスをClaudeに提供するMCP(Model Context Protocol)サーバーです。Claudeと自然言語で会話するだけで、経費の記録、残高確認、予算管理などが行えます。
機能
取引: 取引(出金、入金、振替)の作成、一覧表示、検索、更新、削除
口座: 資産、経費、収益、負債、現金口座の管理
カテゴリ: カテゴリによる取引の整理
予算: 自動予算サポートを含む予算の作成と管理
タグ: 柔軟なタグによる取引のラベル付け
前提条件
Node.js >= 18
実行中のFirefly IIIインスタンス
Firefly IIIインスタンスのパーソナルアクセストークン(PAT)
PATの取得方法
Firefly IIIインスタンスにログイン
Options → Profile → OAuth に移動
Personal Access Tokens で新しいトークンを作成
トークンをコピー(設定時に必要になります)
インストール
npm経由(推奨)
npm install -g firefly-iii-mcp-serverソースから
git clone https://github.com/przbadu/firefly-iii-mcp-server.git
cd firefly-iii-mcp-server
npm install
npm run build設定
Claude Desktop
Claude Desktopの設定ファイルを編集します:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
npmでインストールしたバイナリを使用する場合:
{
"mcpServers": {
"firefly-iii": {
"command": "firefly-iii-mcp-server",
"env": {
"FIREFLY_III_URL": "https://your-firefly-instance.example.com",
"FIREFLY_III_PAT": "your-personal-access-token-here"
}
}
}
}またはnpxを使用する場合(グローバルインストール不要):
{
"mcpServers": {
"firefly-iii": {
"command": "npx",
"args": ["-y", "firefly-iii-mcp-server"],
"env": {
"FIREFLY_III_URL": "https://your-firefly-instance.example.com",
"FIREFLY_III_PAT": "your-personal-access-token-here"
}
}
}
}Claude Code CLI
claude mcp add firefly-iii \
-e FIREFLY_III_URL=https://your-firefly-instance.example.com \
-e FIREFLY_III_PAT=your-personal-access-token-here \
-- npx -y firefly-iii-mcp-serverまたは .claude/settings.json に追加します:
{
"mcpServers": {
"firefly-iii": {
"command": "npx",
"args": ["-y", "firefly-iii-mcp-server"],
"env": {
"FIREFLY_III_URL": "https://your-firefly-instance.example.com",
"FIREFLY_III_PAT": "your-personal-access-token-here"
}
}
}
}使用例
設定が完了したら、Claudeと自然に会話するだけです:
取引の記録
"今日、Trader Joe'sで食料品に45.50ドル使った"
"給与2,500ドルの入金をチェック口座に記録して"
"チェック口座から貯蓄口座へ500ドル振り替えて"
クエリ
"先週の取引をすべて見せて"
"今月、レストランにいくら使った?"
"チェック口座の残高はいくら?"
財務管理
"月額600ドルの食費予算を作成して"
"すべての経費カテゴリをリストアップして"
"直近のレストランでの取引3件に「ビジネスランチ」というタグを付けて"
利用可能なツール
ツール | 説明 |
| 出金、入金、または振替の作成 |
| フィルター付きの取引一覧表示 |
| IDによる取引詳細の取得 |
| 既存の取引の更新 |
| 取引の削除 |
| Firefly IIIクエリ構文による検索 |
| 新しい口座の作成 |
| タイプ別の口座一覧表示 |
| 口座詳細の取得 |
| 口座プロパティの更新 |
| 口座の削除 |
| すべてのカテゴリのリスト表示 |
| カテゴリの作成 |
| カテゴリの更新 |
| カテゴリの削除 |
| すべての予算のリスト表示 |
| 予算の作成 |
| 予算の更新 |
| 予算の削除 |
| すべてのタグのリスト表示 |
| タグの作成 |
| タグの更新 |
| タグの削除 |
開発
# Watch mode with auto-reload
npm run dev
# Build for production
npm run build
# Run the built server
npm startライセンス
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/przbadu/firefly-iii-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server