Skip to main content

A MCP server for kaggle apis

Project description

kaggle-mcp MCP server

A MCP server for Kaggle Apis

Components

Tools

The server implements one tool:

  • add-note: Adds a new note to the server
    • Takes "name" and "content" as required string arguments
    • Updates server state and notifies clients of resource changes

Configuration

Ensure that you have downloaded your Kaggle credentials (kaggle.json) and placed it in the ~/.kaggle/ directory (this is the default location where the Kaggle API looks for your credentials)

Otherwise you can add the env KAGGLE_USERNAME and KAGGLE_KEY to the mcp config

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "kaggle-mcp": { "command": "uv", "args": [ "--directory", "/Users/{username}/Work/kaggle-mcp", "run", "kaggle-mcp" ] } } ```
Published Servers Configuration ``` "mcpServers": { "kaggle-mcp": { "command": "uvx", "args": [ "kaggle-mcp" ] } } ```

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory /Users/{username}/Work/kaggle-mcp run kaggle-mcp

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kaggle_mcp-0.1.0.tar.gz (64.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kaggle_mcp-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file kaggle_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: kaggle_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 64.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for kaggle_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ce3b834f1c86a21df5f143aa9bc5b5d57711a458395eef6828cdaf2334b06b1e
MD5 fec2bd2bf3b2e266943010c6a6ecac5d
BLAKE2b-256 d42e579adcea95faed6ae830c50bd22ca55ef2a23b8e8f2279d5060513ad85a3

See more details on using hashes here.

File details

Details for the file kaggle_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kaggle_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 738012172f6177e43d6910cf87760b913397d09e8e0c50e7df14d526a09cf3a4
MD5 ea1408f1b9d741f306580e8f895bb5c1
BLAKE2b-256 45ab8a362e67db61cd68f3a89712a72e6db3ebb18d558942763a082ecdcf390b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page