npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@firefly-iii-mcp/local

v1.4.0

Published

Run Firefly III MCP server locally

Downloads

88

Readme

Firefly III MCP Server - Local

This package provides a command-line tool for running the Firefly III MCP (Model Context Protocol) server locally. The MCP server integrates with Firefly III, a free and open-source personal finance manager.

查看中文版

Installation

# Install globally
npm install -g @firefly-iii-mcp/local

# Or use directly with npx
npx @firefly-iii-mcp/local --pat YOUR_PAT --baseUrl YOUR_FIREFLY_III_URL

Usage

To run the MCP server, you need to provide two required parameters:

  • FIREFLY_III_PAT: Personal Access Token for your Firefly III instance
  • FIREFLY_III_BASE_URL: URL of your Firefly III instance

You can provide these parameters in two ways:

1. Command-line arguments

firefly-iii-mcp --pat YOUR_PAT --baseUrl YOUR_FIREFLY_III_URL

2. Environment variables

Create a .env file with the following content:

FIREFLY_III_PAT=YOUR_PAT
FIREFLY_III_BASE_URL=YOUR_FIREFLY_III_URL
# Optional: Use a preset for tool filtering
FIREFLY_III_PRESET=default
# Optional: Specify custom tool tags (overrides FIREFLY_III_PRESET if both are set)
FIREFLY_III_TOOLS=accounts,transactions,categories

Then run:

firefly-iii-mcp

Tool Filtering Options

You can filter which tools are exposed to the MCP client using the following options:

Using Presets

# Command-line argument
firefly-iii-mcp --pat YOUR_PAT --baseUrl YOUR_FIREFLY_III_URL --preset PRESET_NAME

# Or environment variable
FIREFLY_III_PRESET=PRESET_NAME

Available presets:

  • default: Basic tools for everyday use (accounts, bills, categories, tags, transactions, search, summary)
  • full: All available tools
  • basic: Core financial management tools
  • budget: Budget-focused tools
  • reporting: Reporting and analysis tools
  • admin: Administration tools
  • automation: Automation-related tools

Using Custom Tool Tags

# Command-line argument
firefly-iii-mcp --pat YOUR_PAT --baseUrl YOUR_FIREFLY_III_URL --tools tag1,tag2,tag3

# Or environment variable
FIREFLY_III_TOOLS=tag1,tag2,tag3

Available tool tags: about, accounts, attachments, autocomplete, available_budgets, bills, budgets, categories, charts, configuration, currencies, currency_exchange_rates, data, insight, links, object_groups, piggy_banks, preferences, recurrences, rule_groups, rules, search, summary, tags, transactions, user_groups, users, webhooks

Tool tags are defined in core/src/presets.ts file. You can also refer to Firefly III API Docs for more details.

Note: Command-line arguments take precedence over environment variables. If both --tools and --preset are provided, --tools will be used.

Integration with AI Tools

Once the MCP server is running, you can connect to it using MCP-compatible AI tools. For example, using supergateway:

npx -y supergateway --streamableHttp "stdio://"

This creates a gateway through which AI models can interact with your Firefly III instance.

Requirements

  • Node.js >= 20
  • A Firefly III instance with a valid personal access token

Development

This package is part of a monorepo managed with Turborepo. Please refer to the CONTRIBUTING.md file in the project root for detailed contribution guidelines.

License

This project is licensed under the MIT License.