Ray Group
← All products
v0.3 · 11 tools · free tier + pro

Give agents the DeFi UX rubric, named patterns, bias glossary, critique personas, and audit tools

An MCP server that gives AI agents the Ray Group DeFi UX rubric, patterns, glossary, personas, visual references, flow graphs, and Pro audit worksheets. Install once — Claude Desktop, Cursor, Codex, Claude Design.

What the server exposes

Eleven tools. Call them from any MCP client.

Browse by category. Free tools work with no API key; Pro tools unlock with RAYGROUP_API_KEY.

  • search_defi_uxFree

    Free-text search across the entire corpus - rubric areas, named patterns, and the glossary - ranked by relevance.

    Corpus

  • list_categoriesFree

    Returns the full top-level structure of the corpus - every rubric area, every pattern slug, every glossary entry slug.

    Corpus

  • get_rubricFree

    Returns the eight-area DeFi UX rubric with criteria and evidence prompts. Optionally filter to a single area.

    Rubric

  • get_patternFree

    Returns named DeFi UX patterns. Filter by slug, by category (onboarding, transaction, risk, wallet, trading, error, novice-expert), or by rubric area.

    Patterns

  • get_glossary_entryFree

    Returns a cognitive-bias / heuristic / principle entry with its DeFi-specific manifestation and the design levers that mitigate it.

    Glossary

  • get_personaFree

    Critique personas with stress questions and failure modes - novice trader, compliance officer, mobile-only user, and more.

    Personas

  • get_case_studyPro

    Pro. Named-protocol case studies with scored findings and remediations you can cite in reviews.

    Flows & refs

  • get_referencePro

    Pro. Visual reference boards agents can cite while critiquing a screen - confirm, onboarding, leverage, approvals.

    Flows & refs

  • get_flowPro

    Pro. Happy / unhappy / edge path graphs for full-flow critique before redesign.

    Flows & refs

  • audit_screenshotPro

    Pro. Rubric-aligned scoring worksheet from a screenshot plus observed elements - consistent instrument every run.

    Audits

  • audit_protocolPro

    Pro. Multi-page protocol audit plan: surface map, priority order, and worksheet hooks per page.

    Audits

What it is

An MCP server that exposes the Ray Group DeFi UX rubric, named patterns, cognitive-bias glossary, critique personas, visual references, flow graphs, and Pro audit tools (audit_screenshot, audit_protocol) as callable tools for any MCP client.

How it works

Clone the repo, run npm install and npm run build, and add a four-line entry to your AI client's MCP config (Claude Desktop, Cursor, Codex, Claude Design). Free tier: full 8-area rubric, 10 patterns, 5 glossary entries, 2 personas — MIT, no API key. Pro ($29/mo): 50+ patterns, 30+ glossary, case studies, reference boards, flow graphs, audit_screenshot, audit_protocol.

Why it's worth it

A tool call returns the exact rubric criteria, named pattern, persona stress questions, or audit worksheet Ray Group actually uses - not a paraphrase from training data. Score screens and full flows the same way every time, then stress-test with personas before team review.

Why an MCP server

Frameworks that are useful at the moment of decision.

Most UX frameworks live in PDFs and blog posts - you read them once, then forget them at the moment you actually need them. An MCP server flips that round. The Ray Group DeFi UX framework becomes something your AI assistant calls directly, every time you ask it to review a screen, a flow, or a transaction. The rubric is one tool call away. The named patterns are searchable. The cognitive biases are looked up by the model and applied to your specific context, not yours to remember.

See it in action

One prompt. A scored audit and a fix.

Here's a real run inside an MCP-connected AI client. The user pastes a screenshot of a BTC/USD perps DEX and asks for an audit. The model calls the Ray Group tools directly, scores the interface against the rubric, then applies the anchoring glossary entry to propose a concrete redesign.

Claude · raygroup-defi-ux · List the categories1 / 4
Claude calling list_categories on raygroup-defi-ux: a table of 8 rubric areas with weights, and pattern categories grouped by type.

Step 1. list_categories returns the full corpus structure - 8 weighted rubric areas, 10 named patterns grouped by category, and the glossary index.

Example audit · transcript

A BTC/USD perps DEX, scored.

The same scored output you saw in the carousel - rendered here as text so it's readable, searchable, and accessible to assistive tech and answer engines.

3.7/10

Weighted · 7 scored areas

  • Cognitive bias resistance

    partial4/10wt 1.5×

    Leverage preset buttons (1× · 10× · 25× · 50× · 75× · 100×) anchor expectations toward high leverage - 10× is the highlighted default, normalising outsized risk. The trades feed shows only percentage losses in red, with no equivalent green weight and no source for the default.

  • Risk disclosure clarity

    fail3/10wt 1.4×

    “Exposure exceeds limit” is the only visible warning - shown in a muted, disabled-button style with no explanation of what the limit is or what happens if it's breached. Collateral fields read “None” without explanation.

  • Transaction confirmation UX

    partial5/10wt 1.3×

    Take-profit and liquidation levels are shown in the open-position row - useful. But there is no pre-signing summary and no calldata-translation layer before the wallet prompt.

  • Fee and slippage transparency

    partial5/10wt 1.2×

    Open and close fees are visible. Slippage tolerance shows “1%” with a link - but no minimum-received amount or absolute output range alongside it, and no MEV disclosure. Fees shown as percentages only.

  • Error and failure states

    partial4/10wt 1.2×

    “Exposure exceeds limit” disables the submit button without explaining why, what the limit is, or how to fix it - a known anti-pattern. No recovery affordance is shown.

  • Onboarding and first-tx conversion

    n/a-wt 1.4×

    Not assessable from this screenshot - the user is already connected with an active position.

  • Novice vs. expert pathway split

    fail3/10wt 1.0×

    No novice or simplified view. A keyboard-shortcut hint is good for experts, but advanced fields are shown with placeholder values and no progressive disclosure for new users.

  • Mobile UX

    fail2/10wt 1.1×

    A dense desktop layout - a multi-column fee table, full chart, trades sidebar, and floating order panel. At 360px this would collapse catastrophically; no responsive breakpoints are evident.

