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

@dizzlkheinz/ynab-mcp-server

v0.12.1

Published

Model Context Protocol server for YNAB (You Need A Budget) integration

Downloads

238

Readme

YNAB MCP Server

Download latest MCPB npm version npm downloads

Release Release MCPB Downloads License: AGPL v3 code style: prettier lint: eslint Node TypeScript SemVer Issues PRs

Connect your YNAB budget to Claude Desktop and other AI assistants using the Model Context Protocol (MCP). Ask questions about your spending, create transactions, reconcile accounts, and manage your budget using natural language.

What Can You Do?

  • Ask Questions: "How much did I spend on groceries last month?" or "What's my credit card balance?"
  • Manage Transactions: Create, update, or delete transactions without opening YNAB
  • Split Receipts: Create itemized transactions from receipts with automatic tax allocation across items
  • Reconcile Accounts: Import and compare bank statements to find missing transactions
  • Analyze Spending: Get insights into spending patterns and budget performance
  • Set Budgets: Adjust category budgets and move money between categories

All monetary amounts are automatically converted to dollars (YNAB stores them in milliunits internally), so everything is human-readable.

Quick Start

Step 1: Get Your YNAB Access Token

  1. Log in to YNAB Web App
  2. Go to Account SettingsDeveloper Settings
  3. Click New Token
  4. Give it a name (e.g., "MCP Server")
  5. Copy the token (you'll only see it once!)

Step 2: Install in Your MCP Client

Option A: Download the Extension

  1. Download the latest .mcpb file from Releases
  2. Drag and drop it into Claude Desktop
  3. Paste your YNAB Access Token when prompted
  4. Restart Claude Desktop

Option B: Use npx

Add this to your Claude Desktop MCP settings file:

{
  "mcpServers": {
    "ynab": {
      "command": "npx",
      "args": ["-y", "@dizzlkheinz/ynab-mcp-server"],
      "env": {
        "YNAB_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

Add this to your Cline MCP settings:

{
  "mcpServers": {
    "ynab": {
      "command": "npx",
      "args": ["-y", "@dizzlkheinz/ynab-mcp-server"],
      "env": {
        "YNAB_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

For any MCP-compatible client, configure the server with:

Command: npx Arguments: ["-y", "@dizzlkheinz/ynab-mcp-server"] Environment Variables:

  • YNAB_ACCESS_TOKEN: Your YNAB Personal Access Token

Refer to your MCP client's documentation for specific configuration steps.

Step 3: Start Using It

Ask your AI assistant questions like:

  • "What's my checking account balance?"
  • "How much have I spent on dining out this month?"
  • "List my recent transactions"
  • "Set my groceries budget to $500"

That's it! You're ready to manage your budget with AI.

Optional Configuration

Most users won't need to change these settings, but they're available if you need them:

Export Location:

  • YNAB_EXPORT_PATH — Where to save exported transaction files (defaults to Downloads folder)

Example:

{
  "mcpServers": {
    "ynab": {
      "command": "npx",
      "args": ["-y", "@dizzlkheinz/ynab-mcp-server"],
      "env": {
        "YNAB_ACCESS_TOKEN": "your-token-here",
        "YNAB_EXPORT_PATH": "C:\\Users\\YourName\\Documents"
      }
    }
  }
}

For advanced configuration options (caching, output formatting), see the Configuration Guide.

What's Available

The server gives Claude access to 30 tools organized by function. You don't need to know the tool names - just ask Claude in natural language and it will use the right tools.

Budget & Account Info

  • View budgets, accounts, categories, payees
  • Check balances and category budgets
  • See monthly spending summaries

Transactions

  • List, create, update, or delete transactions
  • Import and reconcile bank statements
  • Export transactions to files
  • Create split transactions from receipts

Analysis

  • Compare spending across time periods
  • Find missing transactions
  • Track budget performance

For the complete list with technical details, see the API Reference.

Need Help?

For Developers

Want to contribute or build from source?

Quick start for development:

git clone <repository-url>
cd ynab-mcp-server
npm install
npm run build
npm test

Security & Privacy

Your YNAB access token is stored securely and never logged. All communication with YNAB's API uses HTTPS, and the server validates all inputs to prevent errors and security issues.

Contributing

Contributions welcome! Please:

  1. Open an issue to discuss your idea
  2. Fork the repository and make your changes
  3. Add tests for new features
  4. Submit a pull request

See the Development Guide for details.

License

Licensed under AGPL-3.0. Free to use and modify, but derivative works must also be open source.


Built with: