MCP YNAB Server
An MCP server that allows users to interact with YNAB data, enabling access to account balances, transactions, and the creation of new transactions through the Model Context Protocol.
klauern
Tools
create_transaction
Create a new transaction in YNAB.
get_account_balance
Get the current balance of a YNAB account (in dollars).
get_budgets
List all YNAB budgets in Markdown format.
get_accounts
List all YNAB accounts in a specific budget in Markdown format.
get_categories
List all transaction categories for a given YNAB budget in Markdown format.
_find_transaction_by_id
Find a transaction by its ID and ID type.
get_transactions
Get recent transactions for a specific account in a specific budget.
get_transactions_needing_attention
List transactions that need attention based on specified filter type in a YNAB budget.
set_preferred_budget_id
Set the preferred YNAB budget ID.
cache_categories
Cache all categories for a given YNAB budget ID.
README
MCP YNAB Server
An MCP server implementation that provides access to YNAB (You Need A Budget) functionality through the Model Context Protocol.
Features
- View account balances and transactions
- Create new transactions
- Access YNAB data through standardized MCP resources
Installation
uv pip install -e .
Configuration
The server requires a YNAB API key to function. You can obtain one from your YNAB Developer Settings.
The API key can be provided through:
- Environment variable:
YNAB_API_KEY=your_api_key
- MCP secret management system
.env
file in project root
Usage
Running the Server
# Development mode with hot reload and browser launch
task dev
# Production install for Claude Desktop, Goose, or any other MCP-supported environment
task install
Available Resources
ynab://accounts
- List all YNAB accountsynab://transactions/{account_id}
- Get recent transactions for a specific account
Available Tools
create_transaction
- Create a new transactionget_account_balance
- Get the current balance of an account
Example Usage
# Create a new transaction
result = await create_transaction(
account_id="your_account_id",
amount=42.50, # in dollars
payee_name="Coffee Shop",
category_name="Dining Out",
memo="Morning coffee"
)
# Get account balance
balance = await get_account_balance("your_account_id")
# List accounts
accounts = await ctx.read_resource("ynab://accounts")
# Get recent transactions
transactions = await ctx.read_resource(f"ynab://transactions/{account_id}")
Development
# Install dependencies (uses uv)
task deps
# Run all tests including integration tests (you will need a YNAB API key for this)
task test:all
# Generate coverage report
task coverage
# Format and lint code
task fmt # Should add this to Taskfile
Project Tasks
This project uses a Taskfile for common operations. Key commands:
task dev # Start dev server with auto-reload
task test # Run unit tests
task coverage # Generate test coverage report
task install # Install production build
task deps # Synchronize dependencies
See Taskfile.yml for all available tasks.
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.

chromia-mcp
Enables AI to interact with Chromia Wallet for sending $CHR transactions.
TripleWhale MCP Server
An implementation of Model Context Protocol (MCP) that allows users to interact with TripleWhale's e-commerce analytics platform using natural language queries through Claude Desktop.
Adamik MCP Server
Enables read and write interactions with 60+ blockchain networks through Claude Desktop, providing a standardized multi-chain API for transaction management, account insights, staking, and token interactions.
Open-Ledger-MCP-Server
A Model Context Protocol (MCP) server implementation for the OpenLedger API. This server provides structured context to AI models according to the MCP specification.
ntropy-mcp MCP Server
Enables enriching banking data with the Ntropy API, providing tools to create account holders and enrich transactions efficiently.
Iaptic MCP Server
A server for interacting with the Iaptic API, allowing AI models like Claude to query customer, purchase, and transaction data, as well as retrieve statistical insights.
Bitrefill Search and Shop
This MCP wraps Bitrefill public API to allow agents to search for products and shop using cryptocurrencies like Bitcoin, Ethereum, Solana, and many more.
MCP EVM Signer
A server that securely manages Ethereum private keys locally and enables Claude for Desktop to interact with EVM-compatible blockchains through Infura.
Cryptocurrency Daemon MCP Server
Enables secure interactions with cryptocurrency daemon RPC interfaces through AI assistants, supporting transaction management, wallet operations, and daemon monitoring for Bitcoin-derived cryptocurrencies.