Fashion discovery MCP server for Indian Gen Z - by Klydo
Project description
Klydo MCP Server
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.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
288ec83c6337895ab1c324960c194d7a0606679adbf8f14e493ec2b27538732c
|
|
| MD5 |
e90d35db4b6e474049df53d1c2588cf0
|
|
| BLAKE2b-256 |
3c4ce10c837620ac78b9df1d9466e60f085e4effea31d890aa796836c77daa07
|
Provenance
The following attestation bundles were made for klydo_mcp-0.1.4.tar.gz:
Publisher:
publish.yaml on myselfshravan/klydo-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
klydo_mcp-0.1.4.tar.gz -
Subject digest:
288ec83c6337895ab1c324960c194d7a0606679adbf8f14e493ec2b27538732c - Sigstore transparency entry: 921389546
- Sigstore integration time:
-
Permalink:
myselfshravan/klydo-mcp@5831bc7878e6f03970185419473012c10a84151d -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/myselfshravan
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@5831bc7878e6f03970185419473012c10a84151d -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3906daf0d6cd4707e756311fac949976be979de59aa55f287a952f6d4644686d
|
|
| MD5 |
c484204a3f24df4ea5468b33d547e84e
|
|
| BLAKE2b-256 |
180c71b231fa96a49e8422f1cc095b382c5bc4ead6812b559e52bc00e843aa2c
|
Provenance
The following attestation bundles were made for klydo_mcp-0.1.4-py3-none-any.whl:
Publisher:
publish.yaml on myselfshravan/klydo-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
klydo_mcp-0.1.4-py3-none-any.whl -
Subject digest:
3906daf0d6cd4707e756311fac949976be979de59aa55f287a952f6d4644686d - Sigstore transparency entry: 921389596
- Sigstore integration time:
-
Permalink:
myselfshravan/klydo-mcp@5831bc7878e6f03970185419473012c10a84151d -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/myselfshravan
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@5831bc7878e6f03970185419473012c10a84151d -
Trigger Event:
release
-
Statement type: