Kaggle MCP Server
Provides tools for interacting with the Kaggle API, including listing and retrieving competition details, downloading competition files, searching datasets, retrieving dataset metadata and downloading datasets, and exploring models. It also exposes curated Kaggle resources such as active competitions, popular datasets, trending topics, deadlines, beginner guides, and platform statistics.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Kaggle MCP Server
🚀 LLMアプリケーションにKaggle APIの機能をシームレスに提供するModel Context Protocol (MCP) サーバー
✨ 主な機能
🏆 コンペティション管理
コンペティション一覧取得 - 高度なフィルタリング機能付き
詳細情報取得 - 特定のコンペティションの完全な情報
ファイルダウンロード - 進捗表示付きでデータをダウンロード
📊 データセット操作
データセット検索 - Kaggleの膨大なコレクションから検索
メタデータ取得 - ファイル構造を含む詳細な情報
ダウンロード - 自動展開機能付き
🤖 モデル探索
モデル一覧 - フィルタリング機能付きで探索
モデル情報 - パフォーマンス指標とメタデータ
📚 スマートリソース
アクティブコンペ - リアルタイム更新されるリソース
人気データセット - 自動キュレーションされた情報
トレンドトピック - 最新の技術動向とテクニック
締切カレンダー - コンペティション締切の一覧
初心者ガイド - 学習パスと推奨コンペ
プラットフォーム統計 - Kaggleの統計情報
Related MCP server: Kaggle-MCP
🚀 クイックスタート
インストール
# uv使用(推奨)
uv sync認証設定
方法1: 環境変数(推奨)
export KAGGLE_USERNAME=あなたのユーザー名
export KAGGLE_KEY=あなたのAPIキー方法2: 設定ファイル
# ~/.kaggle/kaggle.json を作成
{
"username": "あなたのユーザー名",
"key": "あなたのAPIキー"
}💡 API認証情報の取得: Kaggleアカウント設定 → Create New Token
サーバー起動
# uv使用
uv run -m kaggle_mcp_server
# 開発モード(ホットリロード付き)
uv run mcp dev src/kaggle_mcp_server/server.py
# 直接実行
python -m kaggle_mcp_serverMCP設定
以下設定をすればMCPサーバとして使えます。
</path/to/kaggle-mcp-server>には、Kaggle MCP Serverの絶対パスを指定してください。
{
"mcpServers": {
"kaggle-mcp-server": {
"command": "uv",
"args": [
"run",
"--directory",
"</path/to/kaggle-mcp-server>",
"-m",
"kaggle_mcp_server"
]
}
}
}🛠️ 利用可能なツール
ツール | 説明 | 使用例 |
| コンペティション一覧取得 | テーブルデータカテゴリのMLコンペを検索 |
| コンペティション詳細情報 | Titanicコンペの詳細情報を取得 |
| コンペティションファイルDL | 住宅価格予測のトレーニングデータをDL |
| データセット検索 | 時系列予測用のデータセットを検索 |
| データセット詳細とファイル構造 | 特定データセットの構造を調査 |
| データセットファイルDL | 練習用の人気データセットを取得 |
| 利用可能なモデル探索 | NLPタスク用の事前学習モデルを検索 |
📚 MCPリソース
リソースURI | 説明 | 自動更新 |
| 現在アクティブなコンペティション | ✅ |
| トレンドと人気のデータセット | ✅ |
| トレンディングトピックと技術 | ✅ |
| コンペティション締切カレンダー | ✅ |
| 初心者向けガイドと学習パス | ✅ |
| Kaggleプラットフォーム統計 | ✅ |
💻 使用例
コンペティション検索
# LLMが自動的に使用:
"賞金の良いアクティブな機械学習コンペを教えて"
# 実行されるツール: list_competitions(適切なフィルタ付き)データセット発見
# 自然言語リクエスト:
"売上予測の練習用に時系列データセットが欲しい"
# 実行フロー: search_datasets → get_dataset_details → download_datasetクイックデータアクセス
# シンプルなリクエスト:
"Titanicデータセットをダウンロードして"
# 使用ツール: search_datasets → download_dataset(自動展開付き)🤝 コントリビューション
リポジトリをフォーク
フィーチャーブランチ作成:
git checkout -b feature/素晴らしい機能変更を加えてテスト追加
テストスイート実行:
uv run python test_server.py変更をコミット:
git commit -m '素晴らしい機能を追加'ブランチにプッシュ:
git push origin feature/素晴らしい機能プルリクエストを開く
よくあるエラー
401 Unauthorized: API認証情報を確認403 Forbidden: コンペがプライベートまたは期限切れ404 Not Found: コンペ/データセットIDが不正Rate Limited: 待機してリトライ、またはAPIクォータ確認
📄 ライセンス
このプロジェクトはMITライセンスの下で公開されています - 詳細はLICENSEファイルを参照してください。
🙏 謝辞
Kaggleチーム - 優秀なAPIの提供
FastMCP - 堅牢なMCPフレームワーク
Model Context Protocol - LLM統合の標準化
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Direct access to 60+ scraping and search tools. Extract structured data from Google (Search, Maps, Trends), Amazon, Airbnb, Social Media, and any web page directly into your AI agent.
Access Pollinations models and API capabilities through agent tools.
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Discover, compare, route, and execute machine-accessible capabilities for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceIt interacts with the Kaggle API to provide tools for searching and downloading datasets, and a prompt for generating EDA notebooks.239MIT
- AlicenseNot gradedqualityDmaintenanceConnects Claude AI to the Kaggle API through the Model Context Protocol, enabling users to browse competitions, search and download datasets, analyze kernels, and access pre-trained models through natural language interactions.MIT
- AlicenseDqualityCmaintenanceEnables AI assistants to interact with Kaggle competitions, including listing competitions, downloading files, submitting predictions, and viewing submission history.410MIT
- AlicenseNot gradedqualityDmaintenanceA full-featured MCP server with 96 tools for the Kaggle API, enabling users to manage competitions, datasets, notebooks, models, discussions, and workflows via natural language.MIT