Skip to main content

Kedro MCP Server

An MCP (Model Context Protocol) server that helps AI assistants (such as VS Code Copilot or Cursor) work consistently with Kedro projects.

The server provides concise, versioned guidance for:

  • General Kedro usage and best practices
  • Converting Jupyter notebooks into production-ready Kedro projects
  • Migrating projects between Kedro versions

With Kedro-MCP, your AI assistant understands Kedro workflows, pipelines, and conventions — so you can focus on building, not fixing AI mistakes.


Quick Install

To enable Kedro MCP tools in your editor, simply click one of the links below.
Your editor will open automatically, and you’ll just need to confirm installation.

Once installed, your AI assistant automatically gains access to Kedro-specific MCP tools.


Helpful references


Universal MCP configuration (JSON)

You can reuse this configuration in any MCP-compatible client (e.g. Copilot, Cursor, Claude, Windsurf):

{
  "command": "uvx",
  "args": ["kedro-mcp@latest"],
  "env": {
    "FASTMCP_LOG_LEVEL": "ERROR"
  },
  "disabled": false,
  "autoApprove": []
}

Usage

After installation, open Copilot Chat (in Agent Mode) or the Chat panel in Cursor.
Type / to see available Kedro MCP prompts.


Convert a Jupyter Notebook into a Kedro project

/mcp.Kedro.convert_notebook

When you run this command, the assistant explicitly calls the Kedro MCP server and follows the guidance provided.

Typical flow:

  1. The assistant analyses your Jupyter notebook (you can paste its content or mention its filename).

  2. It creates a conversion plan (Statement of Work) saved as a .md file in your workspace.

  3. You review and approve the plan.

  4. The assistant:

    • Ensures a Python virtual environment is active.
    • Installs the latest Kedro if missing.
    • Scaffolds a new project with kedro new.
    • Creates pipelines with kedro pipeline create.
    • Populates parameters.yml and catalog.yml based on your notebook.

You can edit the plan, switch environment tools (uv, venv, conda), or ask the assistant to resolve setup errors interactively.


Migrate a Kedro project

/mcp.Kedro.project_migration

This prompt walks you through migrating an existing Kedro project to a newer version.

Steps:

  1. The assistant analyses your project and proposes a migration plan (e.g. from 0.19 → 1.0).
  2. You review and approve the plan.
  3. The assistant ensures a virtual environment is active, installs the correct Kedro version, and applies migration steps.

Use this to get up-to-date migration tips and avoid deprecated patterns.


General Kedro guidance

/mcp.Kedro.general_usage

Use this prompt for open-ended Kedro questions.
The Kedro MCP server returns structured, up-to-date Kedro guidance that your assistant uses to generate realistic code and pipelines.

Example:

“Generate a Kedro project for a time-series forecasting pipeline using Pandas and scikit-learn.”


Manual Install (from source)

For development or debugging:

git clone https://github.com/kedro-org/kedro-mcp.git
cd kedro-mcp
uv pip install -e . --group dev

Example MCP config (local path):

{
  "mcpServers": {
    "kedro": {
      "command": "uv",
      "args": ["tool", "run", "--from", ".", "kedro-mcp"],
      "env": { "FASTMCP_LOG_LEVEL": "ERROR" }
    }
  }
}

Development

# Install dev dependencies
uv pip install -e . --group dev

# Lint & type-check
ruff check .
mypy src/

Troubleshooting

  • Server not starting: Ensure Python 3.10+ and uv are installed. Confirm the MCP config points to uvx kedro-mcp@latest or to the kedro-mcp console script.
  • Tools not appearing: Restart your assistant and verify that the MCP config key matches "kedro".
  • Version drift: Pin a version instead of @latest for reproducibility.

License

This project is licensed under the Apache Software License 2.0.
See LICENSE.txt for details.


Support

Metadata

Release files for kedro-mcp 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kedro-mcp 0.1.2
File Size Uploaded Provenance
kedro_mcp-0.1.2.tar.gz 28.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for kedro-mcp 0.1.2
File Interpreter ABI Platform
kedro_mcp-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 54.1 kB

Release files / kedro_mcp-0.1.2.tar.gz

Download URL kedro_mcp-0.1.2.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
73a6a14b50d03a97da3d8728450e06bf83642a28ae61b8aa59c54c5a93524c35
BLAKE2b-256 checksum
How to use checksums
a3eb3b61398a76119187fd6652d80083c5dd529a7ba76e92addf73752c0efc88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Release files / kedro_mcp-0.1.2-py3-none-any.whl

Download URL kedro_mcp-0.1.2-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a52e88663fc1d415a2b1e365fb50697b00f0bbbc4716ff0f3380ee6198b9d6ce
BLAKE2b-256 checksum
How to use checksums
9c633e0693f5ef7a005be8c557ba68dcddfb3871d097bf4fc0d976ddda6003d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Security for kedro-mcp 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page