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

feeding-cli

v0.1.2

Published

CLI-first toolkit for the feeding app, with a bundled MCP server for AI clients.

Readme

feeding-cli

feeding-cli is the CLI-first toolkit for the feeding project. It ships with:

  • a human-friendly terminal CLI
  • a bundled MCP server entrypoint for AI clients
  • a shared core for auth, session persistence, and REST API access

Install

From a local checkout:

cd feeding-tools
npm install
npm run build

Run the CLI directly:

node dist/cli.js auth whoami

If installed as a package, the executable is:

feeding-cli auth whoami

Start the bundled MCP server through the same executable:

feeding-cli mcp

CLI usage

Global flags:

  • --json
  • --api-base-url <url>
  • --session-file <path>

Examples:

feeding-cli auth login --identifier wudi --password 'secret'
feeding-cli babies list
feeding-cli babies members --baby-id 1
feeding-cli records list --baby-id 1 --date 2026-04-30
feeding-cli records create --baby-id 1 --type formula --amount 120 --unit ml --timestamp 2026-04-30T10:00:00Z

Environment variables:

  • FEEDING_API_BASE_URL
  • FEEDING_REQUEST_TIMEOUT_MS
  • FEEDING_DEBUG
  • FEEDING_SESSION_FILE

Default CLI session file:

  • ~/.feeding-cli/session.json

MCP usage

This package also contains a stdio MCP server entrypoint:

node dist/index.js

If you prefer an npx-friendly MCP config, use:

{
  "command": "npx",
  "args": ["-y", "feeding-cli", "mcp"],
  "env": {
    "FEEDING_API_BASE_URL": "http://127.0.0.1:8000"
  }
}

Recommended MCP environment variables:

  • FEEDING_API_BASE_URL
  • FEEDING_MCP_SESSION_FILE
  • FEEDING_MCP_REQUEST_TIMEOUT_MS
  • FEEDING_MCP_DEBUG

The MCP tool names are prefixed with feeding_, for example:

  • feeding_auth_whoami
  • feeding_list_babies
  • feeding_create_feeding_record

Notes

  • The CLI is the primary interface for humans and shell automation.
  • The bundled MCP server is retained for Codex, Claude, and other AI clients.