
Kaggle Mcp
io.github.Seif-Sameh由 GitHub 帳號 Seif-Sameh 發布v0.1.1更新於 Oct 27, 2026
MCP server for the Kaggle API: competitions, datasets, kernels, and models.
概覽
面向 Kaggle API 的本機 MCP 伺服器,讓助理瀏覽競賽、資料集、Kernel 與模型,下載檔案並提交結果。
- 可以做什麼
- 列出與搜尋競賽,查看排行榜與提交紀錄,下載競賽檔案並提交預測
- 搜尋、檢視、下載、建立資料集並管理版本
- 列出、初始化、推送、拉取 Kernel,並查看其輸出與執行狀態
- 建立、更新、刪除模型、模型執行個體與模型版本,並下載模型版本
- 適用情境
- 適合在 Claude Desktop 等 MCP 用戶端處理 Kaggle 工作:讓助理尋找競賽或資料集、把資料與 notebook 拉到本機,或管理模型與提交,而不必切換到 Kaggle 網站。
- 執行需求
- 以本機 Python 套件執行(需 Python 3.10 以上),通常透過 uvx 或 pip 啟動。需要 Kaggle 帳號,並以 KAGGLE_USERNAME 與 KAGGLE_API_KEY 環境變數(或 .env 檔)提供 API 憑證。需要連線至 Kaggle 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Kaggle Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Kaggle MCP Server
[PyPI] [MCP Registry] [License: MIT]
A Model Context Protocol (MCP) server that provides seamless integration with the Kaggle API. Interact with Kaggle competitions, datasets, kernels, and models through MCP-compatible clients like Claude Desktop.
Features
- Competitions: List, download files, submit, view leaderboards and submissions
- Datasets: Search, download, create, and manage datasets with version control
- Kernels: List, push, pull, and manage Kaggle notebooks and scripts
- Models: Create, update, and manage ML models and instances with full version control
Installation
Prerequisites
- Python 3.10 or higher
- A Kaggle account with API credentials
Install from PyPI
The recommended way is to run the server with uvx, which handles the install for you:
Or install it explicitly:
Install from Source
For development or local modifications:
Setup
1. Get Your Kaggle API Credentials
- Go to https://www.kaggle.com/account
- Scroll to the "API" section
- Click "Create New Token"
- This downloads
kaggle.jsonwith your credentials
2. Configure Credentials
Option A: Environment Variables (Recommended)
Or add to your ~/.zshrc or ~/.bashrc:
Option B: Using .env File
Create a .env file in your project directory:
Usage
With Claude Desktop
The recommended way to use Kaggle MCP is with Claude Desktop.
-
Locate your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Add the Kaggle MCP server configuration:
Running from a local source clone (alternative)
-
Restart Claude Desktop
-
Start using Kaggle through Claude!
Try asking Claude:
- "List the latest Kaggle competitions"
- "Download the Titanic dataset"
- "Show me my recent competition submissions"
- "Search for NLP datasets"
Standalone Usage
Run the MCP server directly:
Or as a Python module:
Available Tools
Competitions (8 tools)
Datasets (10 tools)
Kernels (7 tools)
Models (14 tools)
Examples
Example 1: Working with Competitions
Ask Claude:
Claude will use the competitions_list tool to search and display relevant competitions.
Example 2: Downloading Datasets
Ask Claude:
Claude will use dataset_download_files to fetch all dataset files.
Example 3: Submitting to Competitions
Ask Claude:
Claude will use competition_submit to upload your submission.
License
This project is licensed under the MIT License - see the LICENSE file for details.
來源:README.md,提交 62b5cb0
工具
0版本歷史
1- v0.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分