Skip to main content

MCP server for accessing Chromium browser data (tabs, history, bookmarks) from Brave, Chrome, and Chromium

Project description

chromium-sync-mcp

MCP server for accessing browser data (tabs, history, bookmarks) from Chromium-based browsers.

Supports Brave, Chrome, and Chromium.

Installation

# Using uvx (recommended)
uvx chromium-sync-mcp

# Or install with pip
pip install chromium-sync-mcp

System Requirements

Requires the LevelDB library:

# Ubuntu/Debian
sudo apt-get install libleveldb-dev

# macOS
brew install leveldb

# Fedora
sudo dnf install leveldb-devel

Claude Code Configuration

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "chromium-sync": {
      "command": "uvx",
      "args": ["chromium-sync-mcp"]
    }
  }
}

Tools

Tool Description
get_tabs_all_devices Get open tabs from all synced devices
get_tabs_local Get open tabs from the local browser session
get_history Search browsing history with optional filters
get_bookmarks Get bookmarks, optionally filtered by folder
search_bookmarks Search bookmarks by title or URL
select_browser Select which browser to use (when multiple installed)
set_profile_path Manually set the browser profile path
check_sync_status Check what data is accessible (for debugging)

get_history

Returns a JSON array of history entries. Supports substring search, regex patterns, and date filtering.

Parameters:

Parameter Type Description
query string Substring match against URL and title (case-insensitive). Cannot be used with pattern.
pattern string Regex match against URL and title. Cannot be used with query.
limit integer Maximum results to return. Default: 100
days_back integer Only return entries from the last N days.
after string ISO date or datetime. Only entries on or after this time.
before string ISO date or datetime. Only entries before this time.

Date formats: YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS

Example response:

[
  {
    "url": "https://github.com/anthropics/claude-code",
    "title": "GitHub - anthropics/claude-code",
    "visit_time": "2026-01-11T14:30:00",
    "visit_count": 5
  }
]

Configuration

Auto-detection

The server automatically detects installed Chromium-based browsers. If multiple browsers are found, you'll be prompted to select one.

Environment Variable

Override auto-detection by setting CHROMIUM_PROFILE_PATH:

export CHROMIUM_PROFILE_PATH=~/.config/google-chrome/Default

Saved Preference

When prompted to select a browser, use select_browser with save_default: true to save your preference to ~/.config/chromium-sync/profile.

Supported Browsers

Browser Linux macOS Windows
Brave
Chrome
Chromium

How It Works

This server reads directly from your browser's local profile files:

  • History: SQLite database
  • Bookmarks: JSON file
  • Synced Tabs: LevelDB (contains tabs from all your synced devices)

No authentication or network requests required.

Headless Setup (Sync Passphrase Entry)

If you're running on a headless server and need to enter your Chrome sync passphrase, use the chromium-sync-setup command. It launches a browser in a virtual display and provides a secure web URL for remote access.

This is a one-time setup per machine. Once you've entered your passphrase and sync is established, you won't need to run this again.

# If you installed via uvx (recommended)
uvx --with chromium-sync-mcp[setup] --from chromium-sync-mcp chromium-sync-setup

# If you installed via pip
pip install chromium-sync-mcp[setup]
chromium-sync-setup

What it does:

  1. Starts a virtual X display (Xvnc or Xvfb)
  2. Launches your browser to the sync settings page
  3. Provides a secure HTTPS URL via Cloudflare tunnel

System requirements (one of):

  • TigerVNC: sudo apt install tigervnc-standalone-server
  • Or Xvfb + x11vnc: sudo apt install xvfb x11vnc

The script auto-downloads cloudflared and noVNC, so those don't need manual installation.

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chromium_sync_mcp-0.3.1.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chromium_sync_mcp-0.3.1-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file chromium_sync_mcp-0.3.1.tar.gz.

File metadata

  • Download URL: chromium_sync_mcp-0.3.1.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chromium_sync_mcp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 42e05b484df3180327c4fd772df2bfe66b05900d2d86523f664e3f1a9d7ce442
MD5 c04b0c789dcdfb70f5a96c354dfc0351
BLAKE2b-256 f7d73be55b26b8d24d6b6a1c08500f48cd8a67599f08e8b8f7cb94886eb5322d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chromium_sync_mcp-0.3.1.tar.gz:

Publisher: release.yml on jaidhyani/chromium-sync-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chromium_sync_mcp-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for chromium_sync_mcp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70913b7e767c6045916d0edaeee2b4f9b4c6a772270a4fa89804c3c72e0d2f2d
MD5 5b99e80e3bae59709649901964d093c4
BLAKE2b-256 f229c9407111a1ec684344d374e5b7a1459ff66572c403e809dc58246c62b5b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for chromium_sync_mcp-0.3.1-py3-none-any.whl:

Publisher: release.yml on jaidhyani/chromium-sync-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page