Kaggle MCP server
25 operations0 webhooks
Data science platform for datasets, notebooks, competitions, and machine learning models.
Try Kaggle with your agent
Connect Kaggle, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in Kaggle on my account, then run one read-only example and show me the result.
Kaggle tools and triggers
Tools are what your agent can do in Kaggle through Corsair's MCP server. Triggers are the Kaggle events a routine can start from.
Competitions
- Download FileRead-only
Download a single competition data file (rules acceptance required)
competitions.downloadFile
- Download FilesRead-only
Download all competition data files as a zip (rules acceptance required)
competitions.downloadFiles
- Download LeaderboardRead-only
Download the competition leaderboard as a zip/CSV (base64)
competitions.downloadLeaderboard
- Generate Submission UrlWrite
Generate a pre-signed URL and token for uploading a competition submission file
competitions.generateSubmissionUrl
- ListRead-only
List Kaggle competitions with category, group, sort, and search filters
competitions.list
- List FilesRead-only
List data files available for a Kaggle competition
competitions.listFiles
- SubmitWrite
Finalize a competition submission using a previously uploaded blob file token
competitions.submit
- View LeaderboardRead-only
View competition leaderboard rankings and scores
competitions.viewLeaderboard
Datasets
- CreateWrite
Create a new Kaggle dataset (requires prior file upload tokens and owner username in id)
datasets.create
- Create VersionWrite
Create a new version of an existing Kaggle dataset after uploading updated files
datasets.createVersion
- DownloadRead-only
Download all files from a Kaggle dataset as a zip (returned as base64)
datasets.download
- Download FileRead-only
Download a single file from a Kaggle dataset (returned as base64)
datasets.downloadFile
- Get MetadataRead-only
Get metadata for a Kaggle dataset including title, licenses, and tags
datasets.getMetadata
- Get StatusRead-only
Check processing status after dataset create/version (404 expected when already published)
datasets.getStatus
- ListRead-only
List Kaggle datasets with optional search, owner, size, and pagination filters
datasets.list
- List FilesRead-only
List files in a Kaggle dataset with optional version and pagination
datasets.listFiles
Kernels
- Download OutputRead-only
Download kernel session output files as base64 (fetches signed GCS URLs from GET /kernels/output)
kernels.downloadOutput
- Get StatusRead-only
Get execution status of a Kaggle kernel
kernels.getStatus
- ListRead-only
List Kaggle kernels (notebooks/scripts) with filters and pagination
kernels.list
- List Output FilesRead-only
List output files produced by a kernel run
kernels.listOutputFiles
- PullRead-only
Pull kernel source code and optional metadata from Kaggle
kernels.pull
Models
- GetRead-only
Get details for a Kaggle model
models.get
- Get InstanceRead-only
Get details for a Kaggle model instance (framework variation)
models.getInstance
- ListRead-only
List Kaggle models with optional owner, search, and pagination
models.list
- List Instance Version FilesRead-only
List files for a specific version of a model instance/variation
models.listInstanceVersionFiles
Connect Kaggle to Claude, ChatGPT or Cursor
- 1
Connect Kaggle in Corsair
Add your Kaggle API key once in Corsair. Corsair stores the credential encrypted and makes the Kaggle API calls for your agent, so it never goes into a prompt or a config file. Connect Kaggle
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Kaggle. On a ChatGPT personal plan, connect Kaggle here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Install Corsair from ChatGPT's plugin directory, connect it and sign in. A custom MCP server with the address works too, but personal plans get its read tools only.Add to Cursor / Grok BuildOr add this to~/.cursor/mcp.json. It opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Antigravity, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. None of Kaggle's operations are destructive, so in the default Cautious mode they all run right away. Strict mode asks before each of its 4 writes, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/kaggle, add the Kaggle plugin, and connect with an API key. Then call methods like corsair.kaggle.api.competitions.downloadFile() from your app. Corsair syncs data per tenant.
Yes. Kaggle requires an API key from your Kaggle account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit Kaggle, GitHub, Notion, Stripe, and the rest. Trigger Kaggle from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for data science platform for datasets, notebooks, competitions, and machine learning models. Common builds include sync jobs, admin tooling, and agents that call Kaggle APIs from your backend. Local DB entities let you query synced Kaggle records without hitting the API on every read.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Kaggle API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/kaggle in the open repo. When Kaggle ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your Kaggle data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Kaggle data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put Kaggle on a link in Strict mode and every write waits for your approval, while destructive actions are refused. None of the Kaggle operations are destructive, so the default Cautious mode runs them all without asking. You can change a link's mode at hub.corsair.dev/me.