Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.landbase.com/llms.txt

Use this file to discover all available pages before exploring further.

Use Landbase CLI in Claude Code and Codex

Use Claude Code and Codex to run parallel requests with Landbase, build dashboards, and integrate with other platforms.Need to install first? Start with Install Landbase CLI, or use the agent install guide for Claude Code, Codex, and other agents. Want a tour of the command surface before you start building? Read What can you do with the CLI?.

Installation

1. Install the CLI

On macOS or Linux, run:
curl -fsSL https://cli.landbase.com/install.sh | bash
On Windows (PowerShell):
irm https://cli.landbase.com/install.ps1 | iex

2. Authenticate with Landbase

Run:
landbase-cli auth
The CLI will open a consent page in your browser. If you’re not already signed in, you’ll be prompted to sign in (or create an account) at https://gtm.landbase.com before the consent page loads. Click Authorize to grant the CLI access.When authorization is complete, return to your terminal. The CLI will confirm sign-in and print the path where it stored the local config.If the CLI can’t open a browser (for example, over SSH or in a headless environment), it will print a URL to stderr — open that URL manually in any browser to continue.If the flow times out or you cancel, just run landbase-cli auth again.

3. Verify the install

landbase-cli --version
landbase-cli datasets list --limit=1 --no-update-check

4. Use with Claude Code / Codex

Prompt the agent to use the CLI. For example:
Using the landbase-cli, run several queries to find the total number of AI startups in London.
To stay current, run landbase-cli update.

Claude Code Tips

  1. Stop Claude from asking you for permissions to run the landbase-cli.
    Can you auto approve landbase-cli* in my user settings
    
  2. Build your own visualisation and table.
    Can you show the data in a front-end app using React and a TanStack table.
    
  3. Connect with other services. To interact with other services, paste a link to their API docs, or if they have a CLI install it the same way you installed the landbase-cli.

Example Use Cases

Using the landbase-cli to build a TAM Map.More coming soon.