Motionspec logo

Motionspec

by MasterPlayspots

Validates and compiles reduced-motion-safe web animation specs, and audits CSS motion for WCAG accessibility findings.

Install Motionspec

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "masterplayspots-motionspec": {
      "command": "npx",
      "args": [
        "-y",
        "motionspec"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

MasterPlayspots/motionspec gives coding agents a catalog, validator, deterministic compiler, and static audit for web animation accessibility. Agents select approved motion primitives, write a MotionSpec, validate it, and compile vanilla GSAP JavaScript plus CSS with reduced-motion handling and performance reporting. Its audit fetches a public URL’s HTML and linked stylesheets to find CSS motion that lacks reduced-motion guards or pause paths. Use the local stdio server without an API key, or the hosted streamable-HTTP endpoint for keyless catalog, validation, compilation, and audit operations.

Use cases

  • Author validated web animation specifications from approved primitives
  • Compile reduced-motion-safe GSAP and CSS output
  • Audit a public page for missing reduced-motion guards
  • Check continuous animations for accessible pause paths
  • Compare motion-audit findings against a CI baseline

Key features

  • Catalog of verified motion primitives
  • Fail-closed schema and injection validation
  • Deterministic vanilla-GSAP and CSS compilation
  • Enforced prefers-reduced-motion fallbacks
  • Static CSS motion accessibility auditing
  • Performance-budget and audit reports

Tools5

What Motionspec lets your agent do. Expand a tool for its parameters.

Verified live~782 tokens of context

Security & health

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

ActiveLast checked 3d ago

Recent health check succeeded.

20/23 checks healthy over the last 88d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · motionspec (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads1.4kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed5Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Motionspec works

What MasterPlayspots/motionspec does

MasterPlayspots/motionspec supports an authoring workflow for accessible web animation. The catalog describes verified motion primitives, their purposes, parameter schemas, defaults, and the rules required for a valid MotionSpec. A model or developer writes the JSON specification; the server then checks it against the approved catalog and compiles it without asking a model to generate the final animation code.

Compilation produces vanilla-GSAP JavaScript and CSS. The generated output includes enforced prefers-reduced-motion handling and a performance-budget report. Continuous-loop primitives also receive pause controls by construction. The compiler rejects unapproved primitives, invalid parameters, unsafe selectors or strings, and other failed trust-boundary checks rather than attempting to repair them silently.

The audit side examines motion already present on a web page. It retrieves the page HTML and linked stylesheets, then checks CSS for motion without an effective reduced-motion guard, animated properties beyond transform and opacity, endless animations without a pause path, and obsolete <marquee> or autoplay content lasting more than five seconds. Findings support review of WCAG 2.2.2 and WCAG 2.3.3 concerns, but a clean scan is not a complete accessibility assessment.

How it works

Call motion_catalog first when authoring a spec. Pass the resulting design to motion_validate, which returns an explicit success state along with errors, warnings, deprecations, and the catalog version. Warnings can contain reduced-motion or WCAG findings even when validation succeeds, so ok: true does not by itself mean the animation is accessible.

motion_compile validates again and deterministically emits the JavaScript, CSS, and report. Identical specifications produce identical output. motion_audit uses the same checking and scoring engine as the public motion check; pages with no measurable CSS motion receive a not-measurable status and no score. Runtime animation implemented with WAAPI, GSAP, WebGL, or other JavaScript execution is outside this static audit. Loading indicators are classified for review rather than automatically treated as violations.

Setup and configuration

Run the local MCP server with Node.js and npx:

Terminal
npx -y motionspec

The local stdio process exposes all five tools and requires no API key. The package can also be installed globally for the CLI workflow:

Terminal
npm install -g motionspec
motion compile spec.json

The hosted MCP endpoint is available at https://api.motionspec.dev/mcp over streamable HTTP. Its keyless tools are motion_catalog, motion_validate, motion_compile, and motion_audit. motion_stats is restricted to the hosted service operator. The hosted audit performs network requests and applies a public-URL policy that excludes private and loopback targets.

Tools and capabilities

  • motion_catalog: Lists verified primitives and MotionSpec authoring rules.
  • motion_validate: Performs schema, allow-list, bounds, and injection checks.
  • motion_compile: Emits deterministic GSAP JavaScript, CSS, and a budget report.
  • motion_audit: Scans fetched HTML and linked CSS for motion-accessibility candidates.
  • motion_stats: Reports routing and compilation telemetry for operator use.

The repository also includes a Claude Code plugin with motion-authoring and URL-audit skills. CI users can compare audit findings with an explicitly accepted baseline to detect regressions.

Reviews

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

Frequently Asked Questions about Motionspec

MasterPlayspots/motionspec is an MCP server that connects AI coding agents to a verified web-animation catalog and accessibility checks. Its main tools are motion_catalog, motion_validate, motion_compile, motion_audit, and motion_stats, covering spec authoring, fail-closed validation, deterministic GSAP/CSS generation, CSS motion auditing, and telemetry.

Run `npx -y motionspec` to start the local stdio server without an installation or API key. You can also install the CLI globally with `npm install -g motionspec`. The hosted streamable-HTTP endpoint is available at `https://api.motionspec.dev/mcp`.

Yes, `motion_compile` validates a MotionSpec and emits deterministic vanilla-GSAP JavaScript and CSS. The result includes reduced-motion handling and a performance-budget report. The hosted endpoint provides this tool without a key; the local server exposes it as well.

Yes, `motion_audit` fetches a public URL’s HTML and linked stylesheets and checks CSS motion for missing reduced-motion guards, missing pause paths, certain animated properties, and long-running or marquee content. Runtime JavaScript animation, WebGL, and other non-CSS motion are outside its audit.

Yes, Claude Code can start it with `claude mcp add motionspec -- npx motionspec`. The repository also includes a Claude Code plugin with motion-authoring and URL-audit skills, while the local MCP server exposes all five tools.

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 PreviewMotionspec AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/masterplayspots-motionspec?style=directory)](https://allmcps.com/mcp/masterplayspots-motionspec)
HTML Embed
<a href="https://allmcps.com/mcp/masterplayspots-motionspec"><img src="https://allmcps.com/api/badge/masterplayspots-motionspec?style=directory" alt="Motionspec on AllMCPs" /></a>