Skip to main content

MCP server for authoring, analyzing, debugging, and running Snowfakery recipes

Project description

Snowfakery MCP Server

CI Release PyPI Codecov License

Power up your AI workflows with Snowfakery data generation — Use Claude, ChatGPT, and other AI assistants to author, debug, and run data recipes through the Model Context Protocol.

MCP Registry

mcp-name: io.github.composable-delivery/snowfakery-mcp

What is this?

Snowfakery is a YAML-based tool for programmatically generating test data. This MCP server connects Snowfakery to AI assistants, letting you:

  • Draft recipes with AI assistance backed by real Snowfakery docs and examples
  • Validate recipes before running them with detailed error feedback
  • Execute recipes and iterate on results interactively
  • Debug issues with static analysis and recipe inspection
  • Generate Salesforce mappings for CumulusCI workflows

Perfect for teams that need realistic test data—from Salesforce admins to developers building data pipelines.

Quick Start

Install uv

We recommend using uv for installs and for running from source.

  • Install uv (macOS/Linux):

    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  • Install uv (Windows PowerShell):

    powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    

See the official uv install docs: https://docs.astral.sh/uv/getting-started/installation/

Claude Desktop (recommended)

For Claude Desktop, prefer using the .mcpb bundle from Releases:

This bundle includes the pinned runtime metadata (uv.lock, manifest.json) and is the easiest way to get a reproducible setup.

Install & Run (CLI)

# Recommended: isolated install
uv tool install snowfakery-mcp

# Then run the server
snowfakery-mcp

Or from source:

git clone https://github.com/composable-delivery/snowfakery-mcp.git
cd snowfakery-mcp
uv sync
uv run snowfakery-mcp

Connect to Claude (Desktop)

Add to your Claude Desktop claude_desktop_config.json:

{
  "mcpServers": {
    "snowfakery-mcp": {
      "command": "snowfakery-mcp"
    }
  }
}

Then ask Claude:

"Show me an example Snowfakery recipe" or "Help me write a recipe to generate 100 Salesforce accounts"

Features

Resources — Access docs, examples, and schemas:

  • Snowfakery documentation and recipe examples
  • JSON schema for recipe validation
  • Run outputs and artifacts

Tools — Interact with recipes:

  • Validate & analyze recipes (catch errors early)
  • Run recipes and capture output
  • List & retrieve example recipes
  • Generate CumulusCI mapping files

Learn More

Community

We want this to be welcoming at any level. Questions, ideas, and contributions are always welcome!

Development

# Install dev dependencies
uv sync --all-groups

# Run tests
uv run pytest

# Type check
uv run mypy snowfakery_mcp

# Lint & format
uv run ruff check snowfakery_mcp tests scripts evals
uv run ruff format snowfakery_mcp tests scripts evals

Evals (Agentic Testing)

This repo includes inspect-ai tasks for testing the MCP server with AI models:

# Install eval dependencies
uv sync --group evals

# Run evaluation
uv run inspect eval evals/inspect_tasks.py@snowfakery_mcp_agentic --model openai/gpt-4o-mini

See evals/ for more examples and troubleshooting.

Notes

  • The repo includes the upstream Snowfakery repo as a git submodule (Snowfakery/) for development
  • When running from source, use uv run ... to ensure the pinned environment
  • PyPI installs use bundled docs/examples (no submodule required)

Releases

See GitHub Releases for sdist, wheel, and .mcpb bundles (recommended for Claude Desktop).

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

snowfakery_mcp-0.0.4.tar.gz (63.1 kB view details)

Uploaded Source

Built Distribution

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

snowfakery_mcp-0.0.4-py3-none-any.whl (67.5 kB view details)

Uploaded Python 3

File details

Details for the file snowfakery_mcp-0.0.4.tar.gz.

File metadata

  • Download URL: snowfakery_mcp-0.0.4.tar.gz
  • Upload date:
  • Size: 63.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for snowfakery_mcp-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ce568e6848c44ae32052555c60345666a63c3def7ce213f22ae20c2d4d09c61f
MD5 a2d1622f0a53abec81e61aace39b8e99
BLAKE2b-256 b34bdbe6ee304b866ddbee9a0e77a162605e880fb7ad7cd63eb1865994682a9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for snowfakery_mcp-0.0.4.tar.gz:

Publisher: publish-pypi.yml on composable-delivery/snowfakery-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snowfakery_mcp-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: snowfakery_mcp-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 67.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for snowfakery_mcp-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3e5e64756dd5afa3a35e2f6fa1cb1da0f54559f5c9496957c3104410c8b1ca6d
MD5 5a38452f7c98ef58c39e33ddc445b480
BLAKE2b-256 97ad996bee7f878ac24ef507fc8bf6062c2fcc3e19135bf42deecefdb55c7503

See more details on using hashes here.

Provenance

The following attestation bundles were made for snowfakery_mcp-0.0.4-py3-none-any.whl:

Publisher: publish-pypi.yml on composable-delivery/snowfakery-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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