ReftrixMCP logo

ReftrixMCP

by TKMD

Analyzes websites for layout, motion, quality, accessibility, and reusable design patterns through MCP tools.

Install ReftrixMCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for TKMD/ReftrixMCP, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

TKMD/ReftrixMCP MCP server analyzes live web pages and stores structured design patterns for later retrieval. It uses Playwright for browser capture, PostgreSQL with pgvector HNSW for hybrid semantic search, DINOv2 for visual embeddings, and Ollama's llama3.2-vision model for vision-assisted analysis. Its MCP tools cover layout, motion, quality, responsive behavior, UI parts, preferences, code generation, and cross-service search. Reach for it when an agent needs to inspect existing websites, compare reusable design patterns, or generate frontend markup from analyzed sections.

Use cases

  • Analyze a website's sections, typography, and grid structure
  • Search for reusable layout and motion patterns
  • Compare visually similar UI components across sites
  • Generate React, Vue, or HTML from analyzed sections
  • Profile design preferences and rerank search results

Key features

  • Layout and responsive page analysis
  • CSS and JavaScript motion detection
  • Three-axis design quality scoring
  • Semantic and image similarity search
  • DINOv2 visual embeddings for UI parts
  • React, Vue, and HTML code generation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

13/14 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit8d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How ReftrixMCP works

What TKMD/ReftrixMCP MCP server does

TKMD/ReftrixMCP MCP server turns web pages into structured design knowledge that an MCP client can query. It analyzes page sections such as heroes, feature areas, and calls to action, then extracts layout, grid, and typography information. The system also examines CSS and JavaScript motion, captures animation frames, evaluates design quality, and identifies responsive behavior.

The resulting data can be searched by meaning or visual similarity. Search covers layout, motion, narrative, background, responsive, and UI-part patterns. A unified search combines several pattern types, while image search uses DINOv2 embeddings to find visually similar designs. Preference profiles can use feedback sessions to rerank results for a user.

How it works

Playwright loads and captures target pages. Large sections can be divided into tiles, and blank-image checks can trigger additional captures for lazy-loaded or otherwise unrendered content. Vision-assisted analysis uses Ollama with the llama3.2-vision model.

Layout results can be post-processed by merging or splitting sections according to their type, heading, and height. The server can convert analyzed sections into React, Vue, or plain HTML and match available motion patterns. Page analysis jobs are handled asynchronously, with workers automatically forked when the MCP server starts. Redis supports job handling, rate limiting, and related runtime services.

Setup and configuration

TKMD/ReftrixMCP MCP server requires Node.js 20 or newer, pnpm 10 or newer, Docker with Docker Compose, Playwright's Chromium browser, and Ollama. The standard setup starts PostgreSQL 18 with pgvector and Redis, runs database migrations and seed data, builds the project, installs Chromium, and downloads the DINOv2 model. The multilingual embedding cache can also be checked with the supplied package command.

Ollama must be installed, started, and loaded with llama3.2-vision. Configure DATABASE_URL and REDIS_URL for the database and Redis services. OLLAMA_BASE_URL is read by the MCP server, while OLLAMA_HOST is read by the worker; keep them aligned when Ollama uses a non-default address. The MCP client launches the compiled Node entry point. The README provides a Claude Desktop configuration using the node command and the built server path.

Tools and capabilities

The documented MCP surface contains 40 tools across layout, motion, quality, page, narrative, background, responsive, preference, part, style, brief, system, search, design, data, audit, embedding, accessibility, performance, and report areas. Supported operations include:

  • Extracting sections, grids, typography, and UI parts.
  • Detecting animations and measuring layout-shift behavior.
  • Scoring originality, craftsmanship, and contextuality.
  • Searching design knowledge semantically, across services, or by image.
  • Profiling preferences and reranking results from feedback.
  • Generating React, Vue, or HTML from analyzed sections.

Limitations and notes

The server depends on several local services and models rather than being a standalone executable. Analysis quality and available capabilities depend on Playwright rendering, the Ollama vision model, embedding models, PostgreSQL, and Redis being configured correctly. GPU acceleration is optional; the setup uses a CPU fallback by default. The repository is licensed under AGPL-3.0-only. A BullMQ dashboard is available for monitoring asynchronous page-analysis jobs on port 21080.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about ReftrixMCP

Install Node.js 20+, pnpm 10+, Docker, Docker Compose, and Ollama; clone the repository, install dependencies, start PostgreSQL and Redis, run migrations, build the project, install Playwright Chromium, download DINOv2, and load the llama3.2-vision Ollama model.

Yes. The README provides a Claude Desktop configuration that launches the compiled MCP server with Node and environment settings for the database, Redis, and Ollama.

It can analyze sections, grids, typography, UI parts, CSS and JavaScript motion, responsive behavior, accessibility, performance, and design quality.

Yes. It uses DINOv2 visual embeddings to search for visually similar designs and UI parts, including input from Base64 or URL images.

Yes. The setup requires Ollama and the llama3.2-vision model for vision-assisted layout, motion, and narrative analysis.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewReftrixMCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tkmd-reftrixmcp?style=directory)](https://allmcps.com/mcp/tkmd-reftrixmcp)
HTML Embed
<a href="https://allmcps.com/mcp/tkmd-reftrixmcp"><img src="https://allmcps.com/api/badge/tkmd-reftrixmcp?style=directory" alt="ReftrixMCP on AllMCPs" /></a>