Renders web pages into structured, agent-readable representations using headless Chromium.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"charlotte": {
"env": {},
"args": [
"@ticktockbent/charlotte"
],
"type": "stdio",
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Your AI agent spends 60,000 tokens just to look at a web page. Charlotte does it in 336.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'tsc' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked tsc against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in browser
Browser automation with Puppeteer for web scraping and testing
Self-hosted URL- and file-to-Markdown service for humans and AI agents - web pages, documents, images, audio, YouTube. PWA + REST + MCP + Claude Code skill, Reddit-aware, refreshable share links.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
The Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.
MCP Security Weekly
Get CVE alerts and security updates for io.github.TickTockBent/charlotte and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
The Web, Readable.
Your AI agent burns ~60,000 characters of accessibility tree just to look at the Hacker News front page. Charlotte does it in 337.
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 ~180x smaller than a full accessibility-tree snapshot from Playwright MCP; on trivially small pages the two are roughly the same size.
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 (337 characters for Hacker News) instead of the full element dump (~60,000 characters). When it needs specifics, it asks for them.
Measured on Charlotte v0.7.0 against Playwright MCP v0.0.75, by characters returned per tool call on real websites (npx tsx benchmarks/run-benchmarks.ts --suite comparison). Raw results: benchmarks/results/raw/v0.7.0/.
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 | 388 | 465 | 1.2x |
| httpbin form | 592 | 1,925 | 3.3x |
| GitHub repo | 3,559 | 81,835 | 23x |
| Wikipedia (AI article) | 8,571 | 1,049,228 | 122x |
| Hacker News | 337 | 59,996 | 178x |
The advantage scales with page complexity: on content-heavy pages the structured orientation is 23–178x smaller than the full snapshot, while on a trivially small page like example.com the two are within ~20% of each other (and on a page that small, the structured representation can be the larger of the two — there is simply nothing to summarize away). Charlotte's value shows up precisely where Playwright's flat dump hurts most. When an agent needs more than the orientation, it calls observe or find for exactly the part it wants instead of paying for the whole tree up front.
Tool definition overhead (invisible cost per API call):
| Profile | Tools | Def. tokens/call | Savings vs full |
|---|---|---|---|
| full | 43 | 9,297 | — |
| browse (default) | 23 | 4,785 | ~49% |
| core | 7 | 2,323 | ~75% |
Tool definitions are sent on every API round-trip. With the default browse profile, Charlotte carries ~49% less definition overhead than loading all 43 tools; the minimal core profile cuts it by ~75%. See the profile benchmark report for full results.
The workflow difference: A Playwright agent that reads the full snapshot receives ~60,000 characters every time it looks at Hacker News, whether it's reading headlines or hunting for a login button. A Charlotte agent gets 337 characters on arrival, calls find({ type: "link", text: "login" }) to get exactly what it needs, and never pays for the rest.
Charlotte maintains