Provides access to Arc browser's search history, enabling search of URLs and page titles, retrieval of recent browsing history, and identification of most frequently visited sites.
Provides access to Brave browser's search history, enabling search of URLs and page titles, retrieval of recent browsing history, and identification of most frequently visited sites.
Provides access to DuckDuckGo browser's search history, enabling search of URLs and page titles, retrieval of recent browsing history, and identification of most frequently visited sites.
Provides access to Firefox browser's search history, enabling search of URLs and page titles, retrieval of recent browsing history, and identification of most frequently visited sites.
Provides access to Opera browser's search history, enabling search of URLs and page titles, retrieval of recent browsing history, and identification of most frequently visited sites.
Provides access to Safari browser's search history, enabling search of URLs and page titles, retrieval of recent browsing history, and identification of most frequently visited sites.
search-history-mcp
Access and search your browser search history (Brave, Chrome, Firefox, Safari, Edge, Arc, Opera, DuckDuckGo) through an MCP server for LLM chat apps.
Supported for MacOS, Windows, and Linux.
https://github.com/user-attachments/assets/19c6de51-8219-453d-9b36-d584c44fbe9f
Use Cases
Brainstorming: Brainstorm project ideas inspired by your interests and search history.
LLM Personalization Support: Teach your LLM more about yourself.
Profile Generation: Build a personal profile based on your search history.
Features
This MCP server provides three tools to interact with your search history:
search_history: Search for specific terms in URLs and page titles
get_recent_history: Get the most recent browsing history entries
get_most_visited: Get your most frequently visited sites
Install
Install Claude Desktop
Install uv
Clone or navigate to this repository
Setup environment:
uv venv && uv pip install -r pyproject.toml && uv pip install cryptography && source .venv/bin/activateInstall the MCP server:
fastmcp install claude-desktop mcp_server.pyRestart Claude Desktop
Privacy Note
This server reads your local browser history databases in read-only mode. It creates temporary copies to avoid locking issues when browsers are running. For DuckDuckGo on macOS, encryption keys are retrieved from your macOS Keychain and used only to decrypt your local history data. No data is sent anywhere except to your local LLM chat application.
Browser Support: Brave, Chrome, Edge, Opera, Arc, and DuckDuckGo are supported on Windows, macOS, and Linux. Firefox is supported on all platforms. Safari is macOS-only.
Browser file paths may have to be manually configured depending on your file structures.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables access to and searching of browser history from major browsers (Brave, Chrome, Firefox, Safari, Edge, Arc, Opera, DuckDuckGo) to personalize LLM interactions and retrieve past browsing data through natural language queries.