Kaggle MCP Server
Allows interaction with Kaggle competitions, including listing and searching competitions, downloading competition files, submitting predictions, viewing submission history, and with the feature-complete branch also supports dataset operations, notebook integration, user management, and competition analysis.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kaggle MCP ServerShow me the active Kaggle competitions"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kaggle MCP Server
A Model Context Protocol (MCP) server for interacting with Kaggle competitions through Claude or other compatible AI assistants.
📖 Learn More
Want to understand the full potential of this server? Check out the detailed article:
AI-Powered Data Science Revolution: How Kaggle MCP Server Transforms AI Capabilities
Related MCP server: Kaggle-MCP
Prerequisites
Node.js 18 or higher
TypeScript
Kaggle CLI installed (
pip install kaggle)Kaggle API credentials configured
Authentication Setup
There are two ways to authenticate with the Kaggle API:
Option 1: Using a kaggle.json file (Standard approach)
Install the Kaggle CLI:
pip install kaggleGo to https://www.kaggle.com/account and click "Create New API Token"
This will download a
kaggle.jsonfile with your credentialsCreate a
.kaggledirectory in your home folder (if it doesn't exist)
# On Linux/Mac
mkdir -p ~/.kaggle
# On Windows (PowerShell)
New-Item -ItemType Directory -Force -Path "$HOME\.kaggle"Move the downloaded
kaggle.jsonfile to the.kaggledirectory:
# On Linux/Mac
mv ~/Downloads/kaggle.json ~/.kaggle/
chmod 600 ~/.kaggle/kaggle.json # Set permissions
# On Windows (PowerShell)
Move-Item -Path "$HOME\Downloads\kaggle.json" -Destination "$HOME\.kaggle\kaggle.json"Option 2: Using Claude for Desktop Configuration (Simpler)
You can directly add your Kaggle credentials to your claude_desktop_config.json file:
{
"mcpServers": {
"kaggle": {
"command": "node",
"args": ["/path/to/build/index.js"],
"env": {
"KAGGLE_USERNAME": "your-kaggle-username",
"KAGGLE_KEY": "your-kaggle-api-key"
}
}
}
}Replace your-kaggle-username and your-kaggle-api-key with your actual Kaggle credentials.
Installation
Clone this repository
Install dependencies:
npm installBuild the project:
npm run buildUsage
Running the server
npm startOr directly:
node build/index.jsConnecting with Claude for Desktop
Add the following configuration to your claude_desktop_config.json file (use the absolute path to your clone):
{
"mcpServers": {
"kaggle": {
"command": "node",
"args": ["/absolute/path/to/kaggle-MCP/build/index.js"]
}
}
}Add the env block from Option 2 above if you aren't using kaggle.json.
Example Queries
Once connected to Claude, you can ask questions like:
"Show me the active Kaggle competitions"
"Search for image classification competitions"
"Download the files for the Titanic competition"
"Submit my predictions.csv file to the housing-prices competition with the message 'Random forest model'"
"Show me my submissions for the digit-recognizer competition"
Troubleshooting
Authentication Issues
If you encounter authentication errors:
Verify your credentials are correctly set:
If using
kaggle.json, check it's in the correct location:Linux/Mac:
~/.kaggle/kaggle.jsonWindows:
C:\Users\<USERNAME>\.kaggle\kaggle.json
If using environment variables, check the
envsection in yourclaude_desktop_config.json
For
kaggle.json, check if the file has the correct permissions:On Linux/Mac, run:
chmod 600 ~/.kaggle/kaggle.json
Make sure your API token is still valid. If needed, generate a new one from your Kaggle account page.
Installation Issues
If the Kaggle CLI is not found:
Make sure you have installed it with:
pip install kaggleVerify that the Kaggle command is in your PATH by running:
kaggle --version
Current Capabilities
The server currently provides the following operations for Kaggle competitions:
🔍 List Competitions
List all active Kaggle competitions
Search competitions by keyword
Support for pagination to browse through results
Display competition details including name, category, deadline, and prize
📥 Download Competition Files
Download files for any competition
Specify custom download path
Force re-download of existing files
Works with all public competition datasets
📤 Submit to Competitions
Submit prediction files to competitions
Add custom submission messages
Get immediate feedback on submission status
Requires prior acceptance of competition rules on Kaggle website
📋 List Submissions
View submission history for a specific competition
See submission status and scores
Track multiple submissions over time
Extended Features (separate branch)
More tools live in the feature/extended-functionality branch, which hasn't been merged into main yet. It covers:
Dataset Operations: Browse, search, download, and analyze datasets from Kaggle
Notebook Integration: Work with Kaggle notebooks directly from your AI assistant
User Management: Check profile information and competition standings
Competition Analysis: Get detailed competition metrics and leaderboard insights
Check out that branch if you need more than competitions.
License
Available Tools
4 toolsdownload-competitionD
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to download files to | |
| force | No | Force download even if files exist | |
| competition | Yes | Competition ID to download files from |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Tool has no description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Tool has no description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Tool has no description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Tool has no description.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list-competitionsD
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| search | No | Search term to filter competitions | |
| pageSize | No | Number of competitions per page |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Tool has no description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Tool has no description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Tool has no description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Tool has no description.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list-submissionsD
| Name | Required | Description | Default |
|---|---|---|---|
| competition | Yes | Competition ID to list submissions for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Tool has no description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Tool has no description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Tool has no description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Tool has no description.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
submit-to-competitionD
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the submission file | |
| message | Yes | Submission description message | |
| competition | Yes | Competition ID to submit to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Tool has no description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Tool has no description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Tool has no description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Tool has no description.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.0.0- First observed
download-competition - First observed
list-competitions - First observed
list-submissions - First observed
submit-to-competition
TDQS
Scored across 4 tools
The four tools target distinct resources and actions: listing competitions, downloading a competition, submitting to a competition, and listing submissions. Without descriptions, some scope details are ambiguous, such as exactly what download-competition returns or whether list-submissions is competition-scoped or user-scoped.
All names use kebab-case and generally follow a verb-object pattern: list-competitions, download-competition, list-submissions. submit-to-competition is slightly less consistent because it inserts a preposition, but the overall convention is still predictable.
Four tools is a compact but reasonable surface for a competition-focused Kaggle server. It may be slightly thin, but each tool has a clear role in the basic competition workflow.
The surface covers listing competitions, downloading competition data, submitting, and listing submissions, but notable competition operations are missing, such as getting competition details, viewing leaderboards, or listing competition files. These gaps would limit an agent's ability to fully navigate Kaggle competitions.
Maintenance
Related MCP Connectors
Read and write KukGit repositories, files, issues and pull requests from an AI assistant.
File tools for your AI chat: PDF tables to Excel, merge PDFs, images to PDF, fill PDF forms.
Machine-readable utilities and datasets for AI agents.
File uploads for AI agents. Upload, list, and manage files. No signup required.
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

CrowdCent MCP Serverofficial
AlicenseBqualityDmaintenanceEnables AI assistants to interact with CrowdCent's prediction challenges, allowing them to access challenges, download datasets, submit predictions, and monitor submissions through natural language commands.131MIT- AlicenseCqualityCmaintenanceEnables AI agents to interact with Kaggle's platform for managing datasets, competitions, kernels, models, forums, and benchmarks via 68 MCP tools.682MIT