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
- A portal with at least one access group
- A legacy API key from Kaggle for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| Legacy API Key | Custom credentials | username and apiKey |
Legacy API Key
To connect, a person enters these values:
username: Your Kaggle usernameapiKey: 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:
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
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.
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 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. NeedsownerSluganddatasetSlug.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. NeedscompetitionSlug.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. NeedsownerSlugandmodelSlug.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). NeedsuserNameandkernelSlug.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. Needsslug,code,languageandkernelType.create_dataset: Create a new Kaggle dataset or publish a new version of an existing dataset. Needsfiles.
Destructive tools (2)
manage_model: Create, update, or delete a Kaggle model. Needsaction,ownerSlugandmodelSlug.manage_model_variation: Create, update, or delete a model variation (instance) and manage variation versions. Needsaction,ownerSlug,modelSlugandframework.
Triggers
Kaggle has 1 trigger, which fire on events in Kaggle:
inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Kaggle there
- Tool permissions: tool filters and what employees see
- Kaggle on metorial.com: the integration overview