Historymcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Historymcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) tool that provides access to browser history data from SQLite databases. This tool allows AI assistants to read and analyze your browsing history through the MCP interface.
uv syncYou need to set the SQLITE_PATH environment variable to point to your browser's history database:
Chrome/Chromium:
export SQLITE_PATH="$HOME/Library/Application Support/Google/Chrome/Default/History"Firefox:
export SQLITE_PATH="$HOME/Library/Application Support/Firefox/Profiles/*.default/places.sqlite"Safari:
export SQLITE_PATH="$HOME/Library/Safari/History.db"Note: You may need to copy the database file to a writable location first, as browsers often lock their database files.
python main.pyThe server runs on stdio transport, which is the standard for MCP tools.
#### read_history()
Returns the last 100 visited URLs from your browser history.
Returns:
List[Dict[str, str]]: A list of dictionaries containing:"title": The title of the web page"url": The URL of the web pageExample Response:
[
{
"title": "GitHub - Homepage",
"url": "https://github.com"
},
{
"title": "Stack Overflow - Programming Questions",
"url": "https://stackoverflow.com"
}
]To use this tool with an MCP client, add it to your MCP configuration:
{
"mcpServers": {
"history": {
"command": "python",
"args": ["/path/to/historyMCP/main.py"],
"env": {
"SQLITE_PATH": "/path/to/your/browser/history.db"
}
}
}
}historyMCP/
├── main.py # Main MCP server implementation
├── pyproject.toml # Project configuration and dependencies
├── README.md # This file
└── uv.lock # Dependency lock filemcp[cli]>=1.10.1: Model Context Protocol implementationrequests>=2.32.4: HTTP requests for web content fetchinghttpx>=0.28.1: Modern HTTP clientpandas>=2.3.0: Data manipulation (for future features)The codebase is structured to easily add new tools. To add a new MCP tool:
@mcp.tool() decoratorExample:
@mcp.tool()
def search_history(query: str) -> List[Dict[str, str]]:
"""
Search browser history for URLs containing the query
Args:
query: Search term to look for in URLs and titles
Returns:
List of matching history entries
"""
# Implementation here
pass⚠️ Important: This tool accesses your browser history, which may contain sensitive information. Consider the following:
SQLITE_PATH environment variable correctlySQLITE_PATH to point to the copied fileIf you encounter issues:
This project is open source. Please check the license file for more details.
Contributions are welcome! Please feel free to submit a Pull Request or open an issue for bugs and feature requests.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.