原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Ledgr

作者:KenTaniguchi-R版本 0.3.4i★ –i在你的电脑上运行
注册名称io.github.KenTaniguchi-R/ledgr

安装

概览

作者提供的说明(英文原文)

Self-hosted personal finance app with bank sync, budgets, net worth and investment tracking

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: Streamable HTTP
  • 分类: 会计、财务与税务
  • 你需要填写:DATABASE_URL

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: DATABASE_URL, MCP_ENABLED, LEDGR_DATA_DIR, LEDGR_URL, BETTER_AUTH_URL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "ledgr": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATABASE_URL",
        "-e",
        "MCP_ENABLED",
        "-e",
        "LEDGR_DATA_DIR",
        "-e",
        "LEDGR_URL",
        "-e",
        "BETTER_AUTH_URL",
        "ghcr.io/kentaniguchi-r/ledgr:0.3.4"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "MCP_ENABLED": "your-value",
        "LEDGR_DATA_DIR": "your-value",
        "LEDGR_URL": "your-value",
        "BETTER_AUTH_URL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add ledgr --env DATABASE_URL=your-value --env MCP_ENABLED=your-value --env LEDGR_DATA_DIR=your-value --env LEDGR_URL=your-value --env BETTER_AUTH_URL=your-value -- docker run -i --rm -e DATABASE_URL -e MCP_ENABLED -e LEDGR_DATA_DIR -e LEDGR_URL -e BETTER_AUTH_URL ghcr.io/kentaniguchi-r/ledgr:0.3.4

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "ledgr": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATABASE_URL",
        "-e",
        "MCP_ENABLED",
        "-e",
        "LEDGR_DATA_DIR",
        "-e",
        "LEDGR_URL",
        "-e",
        "BETTER_AUTH_URL",
        "ghcr.io/kentaniguchi-r/ledgr:0.3.4"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "MCP_ENABLED": "your-value",
        "LEDGR_DATA_DIR": "your-value",
        "LEDGR_URL": "your-value",
        "BETTER_AUTH_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "ledgr": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DATABASE_URL",
        "-e",
        "MCP_ENABLED",
        "-e",
        "LEDGR_DATA_DIR",
        "-e",
        "LEDGR_URL",
        "-e",
        "BETTER_AUTH_URL",
        "ghcr.io/kentaniguchi-r/ledgr:0.3.4"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "MCP_ENABLED": "your-value",
        "LEDGR_DATA_DIR": "your-value",
        "LEDGR_URL": "your-value",
        "BETTER_AUTH_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • DATABASE_URL 机密 必填 env
    PostgreSQL connection string (Ledgr needs its own Postgres; docker-compose.yml in the repo provides one)
  • MCP_ENABLED env
    Turns on the /api/mcp endpoint (off by default)
  • LEDGR_DATA_DIR env
    Directory where generated secrets are persisted
  • LEDGR_URL env
    Public base URL of this instance; used as the OAuth issuer and MCP resource identifier
  • BETTER_AUTH_URL env
    Base URL for sign-in; must match LEDGR_URL

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 KenTaniguchi-R 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“会计、财务与税务”中的其他服务器比较i

  • 星标数多于此分类中其他 2903 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2903 个服务器的 53% 更新
  • 基础检查结果等于或优于此分类中其他 2903 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Ledgr 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DATABASE_URL

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.4)于29天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Finance Toolkit

作者:JerBouma

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

电脑或云端★ 5,496MIT昨天更新
安装

SolidInvoice

作者:SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

在云端运行★ 981MIT8天前更新
安装

Korea Tax Calculator

作者:UpstageAI

Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.

在你的电脑上运行★ 97MIT昨天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Ledgr

Self-hostable personal finance app with automatic bank sync and AI agent support.


Ledgr connects to your bank accounts through Plaid or SimpleFIN, automatically syncs and categorizes transactions, and gives you budgets, investment tracking, bill detection, and financial reports — all running on your own server with your own data.

It also exposes an MCP server, so AI assistants like Claude can query your finances through natural conversation.

You: "How much did I spend on dining out last month?"

Claude: Based on your transactions, you spent $342.18 on dining out in April...

Querying your finances from Claude Code via MCP

