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

@ruminaider/linear-cli

v0.2.2

Published

JSON-first CLI for Linear. Wraps every authenticated Linear MCP tool: projects, issues, comments, attachments, cycles, documents, milestones, teams, users, labels, statuses, images, and docs search.

Downloads

257

Readme

@ruminaider/linear-cli

JSON-first CLI access to Linear through its authenticated remote MCP server. Every command maps 1:1 to a Linear MCP tool.

Command surface

  • linear-cli auth login|logout|status (with optional --api-key <key>)
  • linear-cli mcp discover
  • linear-cli project list|get|save
  • linear-cli project-label list
  • linear-cli issue list|get|save
  • linear-cli issue-label list|create
  • linear-cli status list|get
  • linear-cli comment list|save|delete
  • linear-cli attachment get|create|delete
  • linear-cli cycle list
  • linear-cli document list|get|create|update
  • linear-cli milestone list|get|save
  • linear-cli team list|get
  • linear-cli user list|get
  • linear-cli image extract
  • linear-cli docs search

Run linear-cli help for the full flag reference.

Install from repo

bash linear/install.sh

Auth precedence

  1. Explicit --api-key
  2. LINEAR_API_KEY
  3. Persisted credentials in ~/.config/linear-cli/credentials.json

Team defaults resolve separately:

  1. Explicit --team
  2. LINEAR_DEFAULT_TEAM
  3. Persisted defaults in ~/.config/linear-cli/config.json

Write commands

  • project savesave_project (create or update a project)
  • issue savesave_issue (create or update an issue, plus relation append and removal)
  • issue-label createcreate_issue_label
  • comment save / comment deletesave_comment / delete_comment
  • attachment create / attachment deletecreate_attachment / delete_attachment
  • document create / document updatecreate_document / update_document
  • milestone savesave_milestone

See the package README for examples and the per-flag reference for each command.

End-to-end regression test

cli/scripts/e2e.sh exercises the full skill workflow against a real Linear workspace (create issue, assign and clear, add/delete comment, attach/delete file, filter by unassigned, cancel the issue). Run it before each release:

LINEAR_DEFAULT_TEAM=<team> npm run e2e
# or: bash cli/scripts/e2e.sh --team <team>
# add --keep to skip the Canceled state cleanup when debugging a failure

The script requires a usable auth credential (OAuth or LINEAR_API_KEY) and writes only to a disposable test issue clearly titled "linear-cli e2e ... (safe to delete)".

Notes

  • Output is JSON-first. Tool-level errors returned by the server (for example, "Entity not found") surface under result with ok: true; always inspect the body.
  • The current Linear MCP session negotiates protocol 2024-11-05.
  • Null-to-remove semantics on save_issue and save_project are not reachable through the CLI. Use the Linear UI for explicit clears.
  • Milestone status (done, next, overdue, unstarted) is read-only in Linear's API. save_milestone accepts only name, description, and targetDate; the platform derives status from the milestone's target date and the completion state of its issues. To mark a milestone done, complete its issues; to clear an overdue status, adjust --target-date or finish the work.