{"id":35117545,"url":"https://github.com/stephendolan/ynab-cli","last_synced_at":"2026-03-08T21:22:08.366Z","repository":{"id":321248215,"uuid":"1085097187","full_name":"stephendolan/ynab-cli","owner":"stephendolan","description":"Command-line interface for YNAB (You Need a Budget) - JSON output optimized for LLMs and developers","archived":false,"fork":false,"pushed_at":"2026-03-04T03:49:21.000Z","size":249,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-04T08:21:48.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephendolan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-28T15:24:19.000Z","updated_at":"2026-03-04T03:47:15.000Z","dependencies_parsed_at":"2025-10-28T17:34:53.002Z","dependency_job_id":null,"html_url":"https://github.com/stephendolan/ynab-cli","commit_stats":null,"previous_names":["stephendolan/ynab-cli"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/stephendolan/ynab-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephendolan%2Fynab-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephendolan%2Fynab-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephendolan%2Fynab-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephendolan%2Fynab-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephendolan","download_url":"https://codeload.github.com/stephendolan/ynab-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephendolan%2Fynab-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30269658,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T17:53:40.517Z","status":"ssl_error","status_checked_at":"2026-03-08T17:53:40.101Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-27T21:58:52.794Z","updated_at":"2026-03-08T21:22:08.360Z","avatar_url":"https://github.com/stephendolan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YNAB CLI\n\n[![npm version](https://img.shields.io/npm/v/@stephendolan/ynab-cli.svg)](https://www.npmjs.com/package/@stephendolan/ynab-cli)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA command-line interface for YNAB designed for LLMs and developers. JSON output by default with built-in filtering.\n\n## Installation\n\nRequires [Bun](https://bun.sh).\n\n```bash\nbun install -g @stephendolan/ynab-cli\n\n# Or run without installing\nbunx @stephendolan/ynab-cli budgets list\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eLinux: requires libsecret for keychain storage\u003c/summary\u003e\n\n```bash\nsudo apt-get install libsecret-1-dev  # Ubuntu/Debian\nsudo dnf install libsecret-devel      # Fedora/RHEL\nsudo pacman -S libsecret              # Arch\n```\n\nWithout libsecret, use `YNAB_API_KEY` environment variable instead.\n\u003c/details\u003e\n\n## Authentication\n\n```bash\nynab auth login    # Store token in OS keychain\nynab auth status   # Check authentication\nynab auth logout   # Remove credentials\n```\n\nOr set `YNAB_API_KEY` environment variable.\n\n## Commands\n\n### Budgets\n\n```bash\nynab budgets list\nynab budgets view [id]\nynab budgets settings [id]\nynab budgets set-default \u003cid\u003e\n```\n\n### Accounts\n\n```bash\nynab accounts list\nynab accounts view \u003cid\u003e\nynab accounts transactions \u003cid\u003e\n```\n\n### Categories\n\n```bash\nynab categories list\nynab categories view \u003cid\u003e\nynab categories update \u003cid\u003e [--name \u003cname\u003e] [--note \u003cnote\u003e] [--category-group-id \u003cid\u003e] [--goal-target \u003camount\u003e]\nynab categories budget \u003cid\u003e --month \u003cYYYY-MM\u003e --amount \u003camount\u003e\nynab categories transactions \u003cid\u003e\n```\n\n### Transactions\n\n```bash\n# List with filters\nynab transactions list --account \u003cid\u003e --since \u003cYYYY-MM-DD\u003e\nynab transactions list --approved=false --min-amount 100\nynab transactions list --fields id,date,amount,memo\n\n# Search\nynab transactions search --memo \"coffee\"\nynab transactions search --payee-name \"Amazon\"\n\n# CRUD\nynab transactions view \u003cid\u003e\nynab transactions create --account \u003cid\u003e --amount \u003camount\u003e --date \u003cYYYY-MM-DD\u003e\nynab transactions update \u003cid\u003e --amount \u003camount\u003e\nynab transactions delete \u003cid\u003e\nynab transactions split \u003cid\u003e --splits '[{\"amount\": -50.00, \"category_id\": \"xxx\"}]'\n```\n\n### Payees\n\n```bash\nynab payees list\nynab payees view \u003cid\u003e\nynab payees update \u003cid\u003e --name \u003cname\u003e\nynab payees locations \u003cid\u003e\nynab payees transactions \u003cid\u003e\n```\n\n### Months\n\n```bash\nynab months list\nynab months view \u003cYYYY-MM\u003e\n```\n\n### Scheduled Transactions\n\n```bash\nynab scheduled list\nynab scheduled view \u003cid\u003e\nynab scheduled delete \u003cid\u003e\n```\n\n### Raw API Access\n\n```bash\nynab api GET /budgets\nynab api POST /budgets/{budget_id}/transactions --data '{\"transaction\": {...}}'\n```\n\n### MCP Server\n\nRun as an MCP server for AI agent integration:\n\n```bash\nynab mcp\n```\n\n## Output\n\nAll commands return JSON. Use `--compact` for minified output.\n\n**Amounts are in dollars** (not YNAB's internal milliunits). `--min-amount 100` means $100.\n\n## API Limitations\n\nThe YNAB API does not support creating categories, category groups, or payees. Use the web or mobile app for these.\n\nRate limit: 200 requests/hour per token. If exceeded, wait 5-10 minutes.\n\n## References\n\n- [YNAB API Documentation](https://api.ynab.com/)\n- [Specification](./SPEC.md)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephendolan%2Fynab-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephendolan%2Fynab-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephendolan%2Fynab-cli/lists"}