Skip to the content.

Configuration API

Kaggle-MCP provides tools to view and manage Kaggle API configuration settings.

Available Tools

config_view

View current Kaggle API configuration values.

config_view()

Returns: JSON string with current configuration values

config_set

Set a Kaggle API configuration value.

config_set(name, value)

Parameters:

Returns: Success message or error details

config_unset

Clear a Kaggle API configuration value.

config_unset(name)

Parameters:

Returns: Success message or error details

config_path

Set or view the path where files will be downloaded.

config_path(path="")

Parameters:

Returns: Current or updated download path

Examples

Here are some examples of how to use the configuration tools with Claude:

# View current configuration
config_view()

# Set a specific competition as the default
config_set("competition", "titanic")

# Set the download path
config_path("/path/to/downloads")

# Clear a configuration value
config_unset("competition")

Environment Variables

Kaggle-MCP respects the following environment variables: