Logo van LamPyrid

LamPyrid

Community
RadCod3

A simple MCP server for Firefly III

UitgeverRadCod3
RepositoryLamPyrid
TaalPython
Forks
5
Sterren
23
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieAGPL-3.0
Links
  • Koppel tools aan AI-workflows

    LamPyrid biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    23 sterren en 5 forks in de gekoppelde repository.

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.

Installatie

TypingMind
Vereisten:

Node.js 18+

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

Gebruik LamPyrid MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra LamPyrid is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg LamPyrid toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van LamPyrid.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "radcod3-lampyrid": {
      "command": "npx",
      "args": [
        "-y",
        "lampyrid"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van LamPyrid in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van LamPyrid in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je LamPyrid gebruiken om me hiermee te helpen?
LamPyrid
Zeker. Ik heb het gelezen.
Dit vond ik met LamPyrid.

Veelgestelde vragen

Waarvoor wordt de MCP-server LamPyrid gebruikt?

LamPyrid is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik LamPyrid MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je LamPyrid gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom LamPyrid MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als LamPyrid verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik LamPyrid MCP met TypingMind?

LamPyrid werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt LamPyrid MCP in TypingMind?

LamPyrid biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om LamPyrid MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als LamPyrid authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