MetorialDocs

Set up Kaggle in Metorial for Claude, ChatGPT and Cursor

Share Kaggle with your team in Claude, ChatGPT and Cursor through Metorial: legacy API key sign-in, 15 tools (11 read-only).

To give your team Kaggle in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Kaggle integration in a Metorial portal, and each person connects with a legacy API key. Agents can search Kaggle competitions, datasets, notebooks, and models. The integration has 15 tools, 11 read-only, 2 write and 2 destructive, plus 1 trigger.

What you'll learn

  • How an admin shares Kaggle in a portal and how each person connects
  • What Kaggle asks for when you connect, and where to find it
  • How to keep the 11 read-only tools and reject the other 4

Before you start

Sign-in method

MethodTypeWhat a person provides
Legacy API KeyCustom credentialsusername and apiKey

Legacy API Key

To connect, a person enters these values:

  • username: Your Kaggle username
  • apiKey: Your Kaggle API key (from kaggle.com/settings)

Admin: share Kaggle in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Kaggle. For how members connect, choose Each person connects so everyone enters their own legacy API key, or Shared connection to enter one legacy API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Kaggle.

Choose who gets it

Add the access groups that should see Kaggle. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Kaggle integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search kaggle

Employee: connect Kaggle

In the portal

Open Kaggle in the catalog

Sign in to your portal and open Kaggle. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your legacy API key (username and apiKey).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search kaggle
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Kaggle connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list kaggle
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 11 read-only tools, such as search_models and search_kernels, and lose the 2 write tools, such as push_kernel or create_dataset, and the 2 destructive tools, such as manage_model or manage_model_variation.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list kaggle
metorial tools <integration-id>
metorial call <integration-id> search_models -d '{}'

metorial tools lists the 15 tools, minus any you rejected. search_models takes no input. It searches and list Kaggle models.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (11)

  • get_dataset_details: Retrieve detailed information about a specific Kaggle dataset including metadata and file listing. Needs ownerSlug and datasetSlug.
  • search_models: Search and list Kaggle models.
  • get_competition_details: Retrieve detailed information about a specific Kaggle competition, including its data files, leaderboard, and your submission history. Needs competitionSlug.
  • search_datasets: Search and list Kaggle datasets with comprehensive filtering.
  • get_model_details: Retrieve detailed information about a Kaggle model and optionally a specific variation. Needs ownerSlug and modelSlug.
  • search_competitions: Search and list Kaggle competitions with filtering options.
  • get_kernel_details: Retrieve source code and execution details for a specific Kaggle notebook (kernel). Needs userName and kernelSlug.
  • search_kernels: Search and list Kaggle notebooks (kernels) with comprehensive filtering.
  • download_model_version: Prepare a downloadable tar.gz archive of a specific Kaggle model variation version.
  • download_dataset: Prepare a downloadable ZIP archive of a Kaggle dataset, or download one named file.
  • download_competition_data: Prepare downloadable competition data as a ZIP archive or one named file.

Write tools (2)

  • push_kernel: Create or update a Kaggle notebook (kernel) and execute it. Needs slug, code, language and kernelType.
  • create_dataset: Create a new Kaggle dataset or publish a new version of an existing dataset. Needs files.

Destructive tools (2)

  • manage_model: Create, update, or delete a Kaggle model. Needs action, ownerSlug and modelSlug.
  • manage_model_variation: Create, update, or delete a model variation (instance) and manage variation versions. Needs action, ownerSlug, modelSlug and framework.

Triggers

Kaggle has 1 trigger, which fire on events in Kaggle:

  • inbound_webhook

Next steps