Lets an AI client access and analyze your recurring commitments, subscriptions, and expenses to provide financial insights and suggest changes.
다른 이름 MXmaster2s/longbook-code, mcp, @longbook/mcp
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 1.50.0
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- GPL-3.0
longbook MCP란?
longbook은(는) MCP server입니다. Lets an AI client access and analyze your recurring commitments, subscriptions, and expenses to provide financial insights and suggest changes.
프로젝트 README에서 생성된 요약
longbook MCP server 정보
Longbook provides an interface for AI clients to access and analyze your recurring financial commitments, such as subscriptions, rent, and insurance. It functions as a financial memory that allows an AI to perform arithmetic on your upcoming charges, cash flow, and spending patterns. Users can connect via a hosted server using OAuth through a browser or by running a local server that reads a specific folder of files directly.
For local setups, the server requires Node 18 or later and can point to a vault directory using the --vault flag or an environment variable. The local version can read bank statements in PDF, .xlsx, or CSV formats and access reports stored in your documents. While most tools are read-only, specific write tools allow an AI to suggest changes to commitments, accounts, or tags. These suggestions do not edit your files immediately but instead land in a Changes screen within the longbook app for your manual approval.
활용 사례
- 1Analyze upcoming financial obligationsAsk your AI to calculate your next payment day or total upcoming charges based on your recorded commitments.
- 2Track spending by specific categoriesRequest a breakdown of your expenses organized by specific tags, accounts, or members.
- 3Manage financial data via local filesUse a local server to let an AI process bank statements and reports stored in your local folders without using a cloud account.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
longbook MCP 설치 방법
형식 확인: 2026년 11월 10일Claude Code에 longbook MCP 설치
$ claude mcp add mcp -- npx -y @longbook/mcpCursor에 longbook MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}VS Code에 longbook MCP 설치
.vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}Claude Desktop에 longbook MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}Codex에 longbook MCP 설치
~/.codex/config.toml
[mcp_servers.mcp] command = "npx" args = ["-y", "@longbook/mcp"]
Gemini CLI에 longbook MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능mxmaster2s/longbook-code is public and reachablegithub.com/mxmaster2s/longbook-code ↗통과
- 패키지가 이 저장소를 소스로 지정@longbook/mcp names mxmaster2s/longbook-code as sourcenpmjs.com/package/@longbook/mcp ↗통과
- 빌드 출처(Sigstore 증명)No build attestation published for this release검사되지 않음
- 오픈 소스 라이선스 (OSI)GPL-3.0spdx.org/licenses/GPL-3.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-11github.com/mxmaster2s/longbook-code ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from @longbook/mcp통과
- 패키지와 의존성에 심각한 보안 권고 없음1 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 endpoint가 MCP 핸드셰이크에 응답HTTPS endpoint answered 401 (sign-in required)통과
README
GitHub에서 보기longbook MCP server
Your financial memory, readable by the AI you already use. longbook keeps every recurring commitment — subscriptions, insurance, EMIs, rent, fees — as a plain folder of files you own. This MCP server lets any AI answer from that memory with real arithmetic: next payment day, upcoming charges, cash flow, spending by tag, account, or member. Amounts are per-currency and never converted or blended.
There are two ways to connect. Both serve the same tools from the same engine.
The hosted server (works with any AI, no install)
Address: https://longbook.app/mcp
Sign-in happens in your browser through OAuth; the server reads the hosted copy of your memory, which you switch on inside the longbook app (Settings → MCP server). A signed-in AI reads. It can also suggest changes once you turn on "Let signed-in AIs suggest changes" in the app — suggestions wait for your app and land in its Changes screen, to keep or undo as one batch. Nothing in the cloud ever edits your memory itself. Disconnecting an AI or turning the switch off takes effect immediately.
The simplest setup: copy the connect prompt from the app or from longbook.app/mcp and paste it into your AI.
| Client | Where to add it |
|---|---|
| Claude (web, desktop, mobile) | Settings → Connectors → Add custom connector → paste the address |
| ChatGPT | Settings → Connectors → Advanced → Developer mode → add MCP server |
| Grok | Settings → Connectors → add remote MCP server |
| Anything else that speaks remote MCP | Point it at the address; OAuth does the rest |
Clients that cannot open a browser — schedulers, CLIs — use an access key from the app instead (Settings → MCP server → Access keys) as a bearer token. A key made with "Read and suggest changes" can file suggestions the same way. On a Mac, save the key to the keychain when it is shown; an agent then reads it without a file:
security find-generic-password -s "longbook access key" -w
Hand it to a connector config through the environment ("Authorization": "Bearer ${LONGBOOK_KEY}"), never by pasting the key into a file.
The local server (reads the folder directly)
npx -y @longbook/mcp@latest --vault "/path/to/your/longbook folder"
@latest makes npx fetch the newest release each time instead of reusing an older copy
it kept. It needs Node 18 or later.
Without --vault (or the LONGBOOK_VAULT_PATH environment variable) it looks in
the iCloud Drive folder the longbook app uses on a Mac. On Windows and Linux, name your
longbook folder with --vault. The local server reads your files
directly — no account, no network — reads the bank statements in your documents
folder (PDF, .xlsx, CSV), reads the reports longbook drew into your reports/ folder with
their comments, and carries the write tools: adding and changing commitments, charges, accounts, people
and tags, marking paid, promoting to recurring and leaving an insight. Every write is schema-validated, scanned by
the data policy, stamped with provenance, and lands in the app's Changes screen for
you to keep or undo.
Claude Desktop
The Mac app writes this for you in one click (Settings → MCP server). By hand:
{
"mcpServers": {
"longbook": { "command": "npx", "args": ["-y", "@longbook/mcp@latest"] }
}
}
Cursor
Add to ~/.cursor/mcp.json with the same JSON as above, or use the one-click link:
VS Code and GitHub Copilot
Add to .vscode/mcp.json (or user settings):
{
"servers": {
"longbook": { "command": "npx", "args": ["-y", "@longbook/mcp@latest"] }
}
}
Codex CLI
Add to ~/.codex/config.toml:
[mcp_servers.longbook]
command = "npx"
args = ["-y", "@longbook/mcp@latest"]
Gemini CLI
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"longbook": { "command": "npx", "args": ["-y", "@longbook/mcp@latest"] }
}
}
What the tools return
Fourteen read tools (next payment, upcoming, charges, cash flow, spending by tag, account
and member, the commitment list, search, accounts, members, tags, whoami and the guide),
every number computed by the engine the apps themselves trust. The vault's own llms.txt and JSON Schema travel with the
connection as resources, and four self-contained HTML cards render the answers.
All read tools declare readOnlyHint; nothing here can change your files except
the two review-gated local write tools described above.
More about longbook
- longbook.app: the app for Mac and iPhone
- This package on longbook.app
- Every feature and automations with your AI
- Automate longbook with Claude
- Review every change your AI makes
- Get insights about your expenses from your AI
- Import your bank statements
- Why we built longbook and the FAQ
Privacy
The memory's format cannot hold card numbers, CVVs, expiries, PINs, or credentials — there is no field for them, and a save containing one is refused. The privacy policy is at longbook.app/privacy-policy.
License
GPL-3.0-only. longbook itself is a paid app ($38 one-time, with a 7-day refund); this server is free software either way.
Versions
The server reports its version to every AI that connects: 1.<rulebook revision>.<patch>,
the same number as this package, its MCP registry entry and the longbook plugin for Claude.
The rulebook is longbook's llms.txt and the files beside it; its revision says which
version of them the server speaks.
longbook MCP 질문
longbook MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add mcp -- npx -y @longbook/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
longbook MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
How can I connect the hosted server to my AI?
You can connect via OAuth in your browser by copying the connect prompt from the longbook app or website and pasting it into your AI client.
Can the AI automatically edit my financial records?
No, the AI can only suggest changes which must be reviewed and approved in the app's Changes screen before they are applied.
How do I use the local server version?
You can run the local server using npx by pointing it to your longbook folder with the --vault flag.
What kind of files can the local server read?
The local server can read bank statements in PDF, .xlsx, and CSV formats, as well as reports generated by longbook.