Anchoring, applied

Why the “1% slippage” field fails the user.

  • 1. The 1% default is an unexplained anchor. The user reads it as the protocol's recommendation of what's normal, with no reference for whether 1% is aggressive or conservative for this pair. The glossary's design lever: show the source of the default.
  • 2. No output range is shown alongside it. The rubric asks for an expected vs. minimum-received amount, not a bare percentage. 1% sounds small; in absolute terms on a leveraged position it isn't.
  • 3. The alternatives are hidden behind a link. Surface the alternatives at decision time, not behind a settings menu the user never opens.

The bias-resistant control it proposes

Slippage tolerance

How much price movement you accept between order placement and fill. Lower = safer, but higher chance of a rejected fill.

0.3%

Conservative

0.5%

Recommended

1.0%

Aggressive

Expected fill~$60,981
Minimum guaranteed≥ $60,676
Max slippage cost≤ 5.00 USDC

Recommended for BTC/USD - covers 95% of fills without excessive price impact.

Illustrative run. Scores and findings are generated by the AI client from the rubric the MCP server returns - not pre-written.

The corpus

An opinionated v1, free forever.

The free tier ships with the full rubric and a deliberate first cut of patterns and glossary entries. The premium tier extends each section significantly, but the free tier is genuinely useful from day one - and it stays free.

8 rubric areas

Cognitive bias resistance, risk disclosure, transaction confirmation, fee and slippage transparency, error and failure states, onboarding and first-tx, novice vs. expert split, and mobile UX. Each with criteria, evidence prompts, and common anti-patterns.

10 named patterns

Pre-signing calldata translation, slippage tier with output range, wallet connect with fund-with-fiat fallback, transaction replacement tracking, risk banner severity tiers, embedded-wallet self-custody disclosure, scoped token approval, first-tx progress indicator, network mismatch recovery, and expert keyboard shortcuts.

5 cognitive-bias entries

Anchoring, loss aversion, action bias, framing effect, and choice overload - each with the bias's general definition, its specific manifestation in DeFi, and the design levers that mitigate it.

Install

Two to three minutes, any MCP-compatible client.

Clone, build, and add four lines to your AI client's config. That's it. The server runs locally over stdio - no account, no API key, no network round-trip per call.

Enter your email to get the install steps

We'd like to know who's trying DeFi UX MCP. Your email unlocks the instructions below - we won't add you to a newsletter.

We'll only use this to follow up about DeFi UX MCP if something breaks. No spam, no sharing your address.

Frequently asked

About the MCP.

What is an MCP server, and why would I install this?
MCP (Model Context Protocol) is the open standard that lets AI clients like Claude Desktop, Cursor, and Codex call external tools. Installing this server gives every prompt in those clients direct, structured access to the Ray Group DeFi UX framework - so when you ask 'review this trading screen', the model can look up the actual rubric, the relevant named patterns, and the underlying cognitive biases, instead of generating advice from training data.
What's in the free tier vs. the premium tier?
Free tier: the full 8-area rubric, 10 named patterns, 5 glossary entries, and 2 critique personas - MIT-licensed, no API key. Pro (available now, $29/mo): 50+ named-protocol patterns, 30+ glossary entries, case studies, visual reference boards, flow graphs, audit_screenshot, audit_protocol, and API-key unlock for the hosted corpus.
How long does it take to install?
Two to three minutes. Clone the repo, run npm install and npm run build, and add a four-line entry to your AI client's MCP config. Detailed instructions per client are in the README.
Where does the framework come from?
The rubric is the same one Ray Group uses on every DeFi UX audit and the framework taught in our talks at EthCC, ETH Prague, and ETH Milan. The named patterns reflect recurring UX decisions we see across DeFi products. The cognitive-bias entries come from foundational behavioural-economics research adapted to the specific patterns we see on-chain.
Is it open source?
Yes - the free-tier MCP server is MIT-licensed. The full repo will be public on GitHub. The corpus content is also part of the repo, so any improvements the community contributes flow back into the public version.
Will this work with [my AI client]?
It works with any client that supports the Model Context Protocol over stdio - at the time of writing, that's Claude Desktop, Cursor, Codex CLI, Cline, Continue, and a growing list of others. Configuration is the same shape across clients (a small JSON block pointing at the binary).
Is Pro available now?
Yes. Buy Pro at the pricing page, set RAYGROUP_API_KEY in your MCP client, and unlock case studies, references, flows, and the audit tools immediately. The free tier stays free forever.

Pro tier

Free to install. Pro when you ship with it.

Everything in Free, plus the extended corpus, hosted transport, and priority support for teams shipping DeFi UX.

Free

$0forever

8 rubric areas · 10 named patterns · 5 cognitive-bias entries

Install in 2 minutes

Pro

$29/ seat / month

50+ named patterns · 30+ glossary entries

See pricing →

Per seat · billed via Stripe