Logotipo de LamPyrid

LamPyrid

Comunidad
RadCod3

A simple MCP server for Firefly III

EditorRadCod3
RepositorioLamPyrid
IdiomaPython
Forks
5
Estrellas
23
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaAGPL-3.0
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    LamPyrid ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    23 estrellas y 5 forks en el repositorio enlazado.

LamPyrid

A Model Context Protocol (MCP) server providing comprehensive tools for interacting with Firefly III personal finance software. LamPyrid enables automated personal finance workflows and analysis through 22 MCP tools with support for account management, transaction operations, budget management, and financial insights.

What is Firefly III? Firefly III is a free and open-source personal finance manager that helps you track expenses, income, budgets, and more. LamPyrid provides an MCP interface to automate interactions with your Firefly III instance.

Features

  • Account Management: List, search, and retrieve account information across all Firefly III account types
  • Transaction Operations: Full CRUD operations for withdrawals, deposits, and transfers
  • Bulk Operations: Efficient bulk transaction creation and updates
  • Budget Management: Budget analysis with spending tracking and allocation
  • Docker Support: Production-ready multi-platform images (amd64/arm64)

Prerequisites

  • Access to a Firefly III instance with a Personal Access Token
  • For local installation: Python 3.14+ and uv
  • For Docker: Docker installed on your system

Adding to Claude

Option 1: Local Setup (Claude Desktop)

Clone and install LamPyrid:

bash
git clone https://github.com/RadCod3/LamPyrid.git
cd LamPyrid
uv sync

Add to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
{
  "mcpServers": {
    "lampyrid": {
      "command": "uv",
      "args": ["run", "--project", "/path/to/LamPyrid", "lampyrid"],
      "env": {
        "FIREFLY_BASE_URL": "https://your-firefly-instance.com",
        "FIREFLY_TOKEN": "your-personal-access-token"
      }
    }
  }
}

Restart Claude Desktop to enable LamPyrid tools.

Option 2: Remote Setup (Claude Connector)

When hosted on a remote server, LamPyrid can be added as a Claude Connector, allowing you to use it across all Claude interfaces including Claude mobile apps (iOS/Android), Claude web, and Claude Desktop.

1. Deploy LamPyrid to a remote server:

yaml
# docker-compose.yml
services:
  lampyrid:
    image: ghcr.io/radcod3/lampyrid:latest
    ports:
      - "3000:3000"
    env_file:
      - .env
    restart: unless-stopped
bash
# .env
FIREFLY_BASE_URL=https://your-firefly-instance.com
FIREFLY_TOKEN=your-api-token
MCP_TRANSPORT=http
bash
docker compose up -d

2. Add as Claude Connector:

  1. Go to Claude Settings > Connectors > Add connector
  2. Enter your server URL: https://your-server-url.com/mcp
  3. LamPyrid is now available on all your Claude devices!

Security Note: If hosting on a public server, it is strongly recommended to enable authentication. LamPyrid currently supports Google OAuth - see the Authentication section below.

Configuration

Required

VariableDescription
FIREFLY_BASE_URLURL of your Firefly III instance
FIREFLY_TOKENPersonal access token for API authentication

Server Options

VariableDefaultDescription
MCP_TRANSPORTstdioTransport protocol: stdio, http, or sse
MCP_HOST0.0.0.0Host binding for HTTP/SSE transports
MCP_PORT3000Port binding for HTTP/SSE transports
LOGGING_LEVELINFOLogging verbosity: DEBUG/INFO/WARNING/ERROR/CRITICAL

Authentication (Optional)

Recommended for remote deployments. Currently supports Google OAuth.

VariableDescription
GOOGLE_CLIENT_IDGoogle OAuth 2.0 client ID
GOOGLE_CLIENT_SECRETGoogle OAuth 2.0 client secret
SERVER_BASE_URLYour server's public URL (e.g., https://lampyrid.example.com)

Setting up Google OAuth:

  1. Go to Google Cloud Console
  2. Create or select a project
  3. Navigate to APIs & Services > OAuth consent screen and configure
  4. Go to Credentials > Create Credentials > OAuth client ID
  5. Application type: Web application
  6. Add authorized redirect URI: {SERVER_BASE_URL}/auth/callback
  7. Copy the Client ID and Client Secret to your environment

Token Persistence (Optional)

Enable persistent authentication across server restarts:

VariableDescription
JWT_SIGNING_KEYJWT signing key (generate: python -c "import secrets; print(secrets.token_urlsafe(32))")
OAUTH_STORAGE_ENCRYPTION_KEYFernet key (generate: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())")
OAUTH_STORAGE_PATHStorage path (default: /app/data/oauth for Docker)

Available Tools

Account Management (3 tools)

ToolDescription
list_accountsList accounts by type (asset, expense, revenue, etc.)
search_accountsSearch accounts by name with optional type filtering
get_accountGet detailed information for a single account

Transaction Management (10 tools)

ToolDescription
get_transactionsRetrieve transactions with time range and type filtering
search_transactionsSearch transactions by description or text fields
get_transactionGet detailed information for a single transaction
create_withdrawalCreate withdrawal transactions with budget allocation
create_depositCreate deposit transactions
create_transferCreate transfer transactions between accounts
create_bulk_transactionsCreate multiple transactions in a single operation
update_transactionUpdate existing transaction details
bulk_update_transactionsUpdate multiple transactions in a single operation
delete_transactionDelete transactions by ID

Budget Management (6 tools)

ToolDescription
list_budgetsList all budgets with optional filtering
get_budgetGet detailed budget information
get_budget_spendingAnalyze spending for specific budgets and periods
get_budget_summaryComprehensive summary of all budgets with spending
get_available_budgetCheck available budget amounts for periods
create_budgetCreate new budgets with auto-budget options

Docker

Available Images

TagDescription
latestLatest stable release (recommended)
edgeMain branch (latest features, may be unstable)
0.3.0, 0.3, 0Specific versions

All images support linux/amd64 and linux/arm64 platforms.

bash
docker pull ghcr.io/radcod3/lampyrid:latest

Volume Permissions

If you encounter permission errors with OAuth storage, set the correct ownership:

bash
mkdir -p ./data/oauth
sudo chown -R 65532:65532 ./data/oauth

Development

bash
# Install dependencies
uv sync

# Format and lint
uv run ruff format
uv run ruff check --fix

# Run the server
uv run lampyrid

# Run tests
uv run pytest

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feat/your-feature
  3. Make changes following the code style (run uv run ruff format && uv run ruff check --fix)
  4. Submit a pull request

License

GNU Affero General Public License v3.0 (AGPL-3.0) - see LICENSE.

Support

For issues and feature requests, use the GitHub issue tracker.

Instalación

TypingMind
Requisitos:

Node.js 18+

{
  "mcpServers": {
    "radcod3-lampyrid": {
      "command": "",
      "args": []
    }
  }
}

Usa el MCP de LamPyrid con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado LamPyrid, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade LamPyrid como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de LamPyrid.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "radcod3-lampyrid": {
      "command": "npx",
      "args": [
        "-y",
        "lampyrid"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de LamPyrid y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de LamPyrid.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar LamPyrid para ayudarme con esta tarea?
LamPyrid
Claro. Lo he leído.
Esto he encontrado usando LamPyrid.

Preguntas frecuentes

¿Para qué sirve el servidor MCP LamPyrid?

LamPyrid es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP LamPyrid con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar LamPyrid con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de LamPyrid con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con LamPyrid conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP LamPyrid a TypingMind?

LamPyrid funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP LamPyrid en TypingMind?

LamPyrid ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP LamPyrid?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si LamPyrid requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