Features

  • Automatic bank sync — connect 12,000+ banks via Plaid (real-time webhook sync or scheduled polling), or via SimpleFIN if you'd rather not use a Plaid developer account
  • Smart categorization — four-tier pipeline: your rules > merchant defaults > Plaid categories > AI fallback
  • Budgets — set monthly budgets by category, track progress in real time
  • Investment tracking — portfolio holdings, performance history, and allocation breakdowns, synced automatically from Plaid or SimpleFIN
  • Recurring bill detection — automatically identifies subscriptions and recurring charges
  • Financial reports — spending, income, net worth, and category trends over time
  • AI agent interface (MCP) — query your finances from Claude Code, Claude Desktop, Cursor, or any MCP client
  • In-app AI chat — ask questions about your finances right from the dashboard
  • BYOK AI — bring your own API key (OpenAI, Anthropic, Google, or local models) for chat and categorization
  • CSV/OFX/QFX import & CSV export — for accounts not supported by Plaid, and for getting your data out
  • Self-hosted — Docker Compose with PostgreSQL, your data never leaves your server

Monthly budgets by category, tracked against real spending

Spending, income, cash flow, trends, and net worth reports

Quick Start

Requires Docker and Docker Compose.

curl -fsSL https://raw.githubusercontent.com/KenTaniguchi-R/ledgr/main/scripts/install.sh | sh

This creates a ledgr/ directory, downloads docker-compose.yml, and starts the app.

Prefer to see the steps first?

mkdir ledgr && cd ledgr

curl -O https://raw.githubusercontent.com/KenTaniguchi-R/ledgr/main/docker-compose.yml docker compose up -d

Visit http://localhost:4200, create an account, and start exploring.

On first boot, Ledgr generates an encryption key and session secret and stores them in the app data volume. Back up that volume (or the `/data/encryption-key` file) along with your database — losing the key means losing access to encrypted data like Plaid and SimpleFIN tokens. Prefer to manage the key yourself? Set ENCRYPTION_KEY in a .env file (see Configuration) and it takes precedence.

Add your Plaid keys to .env to enable bank sync — see Connect Your Bank below (or skip the keys and use SimpleFIN). The app works without either via CSV import.

