> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Use West Kite from the terminal

> Install the West Kite CLI with npm, sign in with your browser, and look up properties, owners, sales and markets from a terminal or a coding agent.

`wk` is West Kite in your terminal. It reads what your account can: properties, owners, sales, permits, loans, zoning and markets, and it can start owner research. Use it for quick lookups and scripts, or let a coding agent like Claude Code or Codex drive it.

![Running wk in a terminal: the West Kite mark beside who you're signed in as and the main commands.](https://westkite.com/terminal/home.svg)

## Install

```bash theme={null}
npx westkite login
```

That opens your browser. Sign in, or [create an account](https://app.westkite.com/sign-up), then select Allow. A free account needs no card. You need Node 20 or later.

To keep `wk` on your PATH instead of using `npx` each time:

```bash theme={null}
npm install -g westkite
wk login
```

## Search and screen

`wk search` finds a property or owner by name or address, and `wk get` reads it with the parts you ask for, such as `--include owner,sales`. `wk find` lists one type of record, like properties, sales, permits, loans or establishments, with `--where` filters such as `"building_sqft >= 50000"`. `--fields` keeps only the columns you want.

![wk find listing five Oakland office buildings over 50,000 square feet, with address, building size, year built and stories.](https://westkite.com/terminal/screen.svg)

Comparables are sales near a property: `wk find sales --near <id>`. `wk export properties` writes a whole market to a CSV file. `wk find <type> --describe` lists the fields a type takes, `wk tools` lists every command your account has, and `wk <command> --help` shows its options. New commands appear on their own, without updating the CLI.

## Ask the Agent

`wk ask` puts a question to the West Kite Agent. You see each step as it works, then the answer with its sources and a few questions to ask next. `wk ask --continue` carries on the same conversation.

![wk ask answering who owns 550 Madison Avenue in New York, after checking the records, ownership, the state business registry and recent news: the Olayan Group through OAC 550 Owner LLC, with a cited source and suggested next questions.](https://westkite.com/terminal/ask.svg)

## Use it from an agent

Paste this into Claude Code or Codex:

```text wrap theme={null}
Run npx westkite agent, then use the West Kite CLI to look up 550 Madison Avenue in New York.
```

When its output goes to another program, `wk` prints JSON, and `--fields` and `--select` keep just what's needed. `--format ids` prints one record ID per line, so one command can feed the next: `wk find properties --in "Oakland, CA" --where "building_sqft >= 50000" --format ids | wk get - --include owner`. Errors come back as JSON with an exit code, so an agent can tell a missing record from an expired sign-in. `wk agent` prints the full guide for agents.

## Changes need your approval

Anything that changes your account, like saving a property, is prepared first and asks before it runs. Add `--yes` to approve it in the same command, or approve it later with `wk actions approve <id>`. Sign in with `wk login --read-only` for a session that can't change anything.

## Manage your session

Run `wk logout` to end the session on this computer. `wk status` shows who you're signed in as, and `wk doctor` checks the connection end to end.

## Common questions

> [accordion] Do I need an API key?
>
> No. `wk login` signs you in through your browser and keeps the session on your computer, refreshing it as needed. For a script in CI, `wk token` prints a token that lasts an hour.

> [accordion] How is this different from the MCP server?
>
> Both reach the same data with the same commands. The [MCP server](/docs/connect.md) is for assistants like Claude and ChatGPT. The CLI is for terminals and agents that run commands. It can also call the web app's own routes through `wk api`, but those can change without notice, so scripts should use the commands above.

> [accordion] Can I use it in a team organization?
>
> Yes. Add `--org` with your organization's ID to act in it. West Kite checks that you're a member.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.