Skip to content
MCP server

Safe Kaggle MCP

Safety-first Kaggle MCP — confirm-gated destructive ops, submission budget…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.4.1
Listing updated
5 days ago

About Safe Kaggle MCP

Safe Kaggle MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Safety-first Kaggle MCP — confirm-gated destructive ops, submission budget, injection-fenced.

Install

Run in a terminal

claude mcp add kaggle-mcp --env KAGGLE_KEY='<KAGGLE_KEY>' --env KAGGLE_API_TOKEN='<KAGGLE_API_TOKEN>' -- uvx safe-kaggle-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "kaggle-mcp": {
      "command": "uvx",
      "args": [
        "safe-kaggle-mcp"
      ],
      "env": {
        "KAGGLE_KEY": "<KAGGLE_KEY>",
        "KAGGLE_API_TOKEN": "<KAGGLE_API_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "kaggle-mcp": {
      "command": "uvx",
      "args": [
        "safe-kaggle-mcp"
      ],
      "env": {
        "KAGGLE_KEY": "<KAGGLE_KEY>",
        "KAGGLE_API_TOKEN": "<KAGGLE_API_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "kaggle-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "safe-kaggle-mcp"
      ],
      "env": {
        "KAGGLE_KEY": "<KAGGLE_KEY>",
        "KAGGLE_API_TOKEN": "<KAGGLE_API_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "kaggle-mcp": {
      "command": "uvx",
      "args": [
        "safe-kaggle-mcp"
      ],
      "env": {
        "KAGGLE_KEY": "<KAGGLE_KEY>",
        "KAGGLE_API_TOKEN": "<KAGGLE_API_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "kaggle-mcp": {
      "command": "uvx",
      "args": [
        "safe-kaggle-mcp"
      ],
      "env": {
        "KAGGLE_KEY": "<KAGGLE_KEY>",
        "KAGGLE_API_TOKEN": "<KAGGLE_API_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • KAGGLE_USERNAMEKaggle account username (legacy scheme; pair with KAGGLE_KEY). Optional — read-only tools work without credentials.
  • KAGGLE_KEYKaggle API key, the 40-char 'key' from kaggle.json (legacy scheme; pair with KAGGLE_USERNAME).
  • KAGGLE_API_TOKENModern Kaggle KGAT_... token (alternative to KAGGLE_USERNAME/KAGGLE_KEY). Optional.
  • KAGGLE_MCP_ENABLE_DESTRUCTIVESet to 1 to expose delete tools. Default 0 (off).
  • KAGGLE_MCP_ENABLE_PUBLISHSet to 1 to allow making datasets/kernels public. Default 0 (off).
  • KAGGLE_MCP_SUBMISSION_CAPDaily per-competition submission budget. Default 5.

Pricing

Open source

Safe Kaggle MCP FAQ

Is Safe Kaggle MCP free?

Yes. Safe Kaggle MCP is open source, so you can use and self-host it for free.

How do I add Safe Kaggle MCP to Claude Code?

Run this command in your terminal: claude mcp add kaggle-mcp --env KAGGLE_KEY='<KAGGLE_KEY>' --env KAGGLE_API_TOKEN='<KAGGLE_API_TOKEN>' -- uvx safe-kaggle-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers