MCP cover image
See in Github
2025-04-07

Kaggle-MCP:通过模型上下文协议(MCP)将Claude AI连接到Kaggle API,通过AI接口启用竞争,数据集和内核操作。

1

Github Watches

1

Github Forks

3

Github Stars

Kaggle-MCP: Kaggle API Integration for Claude AI

     ██╗  ██╗ █████╗  ██████╗  ██████╗ ██╗     ███████╗       ███╗   ███╗ ██████╗██████╗ 
     ██║ ██╔╝██╔══██╗██╔════╝ ██╔════╝ ██║     ██╔════╝       ████╗ ████║██╔════╝██╔══██╗
     █████╔╝ ███████║██║  ███╗██║  ███╗██║     █████╗         ██╔████╔██║██║     ██████╔╝
     ██╔═██╗ ██╔══██║██║   ██║██║   ██║██║     ██╔══╝  ████─  ██║╚██╔╝██║██║     ██╔═══╝ 
     ██║  ██╗██║  ██║╚██████╔╝╚██████╔╝███████╗███████╗       ██║ ╚═╝ ██║╚██████╗██║     
     ╚═╝  ╚═╝╚═╝  ╚═╝ ╚═════╝  ╚═════╝ ╚══════╝╚══════╝       ╚═╝     ╚═╝ ╚═════╝╚═╝     

Kaggle-MCP connects Claude AI to the Kaggle API through the Model Context Protocol (MCP), enabling competition, dataset, and kernel operations through the AI interface.

Features

  • Authentication: Securely authenticate with your Kaggle credentials
  • Competitions: Browse, search, and download data from Kaggle competitions
  • Datasets: Find, explore, and download datasets from Kaggle
  • Kernels: Search for and analyze Kaggle notebooks/kernels
  • Models: Access pre-trained models available on Kaggle

Quick Installation

The following commands install the base version of Kaggle-MCP.

macOS / Linux

# Install with a single command
curl -LsSf https://raw.githubusercontent.com/54yyyu/kaggle-mcp/main/install.sh | sh

Windows

# Download and run the installer
powershell -c "Invoke-WebRequest -Uri https://raw.githubusercontent.com/54yyyu/kaggle-mcp/main/install.ps1 -OutFile install.ps1; .\install.ps1"

Manual Installation

# Install with pip
pip install git+https://github.com/54yyyu/kaggle-mcp.git

# Or better, install with uv
uv pip install git+https://github.com/54yyyu/kaggle-mcp.git

Configuration

After installation, run the setup utility to configure Claude Desktop:

kaggle-mcp-setup

This will locate and update your Claude Desktop configuration file, which is typically found at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Manual Configuration

Alternatively, you can manually add the following to your Claude Desktop configuration:

{
  "mcpServers": {
    "kaggle": {
      "command": "kaggle-mcp"
    }
  }
}

Kaggle API Credentials

To use Kaggle-MCP, you need to set up your Kaggle API credentials:

  1. Go to your Kaggle account settings
  2. In the API section, click "Create New API Token"
  3. This will download a kaggle.json file with your credentials
  4. Move this file to ~/.kaggle/kaggle.json (create the directory if needed)
  5. Set the correct permissions: chmod 600 ~/.kaggle/kaggle.json

Alternatively, you can authenticate directly through Claude using the authenticate() tool with your username and API key.

Available Tools

For a comprehensive list of available tools and their detailed usage, please refer to the documentation at stevenyuyy.us/kaggle-mcp.

Examples

Ask Claude:

  • "Authenticate with Kaggle using my username 'username' and key 'apikey'"
  • "List active Kaggle competitions"
  • "Show me the top 10 competitors on the Titanic leaderboard"
  • "Find datasets about climate change"
  • "Download the Boston housing dataset"
  • "Search for kernels about sentiment analysis"

Use Cases

  • Competition Research: Quickly access competition details, data, and leaderboards
  • Dataset Discovery: Find and download datasets for analysis projects
  • Learning Resources: Locate relevant kernels and notebooks for specific topics
  • Model Discovery: Find pre-trained models for various machine learning tasks

Requirements

  • Python 3.8 or newer
  • Claude Desktop or API access
  • Kaggle account with API credentials
  • MCP Python SDK 1.6.0+

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

    Reviews

    1 (1)
    Avatar
    user_Xs0yc0yz
    2025-04-17

    I've been using the kaggle-mcp by 54yyyu and it's simply outstanding! The tool seamlessly integrates with my machine learning projects on Kaggle, making my workflow much more efficient. The setup is straightforward, and its features are incredibly helpful for both beginners and advanced users. Highly recommend checking it out!