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 --from klydo-mcp klydo

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": ["--from", "klydo-mcp", "klydo"]
    }
  }
}

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 Description
query string required โ€” 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 Description
product_id string required โ€” Product ID from search results

Returns: Full details โ€” images, sizes, colors, ratings, and purchase link.

get_trending

Discover what's hot rn ๐Ÿ”ฅ

Parameter Type 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.6.tar.gz (119.6 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.6-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: klydo_mcp-0.1.6.tar.gz
  • Upload date:
  • Size: 119.6 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.6.tar.gz
Algorithm Hash digest
SHA256 5ae5fdadf1a4cc467b5172d03afbbd8fab774e8ee0c4bf190ac5ca340c885015
MD5 b9904afde479b50de857577178cd7e0a
BLAKE2b-256 6586a5aaf506021e9aff33dfd7baa8d43a7718f0635a66825c6d4c6517d98f92

See more details on using hashes here.

Provenance

The following attestation bundles were made for klydo_mcp-0.1.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: klydo_mcp-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c5ff3ec614e175688875a2f8b68c60434890fba7c6622e3aa518a1f9f02035f9
MD5 a1f91a9a39219ad84907cfca59cdde54
BLAKE2b-256 8aa734296380ab757fe694b94911153251c814cb5b148d47122f168ee158256b

See more details on using hashes here.

Provenance

The following attestation bundles were made for klydo_mcp-0.1.6-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