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

bezbaseina

v1.1.0

Published

BezBaseina command line — manage property ads, photos, leads and AI assistance. Includes an MCP server for ChatGPT, Claude, Codex and Antigravity.

Readme

bezbaseina

Manage your BezBaseina.lv property ads, photos, leads and AI assistance from the terminal — and connect ChatGPT, Claude, Codex or Antigravity via the built-in MCP server.

Programmatic access (CLI / API / MCP) requires the Pro plan.

Install

npm install -g bezbaseina
# or run without installing:
npx -y bezbaseina@latest login

Log in

bezbaseina login

Opens your browser, you approve the connection while signed in, and a scoped token is stored at ~/.config/bezbaseina/config.json (mode 600). No password is ever typed into the terminal.

Everyday commands

bezbaseina whoami
bezbaseina ads list

# Create a listing (goes live immediately on Pro)
bezbaseina ads create --title "Gaišs 3 istabu dzīvoklis Torņakalnā" \
  --city riga --deal rent --price 375 --rooms 3 --district "Torņakalns" \
  --amenities wifi,stavvieta --description-file ./desc.txt \
  --photo-urls "https://…/1.jpg,https://…/2.jpg"
#   or add files after: bezbaseina photos upload prop_… ./1.jpg

bezbaseina ads get ad_…                # detail incl. photo handles
bezbaseina ads update ad_… --price 400 --title "…"   # edit any field(s)
bezbaseina ads delete ad_…             # remove from site (asks; --yes to skip)

bezbaseina ads analyse ad_…            # AI quality score + checklist
bezbaseina ads improve-text ad_… --tone warm
bezbaseina ads suggest-price ad_…      # range + confidence, never changes price
bezbaseina ads publish ad_…            # asks before applying (--yes to skip)
bezbaseina ads pause ad_…
bezbaseina ads price ad_… 400

bezbaseina photos upload prop_… ./kitchen.jpg
bezbaseina photos enhance photo_…      # safe enhancement, original kept
bezbaseina photos delete photo_…
bezbaseina photos reorder ad_… photo_… photo_… …   # first = hero

bezbaseina leads list
bezbaseina leads draft-reply lead_…    # drafts only, never sends

create / update fields: --title --city --deal rent|sale|nightly --price --kind apartment|house|land|commercial --season --district --address --rooms --size --floor --total-floors --era --amenities a,b,c --description(-file) --owner-name --phone --lat --lon --photo-urls url,url --building-code --parcel-code.

  • --json on any command prints raw API JSON for scripting/agents.
  • Risky actions (publish, pause, price, delete) preview a diff and ask; --yes applies in one step for automation.
  • Non-zero exit codes on error; the error code is stable.

Connect an assistant (MCP)

bezbaseina mcp start

Exposes the full owner toolset over stdio so ChatGPT/Claude/Codex/agents can manage listings: browse public listings, list/inspect ads, analyse, improve text, suggest price, create/update/delete listings, reorder/delete photos, publish/pause/change price, and list leads / draft replies. Point any MCP client at it, e.g. Claude Code:

{ "mcpServers": { "bezbaseina": { "command": "npx", "args": ["-y", "bezbaseina@latest", "mcp", "start"] } } }

Risky mutations (publish, pause, price, delete) are confirm-gated: the tool returns a confirmation with a diff; the agent reviews it and then calls confirm_action to apply. This keeps a visible review step before anything public changes — the same two-phase flow the CLI uses.

Config & env

| Env | Purpose | |---|---| | BEZBASEINA_API | API base (default https://bezbaseina.lv) | | BEZBASEINA_TOKEN | Use a token without login (CI) | | BEZBASEINA_CONFIG | Alternate config file path |

Full API reference: https://bezbaseina.lv/developers · OpenAPI: https://bezbaseina.lv/api/v1/openapi.json