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

brain-mcp

作者:debashishthakur版本 0.5.2i★ –i在你的电脑上运行
注册名称io.github.debashishthakur/brain-mcp

安装

概览

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

Your Obsidian vault as private, searchable memory for Claude, Cursor, Hermes and any MCP client

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "brain": {
      "command": "npx",
      "args": [
        "-y",
        "debawho-brain-mcp",
        "--stdio"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add brain -- npx -y debawho-brain-mcp --stdio

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "brain": {
      "command": "npx",
      "args": [
        "-y",
        "debawho-brain-mcp",
        "--stdio"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "brain": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "debawho-brain-mcp",
        "--stdio"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

brain-mcp 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.5.2)于20天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有: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,276MIT7天前更新
安装

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、图片和脚本已被移除。链接会离开本站。

brain-mcp

Your Obsidian vault, as memory for every AI you use.

An open-source Model Context Protocol server that serves your notes, from your own machine, to Claude and any MCP client.

Website · Quick start · How it works · Contribute · Research questions


Why brain-mcp

Every new chat starts from zero. You explain who you are, what you are building and how you like to work, and tomorrow, in another app, you explain it again.

brain-mcp keeps that context in the Markdown notes you already own. Connect any MCP client and it learns who you are, how you work, what your projects are and what you touched this week. It can search, follow links and write back to the vault as you talk.

  • Your files, your machine. Notes stay plain Markdown in a folder you control. Nothing is uploaded to a third party.
  • One memory, every client. Claude Code, Claude Desktop, claude.ai, Cursor, Hermes Agent, your phone and anything else that speaks MCP read the same vault.
  • Hybrid retrieval, fully local. Keyword search plus meaning search with a small embedding model, then a reranker, all on your CPU. It can also answer "the vault does not record this" instead of guessing.
  • Measured. Every ranking change is scored by two bundled evals, keyword and hybrid side by side.
  • Private by default. OAuth 2.1 with PKCE for remote access, read, write and private scopes, secret redaction and an audit log of every call.
  • Writes back. brain_remember and brain_capture turn what a model learns into notes you can read and edit.
  • Small and readable. About 3,800 lines of strict TypeScript. Easy to study, easy to extend.

How it works

flowchart LR

V["Obsidian vault plain Markdown"]

subgraph S["brain-mcp: one Node process, one SQLite file"] I["Indexer sections, links, topics, projects"] DB[("SQLite FTS5 word index section embeddings link graph")] M["Local models on CPU bge-small embedder bge-reranker"] R["Hybrid retrieval"] T["14 MCP tools"] G["Scopes, redaction, audit log"] I --> DB --> R --> T --> G M -.-> DB M -.-> R end

V -->|file watcher| I G -->|stdio| C1["Claude Code, Claude Desktop"] G -->|HTTP + bearer token| C2["Clients on your network"] G -->|OAuth 2.1 through Cloudflare Tunnel| C3["claude.ai, phone, any MCP client"] T -. "remember, capture, write, edit, move, delete (allowed folders only)" .-> V

  1. Index. Every note is split into sections and indexed with its links, topics and project. Each section also gets an embedding (bge-small-en-v1.5) in the background. A file watcher keeps both current within a second of a save.
  2. Retrieve. A question goes through five steps:
  • Understand: expand shorthands (pg → PostgreSQL) and fix typos against the vault's own words.
  • Search four ways: keywords per section (BM25), meaning (embeddings), exact dates, and note titles.
  • Fuse the four lists with reciprocal rank fusion.
  • Follow links (off by default, retrieval.graph): a section of a note linked with the top hits (hub and topic pages included, with a boost when several top hits link to the same note) can take a reranker place from the weakest fused entry it beats, and the reranker reads the sentence that links them. A section the last step would trim is kept anyway when it is linked with a kept hit.
  • Rerank the best candidates with a cross-encoder (bge-reranker-base), always including each list's first pick, so fusion cannot bury a hit only one search found. When keyword and meaning search agree on the top hit and fusion keeps it in the top 3, only those 3 are reranked.
  • Decide: if even the best passage scores below the reranker's floor, answer "nothing relevant"; otherwise return the strong hits and at least the five best, cited by note, with a coverage label (good, thin, none).
  1. Serve. Over stdio beside your editor, over HTTP with a bearer token on your network, or behind an OAuth 2.1 login through Cloudflare Tunnel for the public internet.
  2. Remember and write. brain_remember appends durable facts and refuses near duplicates. A fact can replace an earlier one, expire, or start at a given date; brain_identity serves only the facts true now, and brain_facts keeps the history. Four more tools write, edit, move and delete hand-written notes, inside the folders you allow.

The retrieval step from question to answer:

flowchart LR

Q["Question"] --> U["Understand shorthands, typo fixes"] U --> K["Keywords per section, BM25"] U --> D["Meaning embeddings"] U --> DT["Exact dates"] U --> NT["Note titles BM25"] K & D & DT & NT --> F["Fuse reciprocal rank fusion"] F --> RR["Rerank top 16 cross-encoder (top 3 when keywords and meaning agree)"] RR --> GT{"Best score above the floor?"} GT -->|no| X["Nothing relevant"] GT -->|yes| A["Cited passages coverage: good or thin"]

Everything runs on your machine: the models are downloaded once into data/models, and no note leaves the server. If the models are not ready yet, retrieval falls back to keywords, so the server never blocks. Set BRAIN_MCP_HYBRID=0 to stay keyword-only.

[!NOTE]

The architecture is intentionally simple right now, and ideas are welcome. It is one process and one SQLite file, with a hybrid ranker built from fixed rules. Some of it is already tweakable: the retrieval block in brain.config.json (embedding and reranker models, how many candidates to rerank, the score blend, the "nothing relevant" floor, your own shorthands), context budgets under context, and fusion constants such as RRF_K and TITLE_BONUS in src/vault/index.ts. Much more could become configurable, such as pluggable retrievers and storage, graph strategies, and query rewriting. If you have an idea, open an issue or a research proposal, even before there is code.

The bundled example vault as a knowledge graph on the project site . Drag to rotate, hover a node to read the note.

Tools
ToolWhat it returns
brain_identityPersona bundle: profile note, memory notes, the captured facts that are true now, skills, project list and recent focus. The server instructions ask clients to call this first. Pass topic for a smaller bundle.
brain_contextThe sections most relevant to a question, with source note ids and a coverage label, from the hybrid ranker, packed under a size budget. Says so explicitly when the vault does not record the answer.
brain_searchHybrid search (keywords, meaning, reranker, spelling correction) with project, type, topic and date filters. Returns ranked notes with snippets.
brain_readOne note, or one section of it, with metadata, topics and resolved links.
brain_projectBriefing on a project: description, latest progress, decisions, recent changes and notes grouped by type. With no argument it lists projects.
brain_graphLinks out, backlinks grouped by project, and notes that share topics.
brain_recentNotes modified in the last N days, newest first.
brain_captureWrites a new note with graph-ready frontmatter into the capture folder. Like brain_write and brain_edit, its reply lists existing notes the text names without linking, so the caller can link them in the sentence that says how they relate.
brain_rememberAppends a fact to the memory file; it joins brain_identity straight away. replaces names facts it makes outdated, subject + attribute replace the previous fact with the same pair on their own, and valid_from / valid_until bound when it holds. Near duplicates of current facts are refused (token Jaccard ≥ 0.6 or containment ≥ 0.85); a partial overlap in the same category is held back until the caller passes replaces or force=true.
brain_factsCaptured facts and when each was true: the current ones, the ones true at an as_of date, or every version with what replaced it (history). Filters by subject, category and words.
brain_writeCreates a note at a chosen path in a writable folder (Notes/ and the capture folder by default), or replaces one with overwrite=true. A hub note groups every note whose project matches its title.
brain_editChanges part of a note in one of three ways: replace text that matches once, replace a section under a heading, or append. Keeps the file's line endings and bumps modified.
brain_moveMoves or renames a note within the writable folders. Never overwrites, and names any notes whose links stop resolving.
brain_deleteMoves a note into .trash/, which is never indexed. Nothing is erased.

The four write tools need the brain:write scope. They refuse notes a pipeline generates, hidden folders, paths outside the vault, and the memory file, which stays append-only through brain_remember.

Also exposed: the resources brain://identity and brain://note/{path}, and the prompts assume_persona and project_briefing.

The index lives in data/index.db, embeddings included. It is rebuilt on every start (about 10 ms for the 15-note example vault) and kept current by the watcher; embeddings are keyed by a hash of the text, so unchanged sections are never embedded twice. Every tool call is appended to logs/audit.jsonl.

Quick start

Requires Node 22 or newer. One command sets i

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

问 PopNx