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 🙏

© 2026 – Pkg Stats / Ryan Hefner

finsight

v0.1.0

Published

Local-first, AI-friendly personal portfolio tracker. Your files are truth, every CLI command outputs JSON for AI agents.

Readme

finsight

Local-first, AI-friendly personal portfolio tracker.

See your money. Know where it sits. Decide what's next.

finsight is a CLI for tracking a personal investment portfolio across multiple accounts and currencies. Your data lives in plain text files on your disk — no cloud, no signup, no telemetry. Every command can output structured JSON, so AI assistants (Claude, Cursor, Codex, ChatGPT) can drive the tool on your behalf.

Full documentation, screenshots, and roadmap on GitHub →

Install

npm install -g finsight

Requires Node.js >= 22.

Quickstart

finsight init           # interactive setup — base currency, locale, vault path
finsight overview       # net worth + breakdown by asset class
finsight overview --json | jq    # same data, machine-readable

What it does

  • Multi-account, multi-currency holdings — converted to one base currency you pick (USD / CNY / JPY / EUR / …).
  • Daily net-worth snapshots and trend.
  • Asset allocation with targets — set ideal splits, see drift.
  • Investment journal — record rationale, price targets, stop-losses per decision. Auto-flagged when prices cross.
  • Annualized return (XIRR) per account and portfolio-wide.
  • Broker cross-checking — paste your broker's total, see where the discrepancy is.
  • AI briefings via finsight context — Markdown or JSON payload for handing the portfolio to an LLM.

What it doesn't do

It doesn't track income, expenses, or budgets — that's a different product. Pair finsight with Beancount, Actual, or YNAB for that.

CLI reference (highlights)

finsight account list / show
finsight symbol show PDD            # PDD across all your accounts
finsight trade buy <acc> PDD 100    # auto-fetches today's price
finsight quote update               # refresh prices + FX
finsight reconcile <acc>            # compare to broker app
finsight context | pbcopy           # hand briefing to ChatGPT/Claude
finsight ledger sync                # save daily snapshot to your folder

All read commands support --json. Exit codes are semantic: 0 ok · 1 bad input · 2 rule violated · 3 not found · 4 internal.

Web dashboard

The finsight web command launches a Vite + React + Hono dashboard at localhost:3210, but it requires running from a repo clone for now — the production-bundled dashboard is on the v0.2 roadmap. For the full visual experience today:

git clone https://github.com/ApeCodeAI/finsight
cd finsight && pnpm install && pnpm demo

AI integration

The repo ships a single markdown file — skills/finsight/SKILL.md — that teaches any AI assistant how to operate the CLI on your behalf. No MCP server, no auth handshake; just a written guide your AI reads once, then drives the tool.

Tell your AI:

Read skills/finsight/SKILL.md and start tracking my portfolio. My salary lands in 招商 on the 15th — record it as a deposit.

Project

Built by ApeCode.ai · sponsored by BytePass.ai.

Apache 2.0 licensed.