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

ragnarok

作者:freyr版本 1.1.0i★ –i在你的电脑上运行
注册名称io.github.freyr/ragnarok

安装

概览

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

Local RAG search over Obsidian vaults: SQLite hybrid search with local Ollama embeddings.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆

安装

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

安装之前

你需要

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

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "ragnarok": {
      "command": "uvx",
      "args": [
        "ragnarok-mcp",
        "serve"
      ],
      "env": {
        "RAGNAROK_HOME": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add ragnarok --env RAGNAROK_HOME=your-value -- uvx ragnarok-mcp serve

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "ragnarok": {
      "command": "uvx",
      "args": [
        "ragnarok-mcp",
        "serve"
      ],
      "env": {
        "RAGNAROK_HOME": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "ragnarok": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ragnarok-mcp",
        "serve"
      ],
      "env": {
        "RAGNAROK_HOME": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • RAGNAROK_HOME env
    The folder that holds config.toml, data/ and logs/. Default: ~/.ragnarok.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“搜索与 AI 记忆”中的其他服务器比较i

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

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

常见问题

ragnarok 安全吗?

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

它需要哪些密钥或代码?

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

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

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

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

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT20天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

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

ragnarok

Local RAG search over Obsidian vaults for Claude Code.

ragnarok indexes the Markdown notes of one or more Obsidian vaults on your computer. A local MCP server gives Claude Code search tools over the index. No note leaves the computer: the embeddings come from a local Ollama model, and the index is one SQLite file.

Features

  • Hybrid search. Each query runs a dense search (embeddings in sqlite-vec) and a keyword search (SQLite FTS5 with BM25). Reciprocal rank fusion joins the two lists. The unit of rank is the note, with its best section.
  • Heading chunks. The splitter cuts each note at its headings and joins very short sections.
  • Metadata from frontmatter or path. Each note gets a vault, a project, an area, a type, a status and ticket keys. The frontmatter gives these values first. For a note without them, path rules in the configuration give them.
  • Project search. find_projects finds the earlier projects that a prompt continues or resembles, also when the prompt does not name the project. list_project gives all notes of a project.
  • Always current. Each tool call first scans the vaults for changed notes (usually less than 100 ms) and embeds them. There is no watcher process.
  • Private notes. Notes under the configured private paths are in the index, but the server does not return them. Only the user can open them, with allow_private = true in the configuration.
  • Credential redaction. The indexer and open_note replace literal passwords, tokens and keys with [REDACTED]. The vault files do not change.
  • Frontmatter backfill. ragnarok backfill propose writes a proposal of the missing frontmatter keys for a vault. ragnarok backfill export writes a JSON file with the title and the first lines of each public note that needs a description (credentials removed). Claude writes the descriptions into one or more JSON files, {path: {"description": "...", "type": "..."}}. ragnarok backfill merge ... puts them into the proposal, removes credentials, reports each description of more than 25 words and each row with no description, and replaces a default type with a valid type from Claude. You examine the proposal, then ragnarok backfill apply makes a backup archive of the vault and adds only the missing keys.
  • Evaluation. ragnarok eval compares grep, keyword, dense and hybrid search on your own question sets. ragnarok eval agent compares a Claude Code agent with grep and an agent with the MCP tools.
  • One-command setup. ragnarok init installs the model and the index, and registers the MCP server in Claude Code when the Claude Code plugin does not give it. ragnarok doctor checks the setup.

Requirements

  • macOS with Homebrew. The setup uses brew services for Ollama.
  • Ollama: brew install ollama.
  • Claude Code.
  • uv: brew install uv. uv installs Python 3.12. setup.sh installs uv if it is missing.

Setup

ragnarok is on PyPI as ragnarok-mcp and in the MCP Registry as io.github.freyr/ragnarok.

With the Claude Code plugin (no clone)

In Claude Code:

/plugin marketplace add freyr/ragnarok-claude-plugin

/plugin install ragnarok@ragnarok

Then in a terminal:

uvx ragnarok-mcp init

The plugin starts the server with uvx ragnarok-mcp serve and adds the search guidance to each session. The home folder is ~/.ragnarok. To use a different folder, set RAGNAROK_HOME in the env of ~/.claude/settings.json and in your shell.

From a checkout
git clone https://github.com/freyr/ragnarok.git

cd ragnarok ./setup.sh # installs uv if needed, then runs ragnarok init

The checkout is the home folder.

What init does

ragnarok init does six steps. It skips each step that is already done:

  1. It writes config.toml from config.example.toml. It asks for the vault root, the folder that holds your vault folders, and adds each subfolder as a vault.
  2. It checks that Ollama is installed.
  3. It runs Ollama as a login service with brew services start ollama (it asks first). If Ollama runs outside brew services, for example ollama serve in a terminal, init stops it and starts the service.
  4. It pulls the embedding model.
  5. It builds the index. A vault with 1,500 notes takes approximately 12 minutes on an Apple Silicon Mac.
  6. When the plugin ragnarok gives the MCP server, it removes a registration at the user scope (it asks first). Else it registers the MCP server ragnarok in Claude Code at the user scope (it asks before it replaces another registration).

Restart Claude Code after step 6. ragnarok doctor checks the same six parts and prints the fix for each failure.

Before step 5, examine config.toml: remove a folder that is not a vault, and add your private paths. A later change of the configuration applies at the next ragnarok index or MCP tool call, with no restart.

Use in Claude Code

The server gives six tools:

ToolWhat it does
searchHybrid search over the notes. Filters: vault, project, area, type, archived.
find_projectsThe projects that match a prompt, with the summary and the matching notes of each project.
list_projectAll notes of one project.
open_projectsThe open projects (state: in-progress and paused by default), grouped by state, newest update first.
open_noteThe text of a note or of one section, with its links and backlinks. A note of more than 4,000 words gives an outline: each section with its heading path, words and first sentence.
find_by_jiraThe notes that contain a ticket key, for example ABC-123.

The plugin adds the guidance below to each session itself, with the plugin tool names mcp__plugin_ragnarok_ragnarok__*. Without the plugin, Claude Code loads MCP tools on demand. To make Claude use them before grep, add a short instruction to your ~/.claude/CLAUDE.md file, for example:

## Finding notes: ragnarok first

The ragnarok MCP server indexes my Obsidian vaults. Use it before Grep or Glob whenever you look for notes, earlier work or context:

  • find_projects: the prompt continues or resembles earlier work and names no project. Then call list_project on the best match (look at the top 3).
  • search: facts, decisions, how something was done. Filters: vault, project, area, type.
  • open_note: read a note or one section, with its links and backlinks. A long note gives its outline first; open the section you need by heading.
  • open_projects: which projects are in progress or paused.
  • find_by_jira: a ticket key such as OPS-77.

The tools are deferred. Load them in one call before the first use: ToolSearch with select:mcp__ragnarok__search,mcp__ragnarok__find_projects,mcp__ragnarok__list_project,mcp__ragnarok__open_projects,mcp__ragnarok__open_note,mcp__ragnarok__find_by_jira.

If the tools are absent (for example on a computer without ragnarok), fall back to Grep and say so. Results can be unrelated: read the text before you rely on it, and cite note paths. Private notes are refused by design; do not work around the refusal with Read or Grep.

Adapting to your vaults

docs/vault-requirements.md tells how a vault must look to get the most from ragnarok: headings, project folders, SUMMARY.md, frontmatter and private folders.

The default path rules expect / / /note.md. If your vaults look different, the repo skill .claude/skills/adapt-vault/ guides Claude Code through the changes. Open Claude Code in the checkout and ask it to adapt ragnarok to your vaults. The skill:

  1. runs ragnarok survey on each vault;
  2. agrees the private folders with you, before any other change and before a new vault goes into vaults;
  3. writes the path rules into config.toml, checked with ragnarok inspect;
  4. runs the frontmatter backfill, if you agree, with your review before apply;
  5. writes a small evaluation set from your notes and runs ragnarok eval mechanical;
  6. adds the guidance above to your ~/.claude/CLAUDE.md, after it asks you.

It changes only config.toml and adds frontmatter keys. It never moves, renames or deletes a note or a folder.

Configuration

config.toml is in the home folder. A relative path in it is relative to the home folder. config.example.toml explains each key. The most important keys:

KeyWhat
root, vaultsThe folder that holds the vaults, and the vault folders to index.
[vault_paths]The folder of a vault that is not in root, for example kb = "~/code/kb". A note key stays / .
private_patternsGlob patterns of private notes, for example "Notes/Journal/**".
model, dimensionThe Ollama embedding model and its vector size. A change needs ragnarok index --rebuild.
min_words, max_wordsThe chunk size limits of the splitter. A change needs ragnarok index --rebuild.
project_markersA folder that holds one of these files is a project folder (default DRIVERS.md, SUMMARY.md).
jira_prefixesThe ticket prefixes that find_by_jira knows.
[vault_rules. ]The path rules of one vault: which folder gives the area and the project.
Note metadata

ragnarok reads these frontmatter keys. Each key is optional:

---

project: heating-upgrade # the project slug; default: from the path rules area: home # a wide subject; default: from the path rules type: plan # drivers, summary, research, spec, plan, brainstorm, review, decision,

guide, reference, meeting, log, template or note

status: active # active or archived; a note in an _archive folder, or in a project

whose SUMMARY.md has state: superseded or abandoned, is archived; state: done is current

description: One sentence about the note, which improves find_projects. jira: [ABC-123] # ticket keys, in addition to the keys in the text


Without frontmatter, the path rules give the metadata. The default rules work for a vault with the layout / / /note.md. For a different layout, add a [vault_rules. ] table. Use ragnarok inspect to see the metadata of a note.

Commands

CommandWhat it does
ragnarok initSets up this computer (see Setup).
ragnarok doctorChecks the setup.
ragnarok index [--rebuild]Adds, changes and removes notes in the index. After a change of the path rules, the private paths or the markers, it derives the metadata of all notes again, with no new embeddings. When a .md marker file is added or removed, it does the same for the notes under the folder of that file. --rebuild is needed only after a change of model, dimension, min_words or max_words.
ragnarok statusShows the size and the state of the index.
ragnarok search " "Searches from the terminal.
ragnarok inspect ...Shows the metadata of notes.
`ragnarok chunks ... \--stats`Shows the chunks of notes, or the totals.
ragnarok serveRuns the MCP server on stdio. Claude Code starts it.
`ragnarok backfill propose\export\merge\apply [file...]`Proposes, describes and applies missing frontmatter keys. The order is propose, export, Claude writes descriptions, merge ..., you examine the proposal, apply.

| ragnarok survey [--json] | Prints the folders, frontmatter keys, marker files, name patterns and ticket prefixes of a vault folder. Run it before

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

问 PopNx