# 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 a free key (100 calls/day) at https://api.meacheal.ai/apply

## Tools (10)

- `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] Detect discrepancies between supplier-declared values and lab-verified values.
- `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_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>
```
