# Learn how to set up the Snowplow CLI MCP tool
> Introduction to the Snowplow CLI MCP tool for managing data structures and tracking plans through AI assistants like Claude, Cursor, or Copilot.
> Source: https://docs.snowplow.io/tutorials/snowplow-cli-mcp/introduction/
> Documentation index: https://docs.snowplow.io/llms.txt

The Snowplow CLI MCP (Model Context Protocol) tool integrates Snowplow's data structure management capabilities directly into AI assistants like Claude. This enables natural language interaction for creating, validating, and managing your Snowplow tracking plans **locally**.

**Important**: the MCP tool creates and validates files on your local filesystem only. To sync changes to Console, you'll use the regular CLI commands like `snowplow-cli ds publish` afterward.

> **Note: Work directly in your Snowplow account**
>
> To work with your Snowplow Console account directly from your codebase, instead of with local files, install the remote [Snowplow MCP server](/docs/ai/snowplow-mcp/) and the Snowplow [skills](/docs/ai/skills/) in your coding agent with `npx plugins add snowplow/skills`.

## What you'll learn

- How to set up the Snowplow CLI MCP tool with AI assistants like Claude Desktop, Cursor, or Copilot
- Available MCP tools and their functions
- Creating and validating data structures through conversation
- AI-powered analysis for strategic tracking plan development

## Demo: Using the Snowplow CLI MCP with Claude Desktop

## Prerequisites

- Snowplow CLI installed ([installation guide](/docs/api-reference/snowplow-cli/#install))
- Snowplow CLI configured with your Console credentials ([configuration guide](/docs/api-reference/snowplow-cli/#configure))
- Claude Desktop or another MCP-compatible client (Cursor or Copilot)
- **Filesystem access**: if using Claude Desktop, you must run alongside an MCP filesystem server (e.g., `@modelcontextprotocol/server-filesystem`) to enable file operations. Other MCP clients (Cursor, Copilot, etc.) have filesystem access by default.

## Available MCP tools

The Snowplow CLI MCP server provides these tools:

### Core tools

- **`get_context`** - Retrieves the built-in schema and rules that define how Snowplow data structures, tracking plans, and source applications should be structured.
- **`get_uuid`** - Generates valid v4 UUIDs required by many Snowplow components.

### Validation tools

- **`validate_data_structures`** - Validates data structure files (events/entities). Must be called after creating or modifying any data structure.
- **`validate_data_products`** - Validates tracking plans and source applications. Must include both tracking plan files AND their referenced source application files.
