MCP server: let Claude Code and Cursor inspect your live pages

css-tracker-mcp is a local MCP (Model Context Protocol) server that connects AI agents such as Claude Code, Cursor and Claude Desktop to the CSS Tracker extension. The agent can then fetch the design spec, animations or element styles of a tab you have open in Chrome, on demand.

Claude Code (coming soon)
claude mcp add css-tracker -- npx -y css-tracker-mcp

npm package coming soon — until then run it from source (node mcp-server/index.js). Setup guide

What can my AI agent do with it?

The server exposes a small set of tools that the agent calls when it needs design information.

  • get_page_design — the design spec of a tab as Markdown, JSON, Tailwind, shadcn, W3C tokens or CSS variables
  • get_page_motion — the animations and transitions on the page
  • get_page_responsive — breakpoints and what changes per device, as Markdown, JSON, CSS or Tailwind
  • inspect_element — the computed styles of a specific element
  • list_open_tabs — which tabs are available
  • get_saved_favorites — the sites you saved in CSS Tracker
  • bridge_status — connection status and pairing help

Is the connection secure?

The server listens on localhost only. The extension and the server pair with a token and prove they know it through an HMAC handshake, so the token itself is never sent over the connection. Page analysis still happens inside your browser.

Which plans include the AI bridge?

The AI bridge and MCP tools are part of the Premium and Enterprise plans.

How do I use MCP server for AI agents?

  1. 1

    Add the server

    Once the npm package is published, run the command above in Claude Code, or add an MCP server that runs "npx -y css-tracker-mcp" in Cursor or Claude Desktop. Until then, run it from source with "node mcp-server/index.js" (see the Learn lesson).

  2. 2

    Pair the extension

    Get your pairing token with "node mcp-server/index.js pair" (later: "npx -y css-tracker-mcp pair"), then open the extension settings → AI Bridge, enable it and paste the token.

  3. 3

    Ask your agent

    Open your web app in Chrome and ask: "Use css-tracker to audit the CSS tokens, contrast and responsive spacing of my open tab."

Why use it?

No context switching

Your agent pulls design data itself while you stay in your editor.

Always current

It reads the live tab, so the spec matches what you see right now.

Local by design

Localhost-only connection with a secure pairing handshake.

Frequently asked questions

Which AI tools are supported?

Any MCP client. It is documented for Claude Code, Cursor and Claude Desktop.

Do I need Node.js?

Yes. The server runs on Node.js. The npm package (npx -y css-tracker-mcp) is coming soon; until then run it from source with node mcp-server/index.js.

Does the agent see all my browsing?

No. It can only call the listed tools, and only while the extension is paired and the AI Bridge is enabled.

Where can I learn more?

Try MCP server for AI agents free

Install the extension, open any website and see it for yourself. Analysis runs locally in your browser.

Related features