Search History MCP Server
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.
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., "@Search History MCP Server what did I search about Python decorators last week?"
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.
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.
Related MCP server: blackmount-mcp
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.
Available Tools
3 toolsget_most_visitedA
Get the most frequently visited sites from browser history.
Args: limit: Maximum number of results to return (default: 20, max: 100) browser: Which browser to query ("brave", "safari", "chrome", "firefox", "edge", "arc", "opera", or "duckduckgo")
Returns: Formatted list of most visited sites with visit counts
Inputs: limit, browser. Returns: result
get_recent_historyA
Get the most recent browsing history entries.
Args: limit: Maximum number of results to return (default: 50, max: 500) browser: Which browser to query ("brave", "safari", "chrome", "firefox", "edge", "arc", "opera", or "duckduckgo")
Returns: Formatted list of recent history entries with titles, URLs, and visit times
Inputs: limit, browser. Returns: result
search_historyA
Search browser history for URLs and titles containing the search term.
Args: search_term: The text to search for in URLs and page titles limit: Maximum number of results to return (default: 50, max: 500) browser: Which browser to search ("brave", "safari", "chrome", "firefox", "edge", "arc", "opera", or "duckduckgo")
Returns: Formatted list of matching history entries with titles, URLs, and visit times
Inputs: search_term (required), limit, browser. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: get_most_visited retrieves frequently visited sites by visit count, get_recent_history retrieves entries by recency, and search_history performs keyword searches. There is no overlap in functionality, making tool selection unambiguous for an agent.
All tool names follow a consistent verb_noun pattern (get_most_visited, get_recent_history, search_history) using snake_case throughout. The naming is predictable and readable, with no deviations in style or convention.
Three tools are reasonable for a search history server, covering core use cases: frequency analysis, recency retrieval, and search. However, it feels slightly thin as it lacks tools for operations like deleting history or getting specific entries by ID, which could enhance completeness.
The tools cover basic querying (frequency, recency, search) but lack update or delete operations, which are common in history management. There is no tool for getting a specific entry by URL or ID, creating potential dead ends for agents needing precise retrieval beyond search.
Maintenance
Related MCP Connectors
Shared memory and context across ChatGPT, Claude, Claude Code, Codex, Cursor and 20+ AI tools
Long-term memory for Claude, ChatGPT, Cursor: search, save and organize notes, links, docs, videos.
Your saved web, searchable by Claude, ChatGPT and Cursor. Search, read and save your bookmarks.
Web search, data extraction and controlled browser automation for AI assistants via OAuth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search and analyze Chrome browser history and bookmarks data locally, including keyword searches, date range filtering, recent browsing activity, and usage statistics across all platforms.2ISC

blackmount-mcpofficial
AlicenseNot gradedqualityAmaintenanceEnables AI assistants to access and search local browser history, bookmarks, open tabs, and downloads for personalized context.MIT- AlicenseNot gradedqualityDmaintenanceEnables semantic search across your local AI conversation history (ChatGPT, Claude, etc.) and provides tools to retrieve context, capture thoughts, and get profile summaries.72AGPL 3.0
- AlicenseAqualityDmaintenanceEnables AI assistants to query your local browsing history using keyword search, RAG Q&A, and activity stats.6MIT