> For the complete documentation index, see [llms.txt](https://saascity-1.gitbook.io/saascity-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://saascity-1.gitbook.io/saascity-docs/imported-content/saascity-cli-guide-saascity.md). Agents can also search and read this documentation through its [MCP server](https://saascity-1.gitbook.io/saascity-docs/~gitbook/mcp).

# SaaSCity CLI Guide (saascity)

The [**SaaSCity CLI**](https://saascity.io/integrations/cli) is a zero-dependency Node.js 18+ command-line interface for [SaaSCity](https://saascity.io/). It brings homepage launch-readiness checks, directory filtering, live listing search, badge verification, and Maker API status into local terminals and CI workflows.

* **Documentation & Downloads:** <https://saascity.io/integrations/cli>
* **Runtime Requirements:** Node.js `>= 18.0.0` (0 external npm dependencies)
* **License:** MIT

## Installation <a href="#installation" id="installation"></a>

### Linux (Snap Store) <a href="#linux-snap-store" id="linux-snap-store"></a>

```bash
sudo snap install saascity
```

### Windows (Chocolatey) <a href="#windows-chocolatey" id="windows-chocolatey"></a>

```powershell
choco install saascity-cli
```

### Direct Tarball / Zip Archive <a href="#direct-tarball-zip-archive" id="direct-tarball-zip-archive"></a>

Download [`saascity-cli-1.0.0.tar.gz`](https://saascity.io/downloads/saascity-cli-1.0.0.tar.gz) or [`saascity-cli-1.0.0.zip`](https://saascity.io/downloads/saascity-cli-1.0.0.zip):

```bash
curl -sLO https://saascity.io/downloads/saascity-cli-1.0.0.tar.gz
tar -xzf saascity-cli-1.0.0.tar.gz
node bin/saascity.mjs --help
```

## Core Commands <a href="#core-commands" id="core-commands"></a>

### 1. Audit Homepage Launch Readiness <a href="#id-1-audit-homepage-launch-readiness" id="id-1-audit-homepage-launch-readiness"></a>

Runs the 16-point pre-launch scraper & social-card audit via SaaSCity's [Keyless MCP Server](https://saascity.io/mcp):

```bash
saascity check https://example.com
saascity check https://example.com --strict --json
```

Use `--strict` in GitHub Actions or pre-deploy hooks to exit non-zero if critical SEO or Open Graph tags are missing.

### 2. Filter 1,600+ Startup & AI Directories <a href="#id-2-filter-1600-startup-ai-directories" id="id-2-filter-1600-startup-ai-directories"></a>

```bash
# Editorial picks by product vertical
saascity directories --type saas --free

# Filter full dataset by Domain Rating and pure dofollow links
saascity directories --category "Developer Tools" --free --dofollow --min-dr 50
```

### 3. Search Live SaaSCity Listings <a href="#id-3-search-live-saascity-listings" id="id-3-search-live-saascity-listings"></a>

```bash
saascity search "observability"
saascity search "open source billing" --nlweb
```

### 4. Verify Your Featured on SaaSCity Badge <a href="#id-4-verify-your-featured-on-saascity-badge" id="id-4-verify-your-featured-on-saascity-badge"></a>

```bash
saascity badge https://example.com
```

### 5. Inspect Maker API Listings & Upvotes <a href="#id-5-inspect-maker-api-listings-upvotes" id="id-5-inspect-maker-api-listings-upvotes"></a>

Generate a `scm_live_...` key in your founder dashboard on <https://saascity.io/>:

```bash
export SAASCITY_API_KEY="scm_live_..."
saascity status
saascity status --json
```

## Environment Variables <a href="#environment-variables" id="environment-variables"></a>

* `SAASCITY_API_KEY` — Maker API key (`scm_live_...`) for authenticated `saascity status` queries.
* `SAASCITY_API_URL` — Custom API base URL (defaults to `https://saascity.io`).
* `NO_COLOR` — Disables ANSI terminal color formatting when set.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://saascity-1.gitbook.io/saascity-docs/imported-content/saascity-cli-guide-saascity.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
