Colibri
Summary: Colibri is a local MCP browser server for AI agents: it opens and reads web pages as compact rows, performs multi-step browser actions, fills forms, searches the web, and takes screenshots with built-in safety gates.
Open URLs in Chrome/Edge, optionally returning only headers/counts, filtering rows, or using the site’s own search box.
Search the web through DuckDuckGo, with optional site restriction and result limits, returning real links and snippets without ads.
Inspect the current page’s actionable rows, filter them, include header/nav/footer, find unlabeled click areas, and page through results.
Run up to 40 browser steps in one call: click, fill, type, select, check, press keys, hover, scroll, wait, navigate, manage tabs, upload files, handle dialogs, and read content; returns only the diff by default.
Read without acting: main text, tables, result cards, specific fields, text search, element descriptions, and PDFs; can also read another page in a background tab with caching.
Fill guided forms using a local engine that maps human labels/params to fields, handles selects/checkboxes/autocomplete/dates, verifies results, submits/expects/extracts/reads, and asks questions when uncertain.
Run local JavaScript scripts in a sandbox after browser steps, using a
colibriAPI for open/search/view/read/do/task/stats and local data processing.Take small JPEG screenshots of the window, an element, or a region, optionally drawing reference labels.
Report session token usage versus screenshots.
Enforce safety: side-effect actions require confirmation, secrets like passwords/cards/OTP cannot be typed by the AI, allowed-domain restrictions apply, and CAPTCHAs/logins are left to the human.
Provides web search through DuckDuckGo, returning result rows with title, URL, and snippet, without ads.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Colibri go to news.ycombinator.com and summarize the top 5 stories"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
One line, any agent — no account, no API key, no build:
claude mcp add colibri -- npx -y github:t4zxxx1/colibri-mcp # or: codex / copilot mcp add …Why · Install · VS Code · vs Jev · Benchmarks · How it works · Tools · Safety · Config · FAQ
English · Italiano
Why Colibri
A hummingbird weighs about 3 grams, beats its wings around 50 times a second and hovers with millimetric precision. That is the idea: the lightest possible browser for an AI agent, fast and exact.
AI agents browse the web in the most expensive way possible: a screenshot costs ~1,366 tokens, an accessibility-tree dump 4,400–7,700 tokens per page, and every extra tool call makes the model re-read the whole conversation.
Colibri turns each page into a few hundred tokens of plain rows — fields, values, state, risk flags — runs many steps in one call, answers with only what changed, and fills forms with a local Jev-style engine that needs no API key and costs zero tokens.
⚡ 27,760 tokens for a 22-field, two-page application — vs 318,910 with Playwright MCP and 2.48 M with screenshots
🧠 Jev-style typed decisions, locally — and ahead of Jev 1.14 on form filling:
Jev 1.14 (public System One Bench, 2,450 choice questions)
Colibri v0.4 (419 form-matching cases)
Accuracy
75.7%
98.6% · 87.9% on a form never seen before
Confidence AUROC
0.81
0.95
Latency p50
136 ms
1.7 ms
Cost
$0.028 / 1,000 calls + API key
$0, no key
The two datasets are different, so take this as an order of magnitude: Jev handles any domain, Colibri does one job (data → form field). Method and caveats are in Better than Jev.
🔌 One line in any agent: Claude Code, OpenAI Codex, GitHub Copilot (CLI & VS Code), Gemini CLI, Cursor, Claude Desktop, Windsurf… — see how
🛡️ Safe by default: submit/pay/delete need your OK (
!c), passwords/cards/OTP are never typed by the AI (!x)🏠 100% local: your Chrome profile, your logins, nothing goes through third-party servers
Related MCP server: Charlotte
Install in one line
You only need Node.js ≥ 18 and Chrome or Edge. No account, no API key, no build step: npx fetches Colibri from GitHub and runs it on your machine.
Your agent | Install |
Claude Code |
|
OpenAI Codex (CLI + IDE extension) |
|
GitHub Copilot CLI |
|
GitHub Copilot in VS Code | one click · or |
Gemini CLI |
|
Claude Desktop | download colibri.mcpb → double-click |
Cursor | |
Cline (VS Code) | paste the JSON in MCP Servers → Configure — step by step |
Windsurf · Roo · any other client | paste the 3-line JSON |
Then just ask — "Open the supplier portal and fill in the application with these details: …" or "Use Colibri to read the editions of project PF-2026-115". Chrome opens on the first call; you log in once, it remembers.
VS Code — step by step
Colibri works in VS Code with GitHub Copilot (Agent mode) and with Cline. They keep separate MCP lists, so set it up for the one you use.
GitHub Copilot
Pick one of these:
One click — Install in VS Code → VS Code opens → Install.
Terminal — adds Colibri to your user profile, for every project:
# macOS / Linux code --add-mcp '{"name":"colibri","command":"npx","args":["-y","github:t4zxxx1/colibri-mcp"]}'# Windows PowerShell code --add-mcp '{\"name\":\"colibri\",\"command\":\"npx\",\"args\":[\"-y\",\"github:t4zxxx1/colibri-mcp\"]}':: Windows cmd code --add-mcp "{\"name\":\"colibri\",\"command\":\"npx\",\"args\":[\"-y\",\"github:t4zxxx1/colibri-mcp\"]}"Using VS Code Insiders? Replace
codewithcode-insiders.Command Palette —
Ctrl+Shift+P(⌘⇧Pon Mac) → MCP: Add Server → Command (stdio) → pastenpx -y github:t4zxxx1/colibri-mcp→ name itcolibri→ Global.Only for one project — create
.vscode/mcp.jsonin the project folder:{ "servers": { "colibri": { "type": "stdio", "command": "npx", "args": ["-y", "github:t4zxxx1/colibri-mcp"] } } }
Then open Copilot Chat, switch to Agent mode, click the 🔧 tools icon and make sure colibri (8 tools) is ticked. The first time, VS Code asks you to trust the server: say yes.
Cline
Open the Cline panel → click the MCP Servers icon → Installed tab → Configure MCP Servers.
cline_mcp_settings.jsonopens: paste this (or add just the"colibri"block next to your other servers) and save:{ "mcpServers": { "colibri": { "command": "npx", "args": ["-y", "github:t4zxxx1/colibri-mcp"] } } }Colibri appears in the list with a green dot and its 8 tools. Ask Cline: "Use Colibri to open example.com".
Windows: if VS Code or Cline says
npxis not found, use"command": "cmd"and"args": ["/c", "npx", "-y", "github:t4zxxx1/colibri-mcp"].
Manual configuration
~/.cursor/mcp.json, ~/.codeium/windsurf/mcp_config.json, ~/.gemini/settings.json, claude_desktop_config.json…
{
"mcpServers": {
"colibri": {
"command": "npx",
"args": ["-y", "github:t4zxxx1/colibri-mcp"],
"env": { "CB_ALLOWED_DOMAINS": "" }
}
}
}[mcp_servers.colibri]
command = "npx"
args = ["-y", "github:t4zxxx1/colibri-mcp"]git clone https://github.com/t4zxxx1/colibri-mcp
cd colibri-mcp && npm ci --omit=dev
# then point your client to: node /path/to/colibri-mcp/extension/server/index.jsWindows tip: if your client can't find
npx, use"command": "cmd", "args": ["/c", "npx", "-y", "github:t4zxxx1/colibri-mcp"].
Better than Jev — with real numbers
Jev popularised the "System One" idea: answer typed questions with a calibrated confidence and act only above a threshold. It is excellent — and it is a paid cloud model with its own tokens and API key.
Colibri ships the same idea as a local engine inside the MCP server, specialised for the one decision a browsing agent makes all the time: which form field does this piece of data go into? Your existing Claude/Copilot subscription is all you pay.
Jev 1.14 (System One Bench) | Colibri local engine v0.4 | |
Choice accuracy | 75.7% | 98.6% (419 cases) · 87.9% on the independent Test 5 |
Calibration error (ECE) | 8.4% (choice) · 6.0% overall | 5.9% · 4.6% on Test 5 |
Confidence AUROC | 0.81 | 0.95 |
Latency | 136 ms p50 · 175 ms p95 | 1.7 ms p50 · 8.3 ms p95 (≈80× faster) |
Cost | $0.028 per 1,000 calls + API key | $0, no key, no network |
Wrong autonomous actions | — | 0 (100% precision when it acts alone) |
Scope | any domain (trained model) | web forms only (heuristics + vocabulary) |
Honest note. The datasets differ: Jev 1.14 was measured on 2,450 general choice questions, the local engine on 419 form-matching cases from test pages written by the author (the independent Test 5 was written after the engine changes and measured once). Jev is a generalist; this engine does one job and is tuned for it. Read it as an order of magnitude, not a leaderboard. Full method: docs/calibrazione.md.
Benchmarks
Same pages, same tasks, eight methods. Every method completed every task. "Total context" is the sum of tokens the model re-reads across all turns — what actually drives cost and latency.
Task | Screenshots | Playwright MCP | agent-browser MCP | Fast Playwright MCP | Colibri |
T1 22-field form, 2 pages | 2,480,688 · 154 s | 318,910 · 52 s | 1,373,730 · 108 s | 115,624 · 57 s | 27,760 · 19 s |
T2 list → detail table | 34,630 · 13 s | 73,333 · 15 s | 167,751 · 18 s | 37,480 · 12 s | 20,700 · 10 s |
T3 navigate a heavy home | 23,809 · 10 s | 69,739 · 15 s | 148,169 · 17 s | 36,480 · 12 s | 12,849 · 8 s |
Reading one form page | 1,366 (image) | 5,354 | 4,464 | 5,283 | 628 |
Tool definitions, every turn | — | 4,536 | — | — | 1,799 (code mode: 377) |
Full tables, assumptions and caveats (the test pages were built alongside this tool, so it plays at home): docs/benchmark.md.
How it works
Page → rows. A script inside the page keeps only what you can act on: fields, menus, buttons, links, checkboxes — with name, value, state (
req,inv,off) and a risk flag. Header, nav and footer are folded; repeated table rows are compressed.Many steps, one call.
browse_doruns up to 40 steps (fill, select, check, click, wait, read) and keeps going across page changes, because targets can be named.Diff only. After acting, the model gets verified writes, changed/new elements, form errors and new text (
»Application sent, protocol n. …) — not the whole page again.Guided tasks. With
browse_taskthe model doesn't even look at the form: it passes the user's own labels ("VAT": "01234567890","start date": "03/11/2026") and the local engine decides which field is which, with a calibrated probability. Above the threshold it acts; below, it asks.
What the model sees
http://127.0.0.1:8811/domanda1.html | Nuova domanda - passo 1 di 2
h1: Richiesta di contributo per piano formativo · scroll 0/1747
[fs "Dati dell'azienda"]
e28 text "Ragione sociale" req
e31 sel "Codice ATECO" ="Seleziona" opz:97 req
e33 sel "Provincia" ="Seleziona prima la regione" off req
e34 combo "Comune" req col
[fs "Dichiarazioni"]
e54 chk "Dichiaro di aver letto l'informativa privacy e accetto il t…" [ ] req !c
e56 btn "Salva bozza" !c
e57 btn "Avanti"
[nascosti 73 in hdr,search,nav,ftr: scope:"all" o filter]After 22 steps in one call, the entire answer is:
ok 22/22
---
16 campi impostati come richiesto · 5 altre variazioni
~ e31 "Codice ATECO" ="62 - Industrie alimentari (62)" req
~ e33 "Provincia" ="Napoli" req
~ e34 "Comune" ="Pozzuoli" req colTool descriptions are in terse English for the model; page output keeps the page's language. It works on any site, in any language — keywords for submit, consent, passwords, cards and cookie banners are recognised in English, Italian, French, Spanish, German and Portuguese.
Tools
Tool | What it does |
| Open a URL (auto-starts Chrome), reject non-essential cookies, return the rows. |
| Web search without Google CAPTCHAs: one row per result |
| Rows of the current page, with |
| Up to 40 steps in order; returns only the diff. Waits for the DOM and for requests started by each step to go quiet (no manual |
| Read without acting: |
| Jev-style guided task: params by human labels (same-name fields in different sections are told apart: |
| Small JPEG (~900 tokens) of the window, an element or a region — only when text is not enough |
| Tokens used this session vs screenshots |
Safety
!cside effects — submit, confirm, save, delete, pay, accept terms, upload: blocked until the user says OK, then repeated with"confirm": true. Buttons that only open a menu (aria-haspopup/aria-expanded) and quantity steppers ("remove passenger") are not blocked.!xsecrets — passwords, card numbers, CVV, OTP, IBAN: the AI can never type them, not even with confirmation. You type them in the window.Guided tasks act alone only above the confidence threshold; submit never fires with open questions, errors or empty required fields.
Allowed domains, no
file:///javascript:, page text treated as untrusted data (prompt-injection resistant), refs unique per session.
Local script sandbox
browse_do.script and browse_code (CB_CODE_MODE=1) run the agent's JavaScript in a node:vm context inside a separate worker thread with a memory cap and a hard timeout (60 s, at most 60 Colibri calls, result capped at ~6,000 tokens with --- TRUNCATED ---).
No
process,require,import(),fetch,fs,child_process, timers or hostglobalThis;eval/new Functionare disabled (codeGeneration: { strings: false, wasm: false }). The only API is thecolibriobject, built inside the sandbox and talking to the server with plain JSON strings.Every
colibri.*call goes through the same handlers and checks as the tools:!xfields stay blocked,!cactions stay blocked. Aconfirm:truewritten inside the script is dropped: it only counts when it is on the MCP call itself (browse_do {..., "confirm": true}/browse_code {..., "confirm": true}), i.e. after the user's OK.node:vmalone is not a security boundary (Node says so); here it is combined with the worker (killed on timeout) and with no host object reachable from the script.
Configuration
Env var | Default | |
| all | comma-separated allow-list |
|
| keep it on |
|
| invisible browser |
|
| logins and cookies live here |
|
| |
| auto | only if Chrome/Edge is not found |
|
| |
|
| seconds Colibri waits for you to solve a CAPTCHA / human check ( |
|
| tool profile: |
|
| remove |
|
| close promotional popups (newsletter, welcome discount) with their own Close/× button; never login, payment or multi-field windows |
|
| when headless and a check doesn't clear on its own, reopen Chrome visibly on the same page |
|
|
|
|
|
|
| auto | in |
|
| in |
|
| profile used by the real Chrome that Colibri starts |
| DuckDuckGo, then Bing | search page(s) for |
|
|
|
Limits
Charts, canvas and maps have no text: the agent falls back to the small screenshot (with refs drawn on it) and relative-coordinate clicks.
Local scripts (
script,browse_code) have no network, files or timers and stop after 60 s;CB_CODE_MODE=1has no screenshot tool.The
browse_taskengine is a calibrated vocabulary, not a trained model: with unknown jargon it asks more often (never acts wrongly). Answers are remembered per site.CAPTCHAs and logins are done by you, in the window: Colibri never bypasses them, it pauses and resumes on its own (see FAQ).
Tested on pages modelled on public-administration portals: please report sites that don't work in Issues.
FAQ
No. The Jev-style engine runs locally inside Colibri. You only use the agent you already have (Claude, Copilot, Codex, Gemini…).
Chrome or Edge, with a dedicated profile in ~/.colibri/profile: log in once and it remembers. To work in your own Chrome, in the tab you already have open (with all your logins), use CB_MODE=attach: see the next question.
Yes, with attach mode (Chrome 144+). No new window, no new tab, no new logins: Colibri works in the tab you are looking at.
In your Chrome open
chrome://inspect/#remote-debuggingand turn on "Allow remote debugging for this browser instance" (once; Chrome remembers it).Add
"env": { "CB_MODE": "attach" }to the Colibri entry in your agent's MCP config.On the first call Chrome asks you to allow the connection: click Allow.
Colibri finds the running Chrome by itself (the DevToolsActivePort file in the profile) and picks the focused/visible tab, falling back to the last one you used. If you switch tab, the step {"tab":"active"} follows you. It never closes your Chrome or your tabs; only tabs it opened itself are closed on exit. Check the setup with npx -y github:t4zxxx1/colibri-mcp --attach. Prefer a separate tab? Add "CB_TAB": "new".
github:t4zxxx1/colibri-mcp follows the latest main. To pin a release use github:t4zxxx1/colibri-mcp#v0.4.0. Claude Desktop users download the new .mcpb from Releases.
Yes: CB_HEADLESS=true. Logins and CAPTCHAs still need a visible window the first time.
Colibri recognises the check (Cloudflare "Just a moment" / Turnstile, reCAPTCHA, hCaptcha, DataDome, PerimeterX "press & hold", AWS WAF, Arkose, GeeTest, Friendly Captcha, image captchas) and does not try to cheat it. Instead it:
waits a few seconds: many checks (e.g. Cloudflare) clear by themselves;
otherwise shows a bar on top of the page — "🐦 Colibri is paused: complete the check below" — and brings the window to the front (if it was running headless it reopens Chrome visibly on the same page);
resumes automatically as soon as you solve it, and continues the remaining steps;
for a CAPTCHA inside a form it fills everything else, then waits for you before pressing Submit.
If you don't solve it within CB_HUMAN_WAIT seconds (default 50) the agent is told to ask you, and browse_view resumes waiting. Sites with very strict bot protection work best in real Chrome mode (next question).
By default Colibri starts Chrome through Playwright, which marks the browser as automated, so some sites loop on "verify you are human". Real Chrome mode makes Colibri drive a normal Chrome instead. No stealth tricks: it is simply a regular browser.
Add
"env": { "CB_MODE": "cdp" }to the Colibri entry in your agent's MCP config.That's it: on the first call Colibri starts a normal Chrome on port 9222 (profile in
~/.colibri/real-chrome). To start it yourself:npx -y github:t4zxxx1/colibri-mcp --chrome.
In this mode Colibri never closes your Chrome: on reconnect (/mcp) it only closes the tabs it opened. When a check blocks in the default mode, Colibri itself suggests switching.
No. Side effects (!c) need your explicit OK, secrets (!x) can never be typed by the AI. See Safety.
With CB_CODE_MODE=1 the model sees a single tool, browse_code, and writes a short async script (await colibri.open({url}); const t = await colibri.tables({filter:"2026"}); return t.length). Tool definitions drop from about 1,800 to about 380 tokens per turn and loops/filters/sums happen locally, so only the final result enters the chat. It is opt-in: the default 8 tools are unchanged, and browse_do accepts the same scripts through script. Everything stays on your PC.
Development
npm ci # dev + runtime deps
npm test # 360+ end-to-end tests over the real MCP protocol (needs Chrome or Edge)
npm run test:live # optional checks on real sites: search, PDF, httpbin form, Wikipedia, upload area (network)
npm run bench # vs screenshots, Playwright MCP, agent-browser, Fast Playwright MCP
npm run bench:task # repeated train search: calls, tokens, seconds (add paths to older index.js to compare)
npm run bench:pages # Vinted / Amazon / calendar / discount-code scenarios: calls and tokens (same)
npm run calibrate # engine calibration (VERIFY5=1 adds the independent Test 5)
npm run build # dist/colibri.mcpbDocs (Italian): how it works · benchmark · calibration & Jev comparison.
Release: bump version in package.json, extension/manifest.json, extension/server/package.json, then git tag vX.Y.Z && git push --tags — CI tests, builds the .mcpb and publishes it.
Support the project
If it saves you tokens, ⭐ star the repo — it's the best way to help others find it. Ideas, bugs and sites to support: open an issue. Made with care in Italy by @t4zxxx1 · Roca Software.
☕ Buy me a coffee — if Colibri is useful to you, you can support its development with a PayPal donation:
License
MIT — see LICENSE. © 2026 Roca Software.
Available Tools
8 toolsbrowse_doEsegui passiB
Run up to 40 steps in order, return only the diff; stops at the first error or block. view: diff|full|none.
Inputs: steps (required), view, script.
browse_openApri paginaB
Open URL, reject optional cookies, return rows. rows:false: header+counts; filter: matching rows; search: use the site's own search box (no guessed search URLs).
Inputs: url (required), rows, filter, search.
browse_readLeggi contenutoARead-only
Read without acting. mode: text (main content; ref/selector, "body"=all; paged) | table (TSV) | cards (repeated results: trains, flights → 1 row each, buttons [ref], links:true URLs, total/shipping prices; sort, filter "words -excluded", maxPrice) | fields (query "color, price": only those) | find (lines with query) | describe (ref details) | pdf (query=URL or downloaded file). filter on text/table: matching lines (header kept). url: other page in a background tab (cached 10 min, parallel OK).
Inputs: max, ref, url, mode, +8 more.
browse_screenshotScreenshotARead-only
JPEG ~900 tokens: window, ref or region [l,t,r,b] 0-1; labels:true draws refs. Only when rows are not enough (charts, canvas).
Inputs: ref, labels, region.
browse_searchCerca sul webB
Web search (DuckDuckGo), background tab: "n. title | url | snippet", no ads; site: one domain. Parallel OK.
Inputs: query (required), max, site.
browse_statsConsumo sessioneCRead-only
Session tokens vs screenshots.
Inputs: no named parameters.
browse_taskCompito guidatoB
Form task: local engine maps params to fields (synonyms, typos, languages, sections): text, selects, autocomplete, dates ("DD/MM/YYYY [HH:MM]", split fields too), checkboxes; verifies, then submit/expect/extract/read. Uncertain params return as questions.
Inputs: url, read, view, before, +7 more.
browse_viewVista paginaBRead-only
Current page rows. filter: matching rows ("a|b" either; else page text). scope all: +header/nav/footer; areas: unlabeled click/drop areas. offset: next rows.
Inputs: scope, filter, offset.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Open/read/view/do all return page content and overlap: browse_open returns rows, browse_view returns current page rows, browse_read reads the page (including 'body'), and browse_open also accepts a url to load a background tab, which browse_read duplicates. The descriptions give hints (navigate vs. read structured data vs. re-read current page vs. multi-step acting), but an agent can easily pick the wrong one for 'get the content of this page'. browse_search, browse_task, browse_screenshot, and browse_stats are clearly distinct.
Every tool uses the same browse_ prefix plus a single lowercase word in snake_case, with no camelCase or stylistic mixing. The verb choices (open, read, view, do, search, task, screenshot, stats) are readable and predictable within that scheme.
Eight tools is well within the ideal range and each maps to a recognizable browser-automation capability (navigate, extract, act, search, screenshot, form fill, diagnostics). Nothing feels redundant at the count level.
The surface covers navigation, extraction (text/table/cards/fields/find/pdf), search, multi-step actions, form filling, screenshots, and token stats, so most browser workflows are achievable. Minor gaps exist: no explicit single-click/back-forward or tab-management tool, and clicking is only implied through browse_do steps.
Maintenance
Related MCP Connectors
AI-powered web automation. Navigate websites using AI agents for one page or a thousand
AI-powered web automation. Navigate websites using AI agents for one page or a thousand
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Hosted browser for AI agents: screenshots, post-JS DOM, console, WCAG. No install, no API key.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI agents to browse and interact with web pages through compact, typed structural representations — landmarks, headings, interactive elements, and forms — served in three controllable detail levels instead of full accessibility-tree dumps. Agents can navigate, query for specific elements, fill forms, manage tabs and cookies, capture screenshots, and run audits while paying a fraction of the token cost.4 npm-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to browse and interact with web pages through compact, structured representations — page summaries, targeted element queries, and full detail on demand — instead of paying for a full accessibility-tree dump on every call. This cuts the token cost of reading content-heavy pages by up to ~140x while still supporting navigation, forms, clicks, screenshots, and session management.4 npm-
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to browse and interact with web pages through a compact, structured representation, returning a small orientation on arrival plus targeted queries for specific elements instead of a full accessibility-tree dump. Supports navigation, element interaction, form filling, screenshots, network monitoring, and session management while cutting token cost dramatically on content-heavy pages.4 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to browse and interact with web pages through structured, token-efficient representations instead of full accessibility-tree dumps, returning compact page orientations, targeted element queries, and detail on demand. Agents can navigate, click, type, fill forms, manage tabs and sessions, and inspect console or network activity at a fraction of the usual context cost.4 npmMIT