Skip to main content

Kaggle

Kaggle from the command line

Datasets, models, notebooks and competitions.

Get Tools, $19 a month

One price for one person, for every application you connect. Cancel any time.

Kaggle in the terminal

Kaggle is a data science community with public datasets, notebooks and competitions. Connected to a workspace, GBrain can answer “is there a public dataset of US building permits?” or find notebooks that worked on a similar problem.

  • Search datasets
  • Find models and notebooks
  • Look up competitions
  • Read benchmarks

Install the CLI, then connect Kaggle

Kaggle is public, so there is nothing to sign in to. A key or a sign-in never passes through the terminal.

# Install the CLI
curl -sSL https://gbrainio.terminalwire.sh | bash

# Set the terminal up and connect it
gbrainio terminal connect

# What Kaggle is, and each of its commands once it is connected
gbrainio tool help kaggle

The installer is a shell script for macOS and Linux. Read it before you run it.

Every Kaggle command

This is what gbrainio tool kaggle prints once Kaggle is connected. The commands are the ones Kaggle's own server lists, each in its own words.

gbrainio tool kaggle
Datasets, models, notebooks and competitions.

USAGE
  gbrainio tool kaggle <command> [arguments]

COMMANDS
  get-competition-data-files-summary   Get a summary of the data files for a co…
  update-benchmark-arena-combinations  Opt task and candidate combinations into…
  get-competition-leaderboard          Get the leaderboard for a competition
  update-dataset-metadata              Update the metadata for a dataset
  download-dataset                     Download a dataset
  search-content                       Search across all Kaggle content types
  download-competition-leaderboard     Download the leaderboard for a competiti…
  list-forum-topics                    List and search discussion topics
  get-model-variation                  Get metadata about a model variation
  get-dataset-files-summary            Get a summary of the data files in a dat…
  list-model-variation-versions        List model variation versions
  get-benchmark-leaderboard            Get the leaderboard for a benchmark
  list-benchmark-arena-combinations    List the task and candidate combinations…
  create-benchmark-arena-settings      Create a benchmark version's arena
  list-hackathon-write-ups             List hackathon write-up submissions for…
  download-model-variation-version     Get a url where the files for a model va…
  get-notebook-info                    Get information about a notebook
  list-forums                          List all top-level discussion forums on…
  create-code-competition-submission   Submit a kernel to a competition
  list-hackathon-tracks                List the tracks for a hackathon competit…
  get-accelerator-quota                Get the current user's weekly GPU and TP…
  list-models                          List models
  create-model                         Create a new model
  get-episode-replay                   Download the replay for a simulation epi…
  get-dataset-status                   Get the processing status of a dataset,…
  create-benchmark-task-from-prompt    Create a new benchmark task from a prompt
  get-notebook-session-status          Get the status of a notebook session, in…
  download-notebook-output-zip         Download the zipped output of a notebook
  update-model                         Update a model
  download-competition-submission      Download the file for one of your compet…
  get-forum-topic                      Get a discussion topic by ID, optionally…
  get-user-profile                     Get a user's public profile
  get-benchmark-arena-settings         Get a benchmark version's arena settings
  get-model                            Get a metadata about a model
  get-writeup-by-topic                 Get a writeup by its linked forum topic…
  download-competition-data-file       Download a single data file for a compet…
  get-dataset-info                     Get information about a dataset
  get-episode-agent-logs               Download agent logs for a simulation epi…
  list-model-variation-version-files   List the files of a model variation vers…
  list-competition-pages               List the content pages for a competition
  get-competition-submission           Get metadata about a competition submiss…
  cancel-notebook-session              Cancel a notebook session
  authorize                            This tool can be used to authorize with…
  get-hackathon-overview               Get all the overview page content for a…
  list-competition-data-files          List the data files for a competition
  update-benchmark-arena-settings      Update a benchmark version's arena setti…
  search-competition-submissions       Search for competition submissions
  get-dataset-metadata                 Get metadata about a dataset
  list-team-public-submissions         List the public-safe submissions for a t…
  submit-to-competition                Submit a new competition submission
  download-notebook-output             Download the output of a notebook
  list-dataset-files                   List the files in a dataset
  download-hackathon-write-ups         Exports a CSV with the data from all sub…
  get-competition                      Get competition metadata
  list-model-variations                List model variations
  list-competition-data-tree-files     List the data files by directory for a c…
  list-competition-topics              List discussion topics for a competition
  get-writeup-by-slug
  get-resolved-writeup-links           Get resolved information for all links i…
  update-model-variation               Update a model variation
  list-submission-episodes             List episodes for a submission in a simu…
  download-competition-data-files      Download all data files for a competition
  search-competitions                  Search for competitions
  save-notebook                        Save a notebook and run it from top to b…
  get-writeup                          Get a writeup by ID
  get-forum                            Get details about a discussion forum, in…
  list-notebook-files                  List the files in a notebook
  search-notebooks                     Search for notebooks
  start-competition-submission-upload  Get a link to upload a competition submi…
  create-notebook-session              Create a new notebook session
  search-datasets                      Search for datasets
  list-notebook-session-output         List the output files of a notebook sess…
  upload-dataset-file                  Upload a file to a dataset
  list-dataset-tree-files              List the files in a dataset by directory
  get-hackathon-write-up               Get a single hackathon write-up submissi…
  list-topic-messages                  List discussion messages within a compet…
  open                                 Open its page in the browser

LEARN MORE
  gbrainio tool kaggle <command> -h  What one command takes
  https://gbrain.io/docs/tools       The manual

Same tools, any AI

Claude Code, Cursor and Codex reach the same Kaggle through MCP, on the same permission and the same record.

GBrain over MCP

How the whole thing fits

One level per application, one daily limit, one record, across every AI and terminal that asks.

Tools

Kaggle from a terminal, with GBrain Tools

Tools is $19 a month for one person. Get Tools, connect Kaggle in the browser, and say how far each terminal and each AI may go with it. Change any of it, or take all of it back, whenever you want.