Skip to main content

Fashion discovery MCP server for Indian Gen Z - by Klydo

Project description

Klydo MCP Server

CI PyPI version Python 3.11+ License: MIT MCP Compatible

Fashion discovery MCP server for Indian Gen Z.

Enables AI assistants like Claude to search and discover fashion products from Klydo โ€” India's Gen-Z quick tech fashion commerce platform based in Bangalore.

โœจ Features

  • ๐Ÿ” Search Products โ€” Search fashion items with filters (category, gender, price range)
  • ๐Ÿ“ฆ Product Details โ€” Get complete product info including images, sizes, colors, ratings
  • ๐Ÿ”ฅ Trending Products โ€” Discover what's popular right now
  • ๐Ÿ“ Structured Logging โ€” Debug-friendly logs with Loguru
  • โšก Fast & Cached โ€” In-memory caching for quick responses

๐Ÿš€ Quick Start

Installation

Option 1: Install from PyPI (Recommended)

# Using pip
pip install klydo-mcp

# Or using pipx (isolated environment)
pipx install klydo-mcp

# Or using uvx (no installation needed)
uvx klydo-mcp

Option 2: Install from Source

# Clone the repository
git clone https://github.com/myselfshravan/klydo-mcp.git
cd klydo-mcp

# Install dependencies with uv
uv sync

Usage with Claude Desktop

If installed via PyPI (pip/pipx)

Add to your Claude Desktop configuration:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "klydo": {
      "command": "klydo"
    }
  }
}

If using uvx (recommended for easy updates)

{
  "mcpServers": {
    "klydo": {
      "command": "uvx",
      "args": ["klydo-mcp"]
    }
  }
}

If installed from source

{
  "mcpServers": {
    "klydo": {
      "command": "uv",
      "args": ["--directory", "/path/to/klydo-mcp", "run", "klydo"]
    }
  }
}

Then restart Claude Desktop.

Run Standalone

uv run klydo

๐Ÿ› ๏ธ MCP Tools

search_products

Search for fashion products.

Parameter Type Required Description
query string โœ… Search terms (e.g., "black dress", "nike shoes")
category string โŒ Filter by category (e.g., "dresses", "shoes")
gender string โŒ Filter by gender ("men" or "women")
min_price int โŒ Minimum price in INR
max_price int โŒ Maximum price in INR
limit int โŒ Max results (default 10, max 50)

get_product_details

Get complete product information.

Parameter Type Required Description
product_id string โœ… Product ID from search results

Returns: Full product details including all images, sizes, colors, ratings, and purchase link.

get_trending

Get currently trending/popular fashion products.

Parameter Type Required Description
category string โŒ Category filter
limit int โŒ Max results (default 10, max 50)

โš™๏ธ Configuration

Copy .env.example to .env and customize:

# Request settings
KLYDO_REQUEST_TIMEOUT=30
KLYDO_CACHE_TTL=3600

# Debug mode (set to false in production)
KLYDO_DEBUG=false

# API token for klydo.in (required)
KLYDO_KLYDO_API_TOKEN=your-token

๐Ÿ“ Project Structure

klydo-mcp/
โ”œโ”€โ”€ src/klydo/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ server.py          # MCP server entry point
โ”‚   โ”œโ”€โ”€ config.py          # Configuration (Pydantic Settings)
โ”‚   โ”œโ”€โ”€ logging.py         # Loguru configuration
โ”‚   โ”œโ”€โ”€ models/
โ”‚   โ”‚   โ””โ”€โ”€ product.py     # Product, Price models
โ”‚   โ””โ”€โ”€ scrapers/
โ”‚       โ”œโ”€โ”€ base.py        # Scraper protocol (interface)
โ”‚       โ”œโ”€โ”€ cache.py       # In-memory cache with TTL
โ”‚       โ””โ”€โ”€ klydo_store.py # Klydo.in API client
โ”œโ”€โ”€ tests/                 # Test suite
โ”œโ”€โ”€ .github/workflows/     # CI/CD pipelines
โ”œโ”€โ”€ pyproject.toml
โ””โ”€โ”€ README.md

๐Ÿงช Testing

# Run all tests
uv run pytest

# Run with verbose output
uv run pytest -v

# Run specific test file
uv run pytest tests/test_models.py

๐Ÿ”ง Development

# Install dev dependencies
uv sync --dev

# Run linting
uv run ruff check src/

# Format code
uv run ruff format src/

# Run the server locally
uv run klydo

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ” Security

For security issues, please see our Security Policy.

๐Ÿ“„ License

MIT License โ€” see LICENSE for details.

๐Ÿข About Klydo

Klydo is a Bangalore-based startup building quick tech fashion commerce for Gen-Z (18-32 age group). We're making fashion discovery seamless, fast, and accessible. This MCP server extends our platform to AI assistants, enabling natural language fashion search.

Backed by innovation. Built for Gen-Z. Made in India. ๐Ÿ‡ฎ๐Ÿ‡ณ


Made with โค๏ธ in Bangalore, India

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

klydo_mcp-0.1.4.tar.gz (125.8 kB view details)

Uploaded Source

Built Distribution

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

klydo_mcp-0.1.4-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file klydo_mcp-0.1.4.tar.gz.

File metadata

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

File hashes

Hashes for klydo_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 288ec83c6337895ab1c324960c194d7a0606679adbf8f14e493ec2b27538732c
MD5 e90d35db4b6e474049df53d1c2588cf0
BLAKE2b-256 3c4ce10c837620ac78b9df1d9466e60f085e4effea31d890aa796836c77daa07

See more details on using hashes here.

Provenance

The following attestation bundles were made for klydo_mcp-0.1.4.tar.gz:

Publisher: publish.yaml on myselfshravan/klydo-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 klydo_mcp-0.1.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for klydo_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3906daf0d6cd4707e756311fac949976be979de59aa55f287a952f6d4644686d
MD5 c484204a3f24df4ea5468b33d547e84e
BLAKE2b-256 180c71b231fa96a49e8422f1cc095b382c5bc4ead6812b559e52bc00e843aa2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for klydo_mcp-0.1.4-py3-none-any.whl:

Publisher: publish.yaml on myselfshravan/klydo-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