原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Hive Vault

作者:mlorentedev版本 1.12.2i★ –i在你的电脑上运行
注册名称io.github.mlorentedev/hive-vault

安装

概览

作者提供的说明(英文原文)

On-demand Obsidian vault access for AI coding assistants — 17 tools, 5 resources, 4 prompts.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公
  • 你需要填写:OPENROUTER_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: VAULT_PATH, HIVE_OLLAMA_ENDPOINT, OPENROUTER_API_KEY, HIVE_VAULT_SCOPES

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "hive-vault": {
      "command": "uvx",
      "args": [
        "hive-vault"
      ],
      "env": {
        "VAULT_PATH": "your-value",
        "HIVE_OLLAMA_ENDPOINT": "your-value",
        "OPENROUTER_API_KEY": "your-value",
        "HIVE_VAULT_SCOPES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add hive-vault --env VAULT_PATH=your-value --env HIVE_OLLAMA_ENDPOINT=your-value --env OPENROUTER_API_KEY=your-value --env HIVE_VAULT_SCOPES=your-value -- uvx hive-vault

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "hive-vault": {
      "command": "uvx",
      "args": [
        "hive-vault"
      ],
      "env": {
        "VAULT_PATH": "your-value",
        "HIVE_OLLAMA_ENDPOINT": "your-value",
        "OPENROUTER_API_KEY": "your-value",
        "HIVE_VAULT_SCOPES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "hive-vault": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "hive-vault"
      ],
      "env": {
        "VAULT_PATH": "your-value",
        "HIVE_OLLAMA_ENDPOINT": "your-value",
        "OPENROUTER_API_KEY": "your-value",
        "HIVE_VAULT_SCOPES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • VAULT_PATH env
    Absolute path to your Obsidian vault (or any Markdown directory)
  • HIVE_OLLAMA_ENDPOINT env
    Ollama API endpoint for local worker delegation
  • OPENROUTER_API_KEY 机密 env
    OpenRouter API key for cloud worker delegation
  • HIVE_VAULT_SCOPES env
    JSON mapping of scope names to vault subdirectories

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 mlorentedev 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 2197 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2197 个服务器的 10% 更新
  • 基础检查结果等于或优于此分类中其他 2197 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Hive Vault 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:OPENROUTER_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.12.2)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

作者:BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

在云端运行★ 7,620MIT2个月前更新
安装

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

在你的电脑上运行★ 4,276MIT6天前更新
安装

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

在你的电脑上运行★ 847MIT4天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

hive-vault

Your AI coding assistant forgets everything between sessions. Hive fixes that.

Hive is an MCP server that connects your AI assistant to an Obsidian vault. Instead of loading everything upfront, it queries only what's needed — on demand.

MetricWithout HiveWith Hive
Context loaded per session~800 lines (static)~50 lines (on demand)
Token cost for context100% every session0.6% for five project-context queries (real vault, 493K tokens)
Knowledge retained between sessions0%100% (in vault)

Only the token-cost row is a measurement (5 project-context queries on a real 493K-token vault; method and numbers in the benchmarks). The line counts and the retention row describe how the two setups work; they are not measured.

Quick Start

Hive runs without a vault — vault tools return a friendly error until VAULT_PATH is set, so you can install first and configure later.

# Minimal — uses default vault path ~/Projects/knowledge

claude mcp add -s user hive -- uvx --upgrade hive-vault

With a custom vault path

claude mcp add -s user hive -e VAULT_PATH=$HOME/path/to/vault -- uvx --upgrade hive-vault

Gemini CLI

gemini mcp add -s user -e VAULT_PATH=$HOME/path/to/vault hive-vault uvx -- --upgrade hive-vault

Default vault path: ~/Projects/knowledge. Override with VAULT_PATH (or HIVE_VAULT_PATH) as shown above.

For Codex CLI, GitHub Copilot, Cursor, Windsurf, and other clients, see Getting Started.

Then ask your assistant: *"Use vault_list to see my vault"*

Requirements

Hive degrades gracefully — every recommended or optional dependency reveals more capability without breaking the baseline.

  • Required
  • Python 3.12+ (works on 3.13).
  • A directory of markdown files. The vault structure used by 00_meta / 10_projects / 50_work / 80_agents / 05_research is optional — without it, vault tools still operate but the scope routing is flat.
  • Recommended
  • git initialised inside the vault. Without it, vault_write / vault_patch still write to disk; they just skip the per-write commit (and vault_commit reports the working tree as untracked).
  • The [Obsidian](https://obsidian.md) desktop app to author the vault by hand.
  • The [obsidian-git plugin](https://github.com/Vinzent03/obsidian-git) with auto-commit set to 5–10 minutes. Pair it with vault_write(commit=False) / vault_patch(commit=False) to push the git workload off the synchronous tool path; see *Recommended configuration* below.
  • Optional
  • Any OpenAI-compatible `/v1` endpoint as the worker for delegate_task / capture_lesson, set with HIVE_WORKER_BASE_URL, HIVE_WORKER_API_KEY and HIVE_WORKER_MODEL.
  • A backup git remote (e.g. private GitHub repo) so vault history survives a disk loss.
Recommended configuration

Per ADR-006 (commit policy), the recommended pairing for write-heavy flows is:

  1. Install and enable the obsidian-git plugin in your vault.
  2. Set its auto-commit interval to 5 or 10 minutes.
  3. Call vault_write(..., commit=False) and vault_patch(..., commit=False) for all bulk operations.
  4. Optionally call vault_commit(message="...") at the end of a session to force a checkpoint sooner than the obsidian-git tick.

vault_health reports a ## external_committer block when it detects obsidian-git in the vault. The commit=False durability contract is explicit: files are persisted to disk regardless; only the *commit* is deferred. A crash before the next flush loses the commit, not the content.

When a tool call is cancelled mid-flight (slow worker, client timeout), the server may have already mutated the disk before the cancel ack reaches the wire. vault_health surfaces a ## ghost_responses counter and emits a mcp.ghost_response.suppressed_after_cancel_ack WARNING for each event — verify state via vault_query rather than retrying, since the ErrorData ack does not imply rollback (ADR-007).

Daemon mode (optional)

The default uvx hive-vault runs a fresh server per session. Daemon mode instead runs one long-lived hive serve that owns the vault, with each stdio-only session connecting through hive client. The adapter starts without importing the Hive server or FastMCP, then relays JSON-RPC to the daemon's stable loopback endpoint. If the daemon or credential is unavailable, it fails explicitly rather than starting a competing in-process owner.

The default endpoint is a deterministic per-user port in 49152..65535, so an ordinary daemon restart does not invalidate client configuration. Override it with HIVE_DAEMON_PORT in both the daemon and every client environment when the derived port conflicts with another local service. hive serve --port changes only the daemon's bind port; it does not reconfigure hive client or hive delegate. Hive fails closed rather than silently moving to a different port. The owner-only bearer token persists across ordinary restarts in the daemon state directory. daemon.port remains diagnostic migration metadata, not client discovery state. See ADR-022.

Security hold: Until #456 is resolved, do not deploy daemon mode on untrusted multi-user hosts. The endpoint serves TLS with a per-user certificate that Hive's clients pin, so an impostor on the fixed port fails the handshake before any bearer is sent; the hold stays until the Linux and Windows evidence, including the cross-user check, is recorded.

uv tool install --upgrade hive-vault   # >= 1.32.0

hive service install # supervise hive serve (systemd --user / Task Scheduler) hive service status # exit 0 only if the listener proves the daemon's certificate

Run hive client from your MCP host. A host that can verify the daemon's certificate may connect directly to https://127.0.0.1: /mcp (for Node-based hosts, NODE_EXTRA_CA_CERTS pointing at daemon.crt in the state directory); never disable verification, and note that http:// no longer works. Never print or copy the token into logs or shell history.

To install a newer release, use the platform-specific command:

# Linux / macOS

uv tool upgrade hive-vault

Windows (the version is optional; omitted selects the latest PyPI release)

hive self-upgrade [version]

On Windows, self-upgrade builds the release beside the running files and atomically switches the managed runtime, avoiding in-use-file conflicts. Open a new terminal after the first managed upgrade so its PATH change is available. Once supervised, the daemon detects the new installed version, exits 75, and the supervisor restarts it into the new code. See the daemon mode guide and the activation runbook.

Tools

ToolWhat it does
vault_queryLoad project context, tasks, roadmap, lessons — or any file by path
vault_searchFull-text search with metadata filters, regex, ranked results, recent changes, lesson-usage ranking (rank_by)
vault_listBrowse projects and files with glob filtering
vault_askOptional semantic Q&A with source citations; disabled until an embeddings backend is configured ([semantic] extra)
vault_healthServer identity (version, vault path, backends), health metrics, drift detection, usage stats, opt-in runtime block
vault_writeCreate, append, or replace vault files. commit=False defers the git commit for batching
vault_patchSurgical find-and-replace. commit=False defers the git commit for batching
vault_commitFlush pending commit=False writes into one git commit
vault_deleteDelete one file, committed synchronously so it stays recoverable from git history
capture_lessonCapture lessons inline / batch-extract from text / look up existing lessons by keyword (find=)
session_briefingTasks + lessons + git log + health in one call
delegate_taskRoute tasks to cheaper models or summarize vault files
worker_statusWhether the worker is configured and reachable, its model, and usage

Plus 5 resources and 4 prompts for guided workflows.

Lesson reinforcement

Every read of a lesson via vault_query, vault_search, or capture_lesson(find=…) increments a counter and grows that lesson's confidence asymptotically toward 1.0. Validated lessons rank higher than one-shot captures over time.

# Surface the top-ranked lessons matching a keyword

capture_lesson(project="hive", find="multi-process")

Search lessons ranked by usage signal (not BM25)

vault_search(query="timeout", rank_by="reinforcements") # most-reinforced first vault_search(query="timeout", rank_by="confidence") # highest decayed confidence vault_search(query="timeout", rank_by="hybrid") # α=0.7 BM25 + 0.3 confidence

Storage: SQLite side-table at HIVE_LESSON_DB_PATH (default ~/.local/share/hive/lesson_reinforcement.db). WAL mode + busy_timeout make it cross-process safe.

Architecture

MCP Host (Claude Code, Gemini CLI, Codex CLI, Cursor, ...)

└── hive-vault (MCP server, stdio) ├── Vault Tools (9) ── Obsidian vault (Markdown + YAML frontmatter) ├── Session Tools (1) ── Adaptive context assembly └── Worker Tools (3) ── one OpenAI-compatible endpoint, no internal fallback

Documentation

Full documentation at [mlorentedev.github.io/hive](https://mlorentedev.github.io/hive/):

Project-bound knowledge (docs-as-code) lives in docs/:

  • docs/adr/ — Architecture Decision Records
  • docs/runbooks/ — operational procedures
  • docs/troubleshooting/ — known issues and root-cause write-ups
  • docs/lessons.md — accumulated gotchas and post-mortems

Contributing

See CONTRIBUTING.md for setup and PR workflow.

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx