PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serverssearchbookmark_geni_mcp
返回「search」

bookmark_geni_mcp

modelscope·@droidnext/bookmark_geni_mcp

search0下载LocalModelScope

简介

暂无描述。

MCP Server 详情

来自 ModelScope 索引

Bookmark Geni MCP Server

Stand-alone MCP (Model Context Protocol) server for processing local browser bookmarks and making url/bookmarks easily searchable using natural language.

<video controls src="./recording1.mov" title="Bookmark Geni MCP Demo"></video>

Connect to Claud Desk top or Gemini CLI <img width="832" height="595" alt="Screenshot 2025-11-28 at 10 16 08PM" src="https://github.com/user-attachments/assets/99c368bd-127e-4f08-8e04-0fbfd7322146" />

<img width="835" height="614" alt="Screenshot 2025-11-28 at 10 19 21PM" src="https://github.com/user-attachments/assets/978e519a-4327-44d7-a8a6-31d250ebcec9" /> <img width="842" height="606" alt="Screenshot 2025-11-28 at 10 19 49PM" src="https://github.com/user-attachments/assets/8be42616-c138-4d98-81ee-0765c0ddfc73" />

Features

  • Multi-Browser Support: Reads bookmarks from Chrome, Edge, Firefox, Opera, ChatGPT Atlas, and Perplexity Comet
  • Content Extraction: Fetches HTML content from URLs and extracts text for semantic search
  • Metadata Extraction: Extracts descriptions from HTML metadata tags (Open Graph, meta description, title)
  • Vector Storage: Stores bookmark embeddings in ChromaDB using sentence transformer model (all-MiniLM-L6-v2)
  • RAG Search: Query bookmarks using natural language with metadata filtering
  • Portability: Export and import embeddings to/from pickle files for easy transfer
  • Performance: Batch processing with concurrency and caching

Installation

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Configure the server by editing config.yaml (optional - defaults are provided)

  3. Make start script executable:

    chmod +x scripts/start_mcp_server.sh
    

Usage

Once the server is started, it can be used with any MCP client. To index all browser bookmarks and generate metadata, run the following command:

"Generate metadata for chrome bookmarks"

Once all bookmarks are indexed, you can query them using the following command:

"Query bookmarks for 'python'"

Standalone MCP Server

The server can be used independently with any MCP client by referencing mcp.json:

# Start the server using the bash script
./scripts/start_mcp_server.sh

With Gemini CLI

Connect the server to the Gemini CLI using the following command:

# Add the server configuration to your Gemini CLI settings
# Edit ~/.gemini/settings.json and add the following to the "mcpServers" section:

{
  "mcpServers": {
    "bookmarkGeni": {
      "command": "bash",
      "args": ["/path/to/bookmark_geni_mcp/scripts/start_mcp_server.sh"],
      "env": {
        "PYTHON_PATH": "/path/to/your/python3"
      }
    }
  }
}

# Or use the provided mcp.json as a reference for the configuration

With Calude Desktop

Connect the server to the Calude Desktop by adding the following to the Calude Desktop settings:

{
  "mcpServers": {
    "bookmarkGeni": {
      "command": "bash",
      "args": ["/path/to/bookmark_geni_mcp/scripts/start_mcp_server.sh"],
      "env": {
        "PYTHON_PATH": "/usr/bin/python3"
      }
    }
  }
}

Note: Replace /path/to/bookmark_geni_mcp with the actual path to this repository and /path/to/your/python3 with your Python interpreter path.

Configuration

The server reads configuration from config.yaml in the MCP server root directory. This includes:

  • Browser enable/disable settings
  • ChromaDB path (relative to MCP server root or absolute path)
  • Metadata JSONL path (relative to MCP server root or absolute path)
  • URL processing limit (default: -1, meaning process all URLs)
  • Debug mode

Example config.yaml:

debug: false
browsers:
  Chrome:
    enabled: true
  Edge:
    enabled: true
    # Optional: Override default path detection
    # paths:
    #   - "/path/to/custom/Bookmarks"
