Kaggle-MCP: Kaggle API Integration for Claude AI
54yyyu/kaggle-mcp · 35 stars · Python · MIT
MCP server Kaggle-MCP: Connect Claude AI to the Kaggle API through the Model Context Protocol (MCP), enabling competition, dataset, and kernel operations through the AI interface.
Install
The repo has no one-line install. Follow its README.
Files
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:
- Go to your Kaggle account settings
- In the API section, click "Create New API Token"
- This will download a
kaggle.jsonfile with your credentials - Move this file to
~/.kaggle/kaggle.json(create the directory if needed) - 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.
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 35
- License
- MIT
- Language
- Python
- Last push
- 2025-06-11
- Forks
- 5
- Homepage
- stevenyuyy.us/kaggle-mcp
- Topics
- claude-ai, kaggle, mcp, mcp-server
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k