Ermöglicht es einem AI-Client, deine wiederkehrenden Verpflichtungen, Abonnements und Ausgaben zu analysieren, um Finanz-Insights zu liefern und Änderungen vorzuschlagen.
Auch bekannt als MXmaster2s/longbook-code, mcp, @longbook/mcp
- Stars
- 0
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- 1.50.0
- Letzter Commit
- 14. Nov. 2026
- Lizenz
- GPL-3.0
Was ist longbook MCP?
longbook ist ein MCP server. Ermöglicht es einem AI-Client, deine wiederkehrenden Verpflichtungen, Abonnements und Ausgaben zu analysieren, um Finanz-Insights zu liefern und Änderungen vorzuschlagen.
Zusammenfassung generiert aus dem README des Projekts
Über longbook MCP server
Longbook bietet eine Schnittstelle für AI-Clients, um auf deine wiederkehrenden finanziellen Verpflichtungen wie Abonnements, Miete und Versicherungen zuzugreifen und diese zu analysieren. Es fungiert als finanzielles Gedächtnis, das es einer KI ermöglicht, Berechnungen zu deinen anstehenden Abbuchungen, zum Cashflow und zu deinen Ausgabemustern durchzuführen. Nutzer können sich entweder über einen hosted Server via OAuth im Browser verbinden oder einen lokalen Server ausführen, der direkt einen spezifischen Dateiordner ausliest.
Bei lokalen Setups benötigt der Server Node 18 oder neuer und kann über das --vault Flag oder eine Umgebungsvariable auf ein Vault-Verzeichnis verwiesen werden. Die lokale Version kann Kontoauszüge in den Formaten PDF, .xlsx oder CSV lesen und auf Berichte zugreifen, die in deinen Dokumenten gespeichert sind. Während die meisten Tools Read-only sind, ermöglichen spezifische Write-Tools der KI, Änderungen an Verpflichtungen, Konten oder Tags vorzuschlagen. Diese Vorschläge bearbeiten deine Dateien nicht sofort, sondern landen im Changes-Screen innerhalb der Longbook-App zur manuellen Freigabe durch dich.
Was du damit machen kannst
- 1Anstehende finanzielle Verpflichtungen analysierenBitte deine KI, den nächsten Zahlungstag oder die Gesamtsumme der anstehenden Abbuchungen basierend auf deinen erfassten Verpflichtungen zu berechnen.
- 2Ausgaben nach spezifischen Kategorien trackenFordere eine Aufschlüsselung deiner Ausgaben an, organisiert nach bestimmten Tags, Konten oder Mitgliedern.
- 3Finanzdaten über lokale Dateien verwaltenNutze einen lokalen Server, um eine KI Kontoauszüge und Berichte in deinen lokalen Ordnern verarbeiten zu lassen, ohne ein Cloud-Konto zu verwenden.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du longbook MCP
Formate geprüft am 10. Nov. 2026longbook MCP in Claude Code installieren
$ claude mcp add mcp -- npx -y @longbook/mcplongbook MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}longbook MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}longbook MCP in Claude Desktop installieren
claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}longbook MCP in Codex installieren
~/.codex/config.toml
[mcp_servers.mcp] command = "npx" args = ["-y", "@longbook/mcp"]
longbook MCP in Gemini CLI installieren
~/.gemini/settings.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Unsere automatisierten Checks bestanden. Das ist kein Security-Audit: Lies den Code und gib dem Server nur den minimal notwendigen Zugriff. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbarmxmaster2s/longbook-code is public and reachablegithub.com/mxmaster2s/longbook-code ↗Bestanden
- Paket nennt dieses Repository als Quelle@longbook/mcp names mxmaster2s/longbook-code as sourcenpmjs.com/package/@longbook/mcp ↗Bestanden
- Build-Herkunft (Sigstore-Attestierung)No build attestation published for this releaseNicht geprüft
- Open Source Lizenz (OSI)GPL-3.0spdx.org/licenses/GPL-3.0.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-11-11github.com/mxmaster2s/longbook-code ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNo popular package one edit away from @longbook/mcpBestanden
- Kein kritischer Hinweis im Paket oder seinen Abhängigkeiten1 resolved dependencies checked; no critical advisoryosv.dev ↗Bestanden
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeHTTPS endpoint answered 401 (sign-in required)Bestanden
README
Auf GitHub ansehenlongbook 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 Fragen
Wie füge ich longbook MCP zu Claude Code hinzu?
Führe claude mcp add mcp -- npx -y @longbook/mcp in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich longbook MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Wie kann ich den hosted Server mit meiner KI verbinden?
Du kannst dich via OAuth in deinem Browser verbinden, indem du den Connect-Prompt aus der Longbook-App oder Website kopierst und in deinen AI-Client einfügst.
Kann die KI meine Finanzdaten automatisch bearbeiten?
Nein, die KI kann nur Änderungen vorschlagen, die im Changes-Screen der App überprüft und genehmigt werden müssen, bevor sie angewendet werden.
Wie nutze ich die lokale Server-Version?
Du kannst den lokalen Server mit npx ausführen, indem du mit dem --vault Flag auf deinen Longbook-Ordner verweist.
Welche Dateitypen kann der lokale Server lesen?
Der lokale Server kann Kontoauszüge in den Formaten PDF, .xlsx und CSV sowie von Longbook generierte Berichte lesen.