Connect Your Bank

  1. Sign up at dashboard.plaid.com and get your client_id and secret from Developers > Keys
  2. Add them to a .env file next to your docker-compose.yml (start from .env.example if you don't have one):
   PLAID_CLIENT_ID=your_client_id

PLAID_SECRET=your_secret PLAID_ENV=production # or sandbox for fake data

3. Restart: `docker compose restart`
  1. In the app, go to Accounts > Link Bank to connect via Plaid

Plaid's free trial plan includes 10 production connections and unlimited sandbox access. After that, the Launch plan is pay-as-you-go with no contract. Don't have Plaid keys yet? The app still works — import transactions via CSV and add Plaid later.

Connect any of 12,000+ banks through Plaid

Or connect via SimpleFIN

SimpleFIN works out of the box — no developer account or .env changes needed.

  1. Get a SimpleFIN Bridge account and generate a Setup Token from your bridge provider
  2. In the app, go to Accounts > Link Bank and choose the SimpleFIN option
  3. Paste your Setup Token to connect

SimpleFIN has no webhooks, so accounts sync on a daily schedule (SCHEDULER_SIMPLEFIN_SYNC_CRON, see Configuration) instead of in real time. Investment holdings sync the same way as they do for Plaid.

Connect Your AI Agent

Ledgr ships with a built-in MCP server and plugin support.

First, enable the MCP endpoint in your .env and restart:

MCP_ENABLED=true

Then pick your tool:

Claude Code

/plugin marketplace add KenTaniguchi-R/ledgr

/plugin install ledgr@ledgr

Codex CLI

codex plugin marketplace add KenTaniguchi-R/ledgr

OpenCode — add to opencode.json:

{

"$schema": "https://opencode.ai/config.json", "plugin": ["ledgr"] }

OpenClaw

openclaw plugins install ledgr --marketplace KenTaniguchi-R/ledgr

Hermes

hermes plugins install KenTaniguchi-R/ledgr

Other MCP clients (Cursor, Windsurf, Cline, etc.)

Point any MCP-compatible client to your Ledgr instance:

http://localhost:4200/api/mcp

On first connection, Ledgr redirects you through an OAuth flow to authorize access.

Available Tools
ToolDescription
list_accountsLinked bank accounts and balances
get_account_summaryBalance totals by account type
get_transactionsSearch and filter transactions
update_transaction_categoryRecategorize a transaction
mark_transaction_transferMark or unmark a transaction as a transfer
get_budgetBudget progress for a month
set_budget_categorySet a category's budget amount
list_categoriesSpending categories
get_spending_reportSpending breakdown over a date range
get_income_vs_expenseIncome vs. expense trends
get_net_worth_historyNet worth over time
get_holdingsInvestment portfolio holdings
get_portfolio_summaryPortfolio value and allocation
get_upcoming_billsRecurring transactions and bills
get_dashboard_summaryOverview of your finances
show_financial_dashboardInteractive dashboard widget
sync_accountsTrigger a bank sync

Read, write, and sync tools are gated by OAuth scopes (ledgr:read, ledgr:write, ledgr:sync) that you grant during authorization.

Example prompts:

  • "How much did I spend on groceries this month?"
  • "Show me my budget status"
  • "What recurring bills do I have?"
  • "Generate a spending report for Q1"
  • "Sync my accounts and show my balances"

Comparison

LedgrActual BudgetFirefly III
Automatic bank syncPlaid (12,000+ banks) or SimpleFINSimpleFIN (US/CA), GoCardless (EU/UK)SimpleFIN, GoCardless, Spectre (via Data Importer)
Built-in MCP serverYes----
AI categorizationYes (BYOK)----
Investment trackingYes----
Self-hostableYesYesYes
DatabasePostgreSQLSQLiteMySQL/Postgres
LicenseAGPL-3.0MITAGPL-3.0

Updating

docker compose pull

docker compose up -d

Migrations run automatically on container startup.

Configuration

VariableRequiredDefaultDescription
ENCRYPTION_KEYNoauto-generatedEncrypts Plaid tokens & API keys. Generated on first boot and persisted in the app data volume; set your own with openssl rand -hex 32
BETTER_AUTH_SECRETNoauto-generatedSession secret, persisted in the app data volume. Set your own with openssl rand -base64 32
PORTNo4200Host port for the app
POSTGRES_PASSWORDNoledgrDatabase password (change in production)
PLAID_CLIENT_IDNo--Plaid client ID
PLAID_SECRETNo--Plaid secret key
PLAID_ENVNoproductionproduction or sandbox
PLAID_SYNC_MODENopollpoll (scheduled) or webhook (real-time)
PLAID_WEBHOOK_URLNo--Public URL for Plaid webhooks (webhook mode)
SCHEDULER_SIMPLEFIN_SYNC_CRONNo45 4 * * *Daily SimpleFIN account sync (no webhooks, so this is the only sync trigger)
AI_PROVIDERNo--openai, anthropic, google, openrouter, or custom
AI_API_KEYNo--Provider API key for AI chat & categorization
MCP_ENABLEDNofalseEnable the MCP endpoint for AI agents

See .env.example for all options.

Development

If you're self-hosting Ledgr, use the [Quick Start](#quick-start) above. The instructions below are for contributors.

Prerequisites
  • Node.js 24+
  • pnpm 10+
  • PostgreSQL 18 (or pnpm dev:db to start one in Docker)
Setup
git clone https://github.com/KenTaniguchi-R/ledgr.git

cd ledgr pnpm install cp .env.example .env # Fill in ENCRYPTION_KEY pnpm dev:setup # Start DB + migrate + dev server

To run the full app in Docker from source (instead of pulling the pre-built image):

docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d
Commands
pnpm dev                    # Dev server (Turbopack)

pnpm test # Unit + integration tests pnpm test:e2e # Playwright E2E tests pnpm lint # ESLint pnpm typecheck # Type checking pnpm db:studio # Drizzle Studio (DB browser)

Tech Stack

LayerChoice
FrameworkNext.js 16 (App Router)
LanguageTypeScript
UIshadcn/ui + Tailwind CSS 4
ChartsRecharts 3
DatabasePostgreSQL 18 via Drizzle ORM
AuthBetter Auth
Bank SyncPlaid Node SDK, SimpleFIN
AIVercel AI SDK (BYOK)
MCPModel Context Protocol SDK
TestingVitest + Playwright + Stryker

Roadmap

  • Plaid webhook support (real-time sync)
  • AI chat assistant (in-app)
  • OFX/QFX import
  • SimpleFIN bank sync (Plaid alternative)
  • Automatic transfer detection between accounts
  • Mobile-responsive UI
  • Multi-currency support
  • Custom report builder
  • Goal tracking (savings goals, debt payoff)
  • Recurring budget t

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx