TexPro — Market Intelligence Rebuild + Moda AI
Fibre2Fashion's paid market-intelligence dashboard for the textile industry, rebuilt from the ground up in Angular 21 — trade, pricing, sustainability and supplier data — with Moda AI, a full-page assistant that streams answers from the dashboard's own data modules, and an MCP server, live for subscribers, that lets Claude and ChatGPT ask TexPro directly.

- Year
- 2026
- Type
- Day job
- Role
- One of three core developers · Angular 21 · built the MCP server
- Status
- Live
What needed solving
TexPro sells trade flows, raw-material prices, country costs, sustainability and supplier data to textile businesses. Its legacy front end carried two generations of code side by side — the chatbot service alone kept both, call by call — so it is being rewritten from scratch and ported module by module against the live APIs. My TexPro work started a year earlier at the other end of the same data: client-specific trade reports, built per subscriber.
The solution
The rebuild
Three of us are rebuilding the dashboard as a zoneless, signals-based Angular 21 app from Figma designs. Most of my share is Sustainability (Energy Statistics, GHG Emission, Brand Targets) and Supplier Network (Supplier List, analysis by brand and by geography), with a large part of Global Trade Data, Raw Material Prices and Tariff Duties, on a shared Highcharts and virtualised-table layer.
Moda AI
I led Moda AI's front end: a full-page assistant streaming NDJSON from the Copilot endpoints, with a conversation history rail and suggested questions, opened only where the reader's plan and modules allow it.
The MCP server
I also built TexPro's MCP server, now live for subscribers: one tool, ask_texpro, that Claude, ChatGPT and Microsoft Copilot Studio connect to as a connector, signed in with the subscriber's own TexPro account (OAuth with dynamic client registration) and limited to their plan. The server routes each question to one of five data modules.
Client reports
Before the rebuild, I wrote 16 of TexPro's client-specific reports in C# and EPPlus — Excel workbooks built from the trade data and emailed to each client with a PDF copy.
What changed
- Moda AI built to the approved Figma design: streaming answers, day-grouped history with rename and delete, and suggested questions over the modules it answers from
- The AI Insight panel's Ask Anything chip, disabled since the panel was built, now opens a per-document chat in a side drawer
- Sustainability and Supplier Network — six screens between them — are where most of my rebuild work went, with Global Trade Data, Raw Material Prices and Tariff Duties alongside
- An MCP server, live for subscribers, lets Claude, ChatGPT and Copilot Studio query the TexPro data each subscriber's plan includes, from inside the assistant they already use
- Earlier: 16 client-specific trade reports in C# and EPPlus, delivered to subscribers as Excel and PDF
Technical highlights
- One access check feeds both the launcher and the route guard, so a button can never open a page that then bounces the reader
- Access is granted by the server — the plan (full paid or F2F trial) plus a per-user module list from the startup lookup — replacing a hardcoded page list; checked against UAT
- Plans without Moda AI see the launcher disabled with their plan's own reason, rather than hidden, so the feature and the way to get it stay visible
- Landing and conversation are one component on purpose: the answer starts streaming before the server has minted the conversation id, and the URL is corrected underneath so the stream is never torn down
- Ask Anything threads on the response's real window id — the topic's own is a zero ObjectId — so the model keeps the context of the conversation
- The MCP server exposes one tool, not one per dataset, and routes each question itself: a small model picks one of five data modules, with a keyword matcher if that call fails
- The subscription is checked at sign-in, on every token refresh and when a token is resolved, so a cancelled plan loses access without anyone revoking it by hand
The engineering, written up
// Next step
Need something like this?
I take on a small number of projects each quarter. Let's talk if your idea fits.
// More day job work

News Desk
Human-in-the-Loop Story-Discovery Agent
An automated newsroom agent that reproduces an editorial team's morning routine — harvests ~65 primary and ~75 secondary curated source pages across 17 countries for textile/apparel news, scores and de-dupes the best stories with an LLM, confirms each against its primary source, then drafts publish-ready articles. Two-phase with a human in the loop, streamed live over SSE.
Python 3.11 · FastAPI · OpenAI · Gemini · Claude

AI Article Gen
Document-to-Publish Pipeline
Turns a raw Word document into a publish-ready article package — headline, key takeaways, table of contents, body, SEO metadata, FAQs — plus the DOCX, PDF and HTM artefacts the public site serves.
Python · FastAPI · OpenAI · Claude · Gemini

AI Search
Cited Answers Across Fibre2Fashion
The new Fibre2Fashion header search: one box that finds supplier and buyer listings, news, articles and trade fairs, and answers in plain words with numbered links to its sources. The prototype has been through three releases and an editorial review; the production site, and the search box in the header of every Fibre2Fashion site, are being built now.
ASP.NET MVC 5 · .NET 4.8 · Google Vertex AI Search · Gemini answers