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

mozyfin-cli

v0.2.21

Published

Human- and agent-friendly CLI for Vietnamese market data via Mozyfin/Antofin APIs.

Readme

Mozyfin CLI

Mozyfin CLI brings Vietnamese market data and Mozyfin research workflows to your terminal. It is built for fast lookup, repeatable analysis, and agent-friendly command usage without exposing product internals.

Why Mozyfin CLI

  • Fast market lookup — search symbols, view profiles, read news, and inspect company data from one command line.
  • Agent-friendly — concise commands and predictable text output work well with Claude Code, Codex, GitHub Copilot, and other coding agents.
  • Research-ready — ask natural-language questions, query documents, and export larger tables to CSV when needed.
  • Terminal-native — use it manually, inside scripts, or as part of an agent workflow.

Requirements

  • A Mozyfin API key for authenticated features

Create or manage your API key at:

https://research.mozyfin.com/settings

Installation

npm install -g mozyfin-cli
mozyfin --help

Or with Bun:

bun install -g mozyfin-cli
mozyfin --help

Login

Save your API key once:

mozyfin login --api-key mozy_ak_xxx

You can also use an environment variable:

export MOZYFIN_API_KEY=mozy_ak_xxx

Quick Start

mozyfin search --query VNM
mozyfin profile VNM.VN
mozyfin news --entities VNM.VN --topics stock,earning --limit 10
mozyfin ohlcv VNM.VN --timeframe 1d --limit 200
mozyfin financials VNM.VN --year 2024 --quarter 4
mozyfin doc "định giá HPG"
mozyfin ask "compare VNM and MSN margin trend"

Using With Coding Agents

Mozyfin CLI is a good fit for agent workflows because agents can call small terminal commands instead of loading large tool schemas or internal implementation details.

Install the Mozyfin skill so your agent knows the recommended commands and workflows:

mozyfin skill claude
mozyfin skill codex
mozyfin skill copilot

Supported agents:

claude, cursor, copilot, windsurf, codex, gemini, hermes, openclaw, antigravity

Useful skill commands:

mozyfin skill --list          # show supported agents and install status
mozyfin skill <agent>         # install or refresh the skill for one agent
mozyfin skill all             # install or refresh the skill for all supported agents
mozyfin skill <agent> --remove # remove the skill from one agent
mozyfin update --skill all    # force-refresh installed skills after updating

Example prompt for your agent:

Use mozyfin-cli to research VNM.VN.
Start with `mozyfin --help`, then gather profile, news, financials, and recent candles.
Summarize the key risks and catalysts with command outputs as evidence.

For larger tabular results, ask your agent to use CSV export:

mozyfin ohlcv VNM.VN --timeframe 1d --limit 200 --csv vnm.csv

Commands

Account

mozyfin login --api-key <key>
mozyfin logout
mozyfin credits
mozyfin doctor
mozyfin update

Discovery

mozyfin search --query VNM
mozyfin profile VNM.VN
mozyfin indices

News And Research

mozyfin news --query "Vinamilk" --limit 10
mozyfin news --entities VNM.VN,MSN.VN --topics stock,earning --limit 20
mozyfin doc "định giá HPG"
mozyfin ask "summarize VNM risks and catalysts"

Market Data

mozyfin ohlcv VNM.VN --timeframe 1d --limit 200
mozyfin quote VNM.VN --limit 10

Supported candle timeframes:

1h, 1d, 1w, 1mo, 1y

Company Data

mozyfin officers VNM.VN
mozyfin subsidiary VNM.VN
mozyfin holder VNM.VN --is-organization true
mozyfin holder-tx VNM.VN --transaction-type buy --limit 100

Financials And Analytics

mozyfin financials VNM.VN --year 2024 --quarter 4
mozyfin stats VNM.VN --year 2024
mozyfin ta VNM.VN --sma 20,50 --rsi 14 --macd
mozyfin risk VNM.VN --limit 252 --risk-free 0.03

Output

Mozyfin CLI prints readable text by default, usually Markdown tables or compact key-value sections.

mozyfin search --query VNM
| symbol | name | exchange | market_cap | id |
| --- | --- | --- | --- | --- |
| VNM | Vietnam Dairy Products Joint Stock Company | HOSE | ... | VNM.VN |

Use CSV when you want to save or process larger datasets:

mozyfin ohlcv VNM.VN --timeframe 1d --limit 200 --csv vnm.csv

Tips

  • Use mozyfin search --query <text> first to find the right entity id.
  • Pass ids like VNM.VN into detail commands.
  • Use doc for document and report questions.
  • Use ask for open-ended research prompts.
  • Keep prompts focused; run multiple commands for multi-part research.

Help

mozyfin --help
mozyfin <command> --help