chromaDbPath: ".chromadb"
metadataJsonlPath: "data/bookmarks_metadata.jsonl"
urlLimit: -1  # -1 means process all, set to positive number to limit

The server is now completely independent and does not require the Gemini CLI extension folder.

Browser Support

The server supports the following browsers:

  • Chrome: Windows, macOS, Linux
  • Edge: Windows, macOS, Linux
  • Firefox: Windows, macOS, Linux
  • Opera: Windows, macOS, Linux
  • ChatGPT Atlas: macOS (Chromium-based)
  • Perplexity Comet: Windows, macOS, Linux (Chromium-based)

Note: Safari is not supported because reading Bookmarks.plist requires special macOS permissions that are not granted by default. To use Safari bookmarks, you would need to grant Full Disk Access permissions to the Python interpreter, which is not recommended for security reasons.

Tools

The server provides the following MCP tools:

  1. generate_bookmarks_metadata

    • Scans selected browsers for bookmarks
    • Fetches HTML content and generates metadata
    • Creates embeddings and stores them in ChromaDB
    • Parameters: browsers (e.g., "Chrome,Safari" or "All")
  2. query_bookmarks

    • Performs semantic search on stored bookmarks
    • Supports metadata filtering
    • Parameters:
      • query: Search text
      • limit: Max results (default 10)
      • where: Filter dict (e.g., {"folder": "Work"})
  3. list_browsers

    • Lists installed browsers and their detected bookmark file paths
    • Parameters: None
  4. get_stats

    • Returns database statistics (total count, collection info)
    • Parameters: None
  5. export_embeddings

    • Exports all data to a pickle file for backup or transfer
    • Parameters: pickle_path (optional)
  6. import_embeddings

    • Imports data from a pickle file
    • Parameters: pickle_path (required)

See mcp.json for detailed schema definitions.

Workflow

flowchart TD
    %% Nodes
    User([User / CLI])
    Server[MCP Server]
    Detector[Browser Detector]
    Parser[Bookmark Parser]
    Generat…

相关 MCP Servers(来自「search」)

【稳定版】12306MCP火车票服务

一个为大型语言模型(LLM)设计的、高可用的12306余票查询工具服务,现已搭载智能会话管理引擎。 12306-MCP-Server 将复杂的12306余票查询接口封装为符合 Model Context Protocol (MCP) 规范的工具集,允许AI Agent通过自然语言无缝查询实时火车票、中转换乘和经停站信息。 从 v1.0.0 版本开始,项目引入了全新的智能会话管理系统,通过会话池、动态User-Agent轮换和自动错误恢复机制,将服务的稳定性与反屏蔽能力提升至全新高度。

Alphar/Railway-Real-Time-MCP-Server

代码上下文MCP

一个MCP服务器,它在本地git仓库上提供语义搜索功能,使用户能够克隆仓库、处理分支并通过矢量化代码块搜索代码。

@fkesheh/code-context-mcp

代码索引MCP

一种模型上下文协议(MCP)服务器,可以帮助大型语言模型以最少的设置来索引、搜索和分析代码库。

@johnhuang316/code-index-mcp

代码知识记忆库工具

通过向量嵌入技术,为项目提供记忆库和RAG上下文支持,以增强代码理解和管理,并与RooCode和Cline集成。

@davidvc/code-knowledge-mcptool

飞常准-Aviation

VariFlight航班信息服务的模型上下文协议(MCP)服务器实现方案。该服务器提供了多种工具,支持查询航班信息、天气数据及航班舒适度指标。

@variflight-ai/variflight-mcp

火车时刻查询服务

基于GTFS数据的Caltrain火车时刻查询服务,提供实时火车时刻表、站点查询和时间特定查询功能。

myalone/caltrain

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/droidnext-bookmark_geni_mcp/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

pip install -r requirements.txt

基本信息

分类
search / vector-databases / rag-systems
运行方式
No
许可证
Apache License 2.0
详情文件
droidnext-bookmark_geni_mcp.md