mytime-mcp
Remote MCP server for MY:TIME's competitive intelligence platform. Enables querying competitor e-commerce data, social metrics, and demand estimates via Claude, Power BI, and other tools.
README
MY:TIME — Competitive Intelligence Platform
Ingestion pipeline + remote MCP server over a Supabase Postgres single source of truth. Crawls competitor e-commerce sites and infers demand from inventory depletion, tracks social performance, and exposes everything to Claude, Power BI, and the team through one MCP endpoint.
Honesty note: depletion-derived sales are estimates, labeled as such in all outputs. Competitor social = public metrics only. MY:TIME's own data comes from official APIs and the Adform product feed, never guessed.
Architecture
SOURCES competitor e-commerce sites + social platforms
COLLECTION Apify + FireCrawl + official social APIs + MY:TIME XML feed
INGESTION Node/TS pipeline — route, normalize, dedupe, date-stamp (modular per source)
STORAGE Supabase Postgres (Frankfurt) — single source of truth
MCP SERVER remote, Streamable HTTP, https://mcp.my.mk ← the hub
CONSUMERS Claude · Power BI / dashboards · internal team
Workspace layout
| Package | Purpose |
|---|---|
shared/ (@mytime/shared) |
Types, env loader (fail-fast), logger, DB pool factory, targets.json loader |
db/ (@mytime/db) |
Drizzle schema + migrations + ER diagram |
ingestion/ (@mytime/ingestion) |
One bolt-on collector module per source + routing/scheduler |
mcp-server/ (@mytime/mcp-server) |
MCP tools (role-tagged), auth middleware, health |
config/ |
targets.json (+ JSON Schema) — the only place targets are defined |
Stack
Node 20+ · TypeScript (ESM, NodeNext) · pnpm workspaces · Drizzle ORM · Biome (lint + format) · pino logging · zod validation · Supabase Postgres.
Getting started
corepack enable && pnpm install # pnpm 11.x
cp .env.example .env # fill in credentials (gitignored)
pnpm build # build all packages
pnpm validate:targets # validate config/targets.json
pnpm lint # Biome
Every runtime variable is documented in .env.example; missing required vars fail fast naming the variable.
Adding a new data source (modularity contract)
A new source is new module + new table + new MCP tool, with no edits to existing sources. See ingestion/src/sources/README.md.
Build phases
- [x] Phase 0 — Scaffold (current): monorepo, tooling,
targets.jsonschema, env. - [ ] Phase 1 — Site profiling & crawler selection →
crawler-plan.md - [ ] Phase 2 — Database schema (full time-series model + ER diagram)
- [~] Phase 3 — Ingestion pipeline — steps A–C done: idempotent writer + MY:TIME XML feed + WooCommerce Store API collectors (B-Watch, Bozinovski, Watch Club). Pending: D (FireCrawl web), E (competitor social/Apify), F (own-brand social), G (scheduler).
- [ ] Phase 4 — Demand inference + MCP server core (4 tools)
- [ ] Phase 5 — OAuth 2.1 + two-layer authorization
- [ ] Phase 6 — Deploy to Hetzner (Caddy, TLS, daily ingestion)
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.