chromectx
Search and retrieve content from all open Chrome tabs, and provide them as context for AI tools via MCP.
README
chromectx
For those who routinely end up with 90+ Chrome tabs. Search all your open tabs by title or full page content, save entire windows to JSON, restore them later, and expose everything as RAG context for AI tools via MCP.
# Fast — searches tab titles and URLs only
chromectx search 'figma design system'
Instantly finds the right tab across 90+ open tabs. No page fetching — results appear in milliseconds.
# Deep — fetches and indexes full page content
chromectx search 'max connections pool timeout' --deep
You read something 20 tabs ago about connection pool limits causing timeouts in production — but which tab was it? The title just says "Configuration" or "Advanced Settings." --deep fetches every open page's content and searches the actual text, so you find it without retracing your steps.
And even better: make your open browser tabs RAG context for Claude, Cursor, and other AI tools via the Model Context Protocol.
Install
npx chromectx install
This one command:
- Checks your environment (macOS, Chrome, automation permissions)
- Installs
chromectxglobally - Offers to configure the MCP server for your AI tools (Claude Desktop, Cursor, VS Code, etc.)
Manual setup
If you prefer to set things up yourself:
npm i -g chromectx # install the CLI globally
chromectx setup # configure MCP for your AI tools
Or add the MCP server config directly:
{
"mcpServers": {
"chromectx": {
"command": "npx",
"args": ["-y", "chromectx@latest", "mcp"]
}
}
}
Requirements
- macOS (uses AppleScript/JXA to communicate with Chrome)
- Google Chrome
- Node.js >= 18
- Automation permission: your terminal must be allowed to control Chrome (System Settings > Privacy & Security > Automation)
Commands
| Command | Description |
|---|---|
chromectx install |
One-time guided setup (env check, global install, MCP config) |
chromectx setup |
Configure MCP server for AI tools |
chromectx doctor |
Check runtime environment and report readiness |
chromectx list |
List open Chrome windows and tabs, or saved sessions |
chromectx search <query> |
Search tab titles and URLs; --deep searches page content |
chromectx save |
Save a Chrome window as a session file |
chromectx restore |
Restore a saved session to Chrome |
chromectx rag <query> |
RAG search across open tabs (JSON output for agents/scripts) |
chromectx mcp |
Start the MCP server over stdin/stdout |
Global flags
-h, --help Show help
--version Print version
--json Structured JSON output (where supported)
-q, --quiet Reduce output
-v, --verbose Increase diagnostic output
MCP tools
When running as an MCP server, chromectx exposes:
**rag_chrome_search**-- Search the content of all open Chrome tabs using BM25 ranking. Fetches and indexes every open tab, then runs a keyword search. Supports chunk-level or full-page results.**doctor**-- Inspect the local macOS runtime and report whether chromectx is ready to run.
Updating
The MCP server auto-updates: each restart fetches the latest version via npx.
For the global CLI, re-run:
npx chromectx install
chromectx will also notify you in the terminal when a new version is available.
License
Copyright 2025-2026 Anubhav Saha
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.