
ticktockbent/charlotte 是从 https://github.com/ticktockbent/charlotte. 导入的 MCP 服务器候选服务器
概览
ticktockbent/charlotte 是从 https://github.com/ticktockbent/charlotte. 导入的 MCP 服务器候选服务器
概述(AI 翻译)
网络,易读。
你的AI代理为了看Hacker News首页,烧掉了~5万字符的辅助功能树。Charlotte用364度完成了。
Charlotte是一个MCP服务器,为AI代理提供了结构化、高效的令牌访问网络。 Charlotte没有在每次通话中全部倾倒无障碍树,只回应了什么 客服需要:到达时简洁的页面摘要,针对特定元素的有针对性查询, 只有在明确要求时才提供完整细节。在内容密集的页面上,这种方向是 最大可比Playwright MCP的完整无障碍树快照小~140倍;在极小的页面上,两者大小大致相同。
为什么是夏洛特?
大多数浏览器MCP服务器会在每次通话中导出整个无障碍树——一个平坦的文本块,内容丰富页面上可能超过一百万字符。无论是否需要,代理都为此付费。
Charlotte将每页分解为打字的结构化表示——地标、标题、互动元素、表单、内容摘要——并允许代理以三种细节层级控制他们收到的金额。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Charlotte
The Web, Readable.
Your AI agent burns ~50,000 characters of accessibility tree just to look at the Hacker News front page. Charlotte does it in 364.
Charlotte is an MCP server that gives AI agents structured, token-efficient access to the web. Instead of dumping the full accessibility tree on every call, Charlotte returns only what the agent needs: a compact page summary on arrival, targeted queries for specific elements, and full detail only when explicitly requested. On content-heavy pages that orientation is up to ~140x smaller than a full accessibility-tree snapshot from Playwright MCP; on trivially small pages the two are roughly the same size.
Why Charlotte?
Most browser MCP servers dump the entire accessibility tree on every call — a flat text blob that can exceed a million characters on content-heavy pages. Agents pay for all of it whether they need it or not.
Charlotte decomposes each page into a typed, structured representation — landmarks, headings, interactive elements, forms, content summaries — and lets agents control how much they receive with three detail levels. When an agent navigates to a new page, it gets a compact orientation (364 characters for Hacker News) instead of the full element dump (~50,000 characters). When it needs specifics, it asks for them.
Benchmarks
Measured on Charlotte v0.8.0 against Playwright MCP v0.0.79, by characters returned per tool call on real websites (npx tsx benchmarks/run-benchmarks.ts --suite comparison), 2026-08-08. This section is a summary — the canonical benchmarks page (including per-task cost and release drift) is charlotte.mintlify.site/benchmarks; methodology, instruments, and raw results: benchmarks/.
Orientation cost (what an agent pays to “see” a page on arrival):
A Charlotte navigate returns a usable orientation by default — landmarks, headings, and interactive element counts grouped by page region. To get the equivalent with Playwright MCP, an agent calls browser_snapshot, which returns the full accessibility tree. (Playwright’s browser_navigate alone returns only a short confirmation, not the page content, so it isn’t a like-for-like comparison.)
| Site | Charlotte navigate |
Playwright browser_snapshot |
Smaller by |
|---|---|---|---|
| example.com | 415 | 465 | 1.1x |
| httpbin form | 619 | 1,847 | 3.0x |
| GitHub repo | 3,778 | 38,983 | 10x |
| Wikipedia (AI article) | 22,134 | 1,137,928 | 51x |
| Hacker News | 364 | 50,706 | 139x |
安装
npx @ticktockbent/charlotte配置
{
"mcpServers": {
"charlotte": {
"type": "stdio",
"command": "npx",
"args": ["@ticktockbent/charlotte"],
"env": {}
}
}
}