Permite que un cliente de IA acceda y analice tus compromisos recurrentes, suscripciones y gastos para ofrecer información financiera y sugerir cambios.
También conocido como MXmaster2s/longbook-code, mcp, @longbook/mcp
- Stars
- 0
- Herramientas
- —
- Descargas, 30 días
- —
- Última versión
- 1.50.0
- Último commit
- 14 nov 2026
- Licencia
- GPL-3.0
¿Qué es longbook MCP?
longbook es un MCP server. Permite que un cliente de IA acceda y analice tus compromisos recurrentes, suscripciones y gastos para ofrecer información financiera y sugerir cambios.
Resumen generado a partir del README del proyecto
Acerca del MCP server de longbook
Longbook proporciona una interfaz para que los clientes de IA accedan y analicen tus compromisos financieros recurrentes, como suscripciones, alquileres y seguros. Funciona como una memoria financiera que permite a una IA realizar cálculos sobre tus próximos cargos, flujo de caja y patrones de gasto. Los usuarios pueden conectarse a través de un servidor alojado usando OAuth mediante un navegador o ejecutando un servidor local que lee directamente una carpeta específica de archivos.
Para configuraciones locales, el servidor requiere Node 18 o posterior y puede apuntar a un directorio vault usando el flag --vault o una variable de entorno. La versión local puede leer estados de cuenta bancarios en formatos PDF, .xlsx o CSV y acceder a informes almacenados en tus documentos. Aunque la mayoría de las herramientas son de solo lectura, existen herramientas de escritura específicas que permiten a una IA sugerir cambios en compromisos, cuentas o etiquetas. Estas sugerencias no editan tus archivos de inmediato, sino que aparecen en una pantalla de Changes dentro de la aplicación longbook para tu aprobación manual.
Qué puedes hacer con él
- 1Analizar obligaciones financieras próximasPide a tu IA que calcule tu próximo día de pago o el total de los cargos próximos basándose en tus compromisos registrados.
- 2Rastrear gastos por categorías específicasSolicita un desglose de tus gastos organizados por etiquetas, cuentas o miembros específicos.
- 3Gestionar datos financieros mediante archivos localesUtiliza un servidor local para permitir que una IA procese estados de cuenta y reportes almacenados en tus carpetas locales sin usar una cuenta en la nube.
Escrito a partir del README del proyecto. Cada caso de uso se verifica con una cita del mismo.
Cómo instalar longbook MCP
Formatos verificados el 10 nov 2026Instalar longbook MCP en Claude Code
$ claude mcp add mcp -- npx -y @longbook/mcpInstalar longbook MCP en Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}Instalar longbook MCP en VS Code
.vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}Instalar longbook MCP en Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}Instalar longbook MCP en Codex
~/.codex/config.toml
[mcp_servers.mcp] command = "npx" args = ["-y", "@longbook/mcp"]
Instalar longbook MCP en Gemini CLI
~/.gemini/settings.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@longbook/mcp"
]
}
}
}Verificaciones automáticas
Ejecutado 14 nov 2026Informe completo →Pasó nuestras verificaciones automáticas. Esto no es una auditoría de seguridad: lee el código y dale al servidor el acceso más limitado que necesite. Cómo funcionan las verificaciones
- Repositorio de origen vinculado y accesiblemxmaster2s/longbook-code is public and reachablegithub.com/mxmaster2s/longbook-code ↗Aprobado
- El paquete cita este repositorio como fuente@longbook/mcp names mxmaster2s/longbook-code as sourcenpmjs.com/package/@longbook/mcp ↗Aprobado
- Procedencia de la compilación (atestación Sigstore)No build attestation published for this releaseNo verificado
- Licencia de código abierto (OSI)GPL-3.0spdx.org/licenses/GPL-3.0.html ↗Aprobado
- Commit o lanzamiento en el último añoLast commit or release 2026-11-11github.com/mxmaster2s/longbook-code ↗Aprobado
- OpenSSF ScorecardNo verificado
- El nombre del paquete no es similar a un paquete popularNo popular package one edit away from @longbook/mcpAprobado
- Sin avisos críticos en el paquete ni en sus dependencias1 resolved dependencies checked; no critical advisoryosv.dev ↗Aprobado
- Sin instrucciones ocultas para el modelo0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersAprobado
- Las herramientas destructivas están etiquetadasNo verificado
- El endpoint remoto responde al handshake MCPHTTPS endpoint answered 401 (sign-in required)Aprobado
README
Ver en GitHublongbook 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.
Preguntas sobre longbook MCP
¿Cómo agrego longbook MCP a Claude Code?
Ejecuta claude mcp add mcp -- npx -y @longbook/mcp en tu terminal. Añade --scope user para que esté disponible en todos los proyectos.
¿Cómo agrego longbook MCP a Cursor?
Abre ~/.cursor/mcp.json y añade el servidor en mcpServers, usando la configuración de Cursor que se muestra en la sección de instalación de arriba.
¿Cómo puedo conectar el servidor alojado a mi IA?
Puedes conectarte mediante OAuth en tu navegador copiando el prompt de conexión desde la aplicación o el sitio web de longbook y pegándolo en tu cliente de IA.
¿Puede la IA editar automáticamente mis registros financieros?
No, la IA solo puede sugerir cambios, los cuales deben ser revisados y aprobados en la pantalla de Changes de la aplicación antes de aplicarse.
¿Cómo uso la versión del servidor local?
Puedes ejecutar el servidor local usando npx apuntándolo a tu carpeta de longbook con el flag --vault.
¿Qué tipo de archivos puede leer el servidor local?
El servidor local puede leer estados de cuenta bancarios en formatos PDF, .xlsx y CSV, así como informes generados por longbook.