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)

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.0.tar.gz (21.8 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.0-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chromium_sync_mcp-0.3.0.tar.gz
  • Upload date:
  • Size: 21.8 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.0.tar.gz
Algorithm Hash digest
SHA256 9931174b345805f4abca36dcc879e9187fa08a6fd9f7bf0f3b4b355de8f28c70
MD5 30a7d6f15b63ac942153a556fec72986
BLAKE2b-256 ee211043e730cedbb8f4bc04e61506f85b7aef042af7d9a431b43d1835eb8e9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for chromium_sync_mcp-0.3.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chromium_sync_mcp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94ef6130b2bf272261d581c6c641f32f75c19c4567b7acf345d86a6c365f6a79
MD5 c1f07d84000e69e99af747dcf3ff2e0e
BLAKE2b-256 05c8978b93e292f67ff95672ebad2f1e5bbed95008e16f26b715ca9c57a9da8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for chromium_sync_mcp-0.3.0-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