# mrc-data

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add meacheal-ai/mrc-data

# Browse available tools
npx -y @smithery/cli@latest tool list meacheal-ai/mrc-data

# Get full schema for a tool
npx -y @smithery/cli@latest tool get meacheal-ai/mrc-data search_suppliers

# Call a tool
npx -y @smithery/cli@latest tool call meacheal-ai/mrc-data search_suppliers '{}'
```

## Direct MCP Connection

Endpoint: `https://mrc-data--meacheal-ai.run.tools`

**Required config:**
- `apiKey` (query) — Get your free API key at https://api.meacheal.ai/apply

## Tools (19)

- `search_suppliers` — Search verified Chinese apparel manufacturers, apparel factories, and clothing suppliers.
- `get_supplier_detail` — Get the complete profile of a single Chinese apparel supplier by ID.
- `search_fabrics` — Search the Chinese fabric and textile database with lab-tested specifications.
- `get_fabric_detail` — Get the complete lab-tested record of a single fabric by ID.
- `search_clusters` — Search Chinese apparel industrial clusters and textile markets.
- `compare_clusters` — Compare multiple Chinese apparel industrial clusters side-by-side on key metrics.
- `detect_discrepancy` — [Core feature] Surface supplier specifications that deviate from independent lab measurements.
- `get_supplier_fabrics` — List all fabrics a specific supplier can provide, with quoted prices.
- `get_fabric_suppliers` — List all suppliers offering a specific fabric, sorted by quality score, with price comparison.
- `get_product_categories` — List all product categories available in the database with supplier counts.
- `get_province_distribution` — Show supplier distribution across Chinese provinces.
- `recommend_suppliers` — Smart supplier recommendation based on sourcing requirements.
- `analyze_market` — Market overview and analysis for a product category in China.
- `estimate_cost` — Estimate sourcing cost for a product based on fabric price, supplier pricing, and order quantity.
- `check_compliance` — Check if a supplier meets compliance requirements for a target export market.
- `find_alternatives` — Find alternative suppliers similar to a given supplier.
- `compare_suppliers` — Compare multiple suppliers side by side on all dimensions.
- `get_cluster_suppliers` — List all suppliers in a specific industrial cluster.
- `get_stats` — Get overall database statistics: total counts of suppliers, fabrics, clusters, and links.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get meacheal-ai/mrc-data <tool-name>
```

## Resources

- `mrc://overview` — Database coverage summary — record counts, geographic scope, data freshness

## Prompts (3)

- `find-supplier` (product, location) — Find apparel suppliers by product type and location
- `find-fabric` (material, use) — Find fabrics by material and use case
- `compare-clusters` (clusters) — Compare Chinese apparel industrial clusters
