Skip to main content

A Model Context Protocol (MCP) server for the Python library dlt.

Project description

data load tool (dlt) — MCP Server

🚀 Follow this guide to create a dlt pipeline in 10mins with AI

How is it useful?

Large language models (LLMs) know a lot about the world, but nothing about your specific code and data.

The Model Context Protocol (MCP) server allows the LLM to retrieve up-to-date and correct information about your dlt pipelines, datasets, schema, etc. This significantly improves the development experience in AI-enabled IDEs (Copilot, Cursor, Continue, Claude Code, etc.)

Installation

The package manager uv is required to launch the MCP server.

Add this section to your MCP configuration file inside your IDE.

{
  "name": "dlt",
  "command": "uv",
  "args": [
    "run",
    "--with",
    "dlt-mcp[search]",
    "python",
    "-m",
    "dlt_mcp"
  ],
}

[!NOTE] The configuration file format varies slightly across IDEs

Features

Tools

The dlt MCP server provides tools that allows the LLM to take actions:

  • list_pipelines: Lists all available dlt pipelines. Each pipeline consists of several tables.
  • list_tables: Retrieves a list of all tables in the specified pipeline.
  • get_table_schemas: Returns the schema of the specified tables.
  • execute_sql_query: Executes a SELECT SQL statement for simple data analysis.
  • get_load_table: Retrieves metadata about data loaded with dlt.
  • get_pipeline_local_state: Fetches the state information of the pipeline, including incremental dates, resource state, and source state.
  • get_table_schema_diff: Compares the current schema of a table with another version and provides a diff.
  • search_docs: Searches over the dlt documentation using different modes (hybrid, full_text, or vector) to verify features and identify recommended patterns.
  • search_code: Searches the source code for the specified query and optional file path, providing insights into internal code structures and patterns.

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

dlt_mcp-0.3.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

dlt_mcp-0.3.0-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file dlt_mcp-0.3.0.tar.gz.

File metadata

  • Download URL: dlt_mcp-0.3.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dlt_mcp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 80b02a2a4c09814d8cfba4ccd8ad5526d20fc2a62d840928855c9ef0b0bb3858
MD5 079c71c668d9f9a2262fc051900e2237
BLAKE2b-256 3acb544012c2acedf5109aebd24b1653e2e5892ef47e4e2b66c5e75ea3db20f0

See more details on using hashes here.

File details

Details for the file dlt_mcp-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dlt_mcp-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dlt_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3e2fabd2db0f4426f925bcfdc4626872e9914bb0cef57062790ddeda1f8ef76
MD5 56f2ff53a51653883efba8a675e7a513
BLAKE2b-256 c92a26d9fa621cc20b4b7bdb2dedcbb6c3ca1e0b86ebdf0702dd1c8dbdd6dab2

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