Back to MCP Directory
Kaggle
Model Context Protocol moderate risk

Kaggle

This server provides tools to search and download datasets from Kaggle, and generate prompts for creating EDA notebooks, streamlining data exploration workflows.

Connections & Capabilities

Connects To

Docker

Capabilities

readwrite

Quickstart

Install

pip install -r

Config

{
  "mcpServers": {
    "kaggle-mcp": {
      "command": "kaggle-mcp",
      "cwd": "<path-to-their-cloned-repo>/kaggle-mcp"
    }
  }
}

Exposed MCP Tools (3)

safe
search_kaggle_datasets

Searches Kaggle for datasets matching a given query and returns a list of the top 10 results.

Read-only operation; no data modification or system access.

moderate
download_kaggle_dataset

Downloads a specified dataset from Kaggle to a local directory.

Writes files to disk, but within a controlled directory.

safe
generate_eda_notebook

Generates a prompt for creating an EDA notebook for a given Kaggle dataset.

Generates a prompt message; no execution or data modification.

Safety Assessment

This server is relatively safe for data exploration. The primary risk is related to managing the Kaggle API key securely and ensuring the integrity of downloaded datasets. Avoid downloading datasets from unknown or untrusted sources. The EDA notebook generation is safe as it only generates a prompt, not executable code.

  • Requires Kaggle API key, limiting unauthorized access.
  • Datasets are downloaded to a specific directory, preventing accidental system-wide modifications.
  • Primarily read operations (search, download) with limited write capabilities.
  • No direct execution of arbitrary code.
  • Kaggle API key must be stored securely to prevent unauthorized access.
  • Downloading datasets from untrusted sources could introduce malicious files.
  • The `download_kaggle_dataset` tool writes files to disk.
  • EDA notebook generation relies on external AI models, which could introduce biases or vulnerabilities.