
MCP服务器可以用悬停标签标注任何网页——无扩展,任何浏览器都能使用
概览
唯一能在每个网页元素上标注可见标签的工具。悬停任意元素,看到其名称。告诉你的AI助手“让侧边栏变宽”——它能准确知道你指的是哪个元素。没有截图,没有CSS选择器,没有误解。 极大地提升了 AI 驱动的 UI 设计和迭代。难点是:告诉 AI “把那个按钮移到搜索栏旁边”从来都没用,因为 AI 看不到你的页面。UI Annotator 解决了这个问题——将鼠标悬停在任何元素上,它的组件名称就会以标签形式出现。现在你说“把 SearchButton 移到导航栏下方”,Claude 就能立刻编辑正确的组件。不需要浏览器扩展,任何框架都能用。工作流程变成:打开页面→悬停,用实际组件名识别元素→描述变更→Claude 编辑→刷新再重复。这让令人沮丧的来回切换变成了一个流畅的设计循环。 在用AI编码助手审阅网页界面时,最难的不是代码的更改——而是。 “左边那个东西......第二排......
概述(AI 翻译)
英语 |廣東話
在任何浏览器中,都不使用扩展,弥合你所见与AI能引用的鸿沟。
唯一能在每个网页元素上标注可见标签的工具。悬停任意元素,看到其名称。告诉你的AI助手“让sidebar更宽”——它准确知道你指的是哪个元素。不截图,不使用CSS选择器,避免误解。
为什么重要
极大地提升了AI驱动的UI设计和迭代。难点在于:告诉AI“把那个按钮移到搜索栏旁边”从来都没用,因为AI看不到你的页面。UI Annotator解决了这个问题——只要将鼠标悬停在任何元素上,它的组件名称就会以标签的形式出现。现在你说“把[SearchButton移到NavBar]下面”,Claude就能立刻编辑正确的组件。不用浏览器扩展,任何框架都能用。工作流程变成了:打开页面→悬停,用真实组件名识别元素→描述变更,→Claude编辑→刷新再重复。这让令人沮丧的来回沟通变成了一个流畅的设计循环。
问题
用AI编程助手审视网页界面时,最难的不是代码更改——而是描述你想更改的元素。
“左边那个东西…
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
UI Annotator MCP
English | 廣東話
Bridge the gap between what you see and what AI can reference — in any browser, zero extensions.
The only tool that puts visible labels on every web element. Hover any element, see its name. Tell your AI assistant “make the sidebar wider” — it knows exactly which element you mean. No screenshots, no CSS selectors, no miscommunication.
Why It Matters
Dramatically improves AI-driven UI design and iteration. The pain: telling AI “move that button next to the search bar” never works because the AI can’t see your page. UI Annotator fixes this — hover over any element and its component name appears as a label. Now you say “move SearchButton below NavBar” and Claude edits the right component instantly. No browser extensions, works with any framework. The workflow becomes: open page → hover to identify elements → describe changes using real component names → Claude edits → refresh and repeat. Turns a frustrating back-and-forth into a fluid design loop.
The Problem
When reviewing a web UI with an AI coding assistant, the hardest part isn’t the code change — it’s describing which element you want changed.
“That thing on the left… the second row… no, the one with the icon…”
You don’t know what it’s called. The AI doesn’t know what you’re pointing at. You waste time on miscommunication instead of shipping.
The Solution
Open your page through the annotator proxy. Hover any element — instantly see its name, CSS selector, and dimensions. Now you both speak the same language.
# Start the MCP server
npx @mcpware/ui-annotator
# Open in ANY browser
http://localhost:7077/localhost:3847
That’s it. No browser extensions. No code changes. No setup. Works in Chrome, Firefox, Safari, Edge — any browser.
How It Works
Your app (localhost:3847)
│
▼
┌─────────────────────┐
│ UI Annotator Proxy │ ← Reverse proxy on port 7077
│ (MCP Server) │
└─────────────────────┘
│
▼
Proxied page with hover annotations injected
│
├──► User sees: hover overlay + tooltip with element names
└──► AI sees: structured element data via MCP tools
安装
npx @mcpware/ui-annotator