# Kaggle

Kaggle is a platform for data science and machine learning competitions, offering datasets, notebooks, and a collaborative community.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**Kaggle** authenticates with an API key. Generate the credential in your Kaggle account, then paste it into FlyMyAI the first time an agent uses a Kaggle action.

[Get your Kaggle credential →](https://www.kaggle.com/settings)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `Kaggle API Key` | Your Kaggle API Key. Get this from your Account &gt; API section (downloads as kaggle.json). _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `KAGGLE_COMPETITION_DOWNLOAD_FILES` | Tool to download competition data files. Use after confirming the competition ID. | `id` |
| `KAGGLE_CONFIG_INIT` | Tool to initialize Kaggle API client configuration. Attempts CLI first; if unavailable, it falls back to creating ~/.kaggle/kaggle.json (or $KAGGLE_CONFIG_DIR/kaggle.json). | - |
| `KAGGLE_DATASET_CREATE` | Tool to create a new Kaggle dataset with full metadata. Use after uploading files and finalizing metadata. Returns creation status and message. | `title`, `id`, `licenses` |
| `KAGGLE_DATASET_STATUS` | Tool to get the status of a dataset upload or processing job. Use after uploading a dataset to check processing state. | `owner_slug`, `dataset_slug` |
| `KAGGLE_DATASET_VERSION` | Tool to create a new dataset version on Kaggle. Use when you have updated files or metadata and need to publish a new version of an existing dataset. | `owner_slug`, `dataset_slug`, `version_notes`, `files` |
| `KAGGLE_KAGGLE_COMPETITION_SUBMIT` | Tool to submit an entry to a Kaggle competition. Use when you have already uploaded your file and obtained its blob token. | `competition`, `blob_file_tokens`, `submission_description` |
| `KAGGLE_KAGGLE_CONFIG_DIR` | Tool to retrieve the directory of the Kaggle API configuration file. Use when you need to locate the directory containing your kaggle.json credentials. | - |
| `KAGGLE_KAGGLE_CONFIG_FILE` | Tool to retrieve the filename of the Kaggle API configuration file. Use when you need to find out where the local Kaggle config file is stored before reading or updating. | - |
| `KAGGLE_KAGGLE_CONFIG_KEYS` | Tool to list local Kaggle API configuration keys. Use when you need to see which configuration options are set without revealing values. | - |
| `KAGGLE_KAGGLE_CONFIG_PATH` | Tool to retrieve local Kaggle API configuration file path. Use when you need to know the location of the Kaggle config before operations. | - |
| `KAGGLE_KAGGLE_CONFIG_RESET` | Tool to reset local Kaggle CLI configuration to defaults. Clears CLI-managed keys ('competition', 'path', 'proxy'). | - |
| `KAGGLE_KAGGLE_CONFIG_SET` | Tool to set a Kaggle CLI configuration parameter. Use when updating local CLI settings such as default download path or proxy. Ensure Kaggle CLI is installed. | `name`, `value` |
| `KAGGLE_KAGGLE_CONFIG_UNSET` | Tool to unset a Kaggle CLI configuration parameter. Use when removing local CLI settings such as default download path or proxy. Ensure Kaggle CLI is installed. | `name` |
| `KAGGLE_KAGGLE_CONFIG_VIEW` | Tool to view local Kaggle API configuration. Use when you need to confirm credentials before API calls. | - |
| `KAGGLE_KAGGLE_DATASET_INIT` | Tool to initialize a dataset-metadata.json file in a local folder. Use when preparing a dataset folder before uploading to Kaggle. | - |
| `KAGGLE_KAGGLE_DATASET_LIST_FILES` | Tool to list files in a Kaggle dataset. Use when you need to retrieve paginated file listings by owner and dataset slugs, with optional version and paging controls. | `owner_slug`, `dataset_slug` |
| `KAGGLE_KAGGLE_KERNEL_INIT` | Tool to initialize a kernel-metadata.json file in a local folder. Use when preparing a kernel folder before pushing to Kaggle. | - |
| `KAGGLE_KAGGLE_KERNEL_OUTPUT` | Tool to download the output of a Kaggle kernel. Use when needing the latest kernel results locally. | `user_name`, `kernel_slug` |
| `KAGGLE_KERNELS_STATUS` | Tool to get the status of a Kaggle kernel run. Use after submitting a kernel to monitor its execution state. | `userName`, `kernelSlug` |
| `KAGGLE_LIST_DATASETS` | Tool to list Kaggle datasets with filters and pagination. Use after authenticating with Kaggle API key. | - |

## Links

- [Kaggle website](https://www.kaggle.com)
- [Get API key / credential](https://www.kaggle.com/settings)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
