Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Local read-only semantic search for Markdown vaults through MCP.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"seeklink": {
"command": "uvx",
"args": [
"seeklink",
"mcp",
"--vault",
"your-value"
]
}
}
}在终端中运行这条命令
claude mcp add seeklink -- uvx seeklink mcp --vault your-value这个服务器需要在启动命令中填入值,请复制设置后自行填写。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"seeklink": {
"command": "uvx",
"args": [
"seeklink",
"mcp",
"--vault",
"your-value"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器需要在启动命令中填入值,请复制设置后自行填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"seeklink": {
"type": "stdio",
"command": "uvx",
"args": [
"seeklink",
"mcp",
"--vault",
"your-value"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 simonsysun 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.7.0)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
English · 中文
Status: paused. SeekLink is no longer actively maintained. For an
actively-developed local Markdown search engine in the same space — local
hybrid keyword + vector search, line-anchored results, CLI + MCP, multilingual —
we recommend qmd.
SeekLink is a local semantic search CLI and optional read-only MCP stdio server for Markdown vaults. It indexes a folder of .md files, searches with hybrid keyword + vector retrieval, and returns line-anchored results that humans and agents can read with simple shell commands.
It is built for personal knowledge bases, Obsidian-compatible vaults, bilingual English/Chinese notes, and local agent workflows. MCP clients such as Claude Code, Cursor, and VS Code can call the same read-only search/get/status/doctor surface through seeklink[mcp]. It is also a useful search layer for Markdown wiki patterns such as Andrej Karpathy's llm-wiki: an agent can search existing pages, read precise line windows, then update the wiki without sending the vault to a hosted service.
Everything runs locally. No API key. No cloud search service. No Obsidian plugin required.
uv tool install seeklink
pip install seeklink
For Apple Silicon reranking support, install the optional MLX extra:
uv tool install "seeklink[mlx]"
pip install "seeklink[mlx]"
For Model Context Protocol (MCP) clients such as Claude Code, Cursor, or VS Code, install the optional MCP extra:
uv tool install "seeklink[mcp]"
pip install "seeklink[mcp]"
SeekLink requires Python's sqlite3 module to be linked against SQLite 3.45 or newer with FTS5 enabled. seeklink status --vault PATH checks this and prints a clear error if the runtime SQLite is too old.
# 1. Build the index first.
seeklink index --vault /path/to/vault
seeklink search "machine learning" --vault /path/to/vault
Daily use is simpler if you set a default vault:
export SEEKLINK_VAULT=/path/to/vault
seeklink index seeklink search "agent memory systems" seeklink get notes/agent-memory-patterns.md:1 -C 20
seeklink search and single-file seeklink index path/to/file.md use a resident daemon when --vault is not passed. The daemon keeps the embedder and optional reranker warm in memory; on macOS this appears as a local Python process. It is local-only, uses a Unix socket, and does not open a network port or call a cloud service. By default it exits after 15 minutes of inactivity. Full-vault seeklink index runs in-process so progress stays on stderr and the final Done: summary stays on stdout. seeklink status and seeklink get always stay cold-start: status only reads SQLite metadata, and get reads the file directly from disk. Use --no-daemon, SEEKLINK_NO_DAEMON=1, or an explicit --vault PATH when a script needs a one-shot cold-start path.
MCP users follow the same first step: build the index with seeklink index --vault PATH before registering the MCP server.
Text search output is stable:
SCORE PATH[:LINE] TITLE
PATH is relative to the vault root.LINE is 1-indexed and points to the best matching chunk in the current file.0 for success, including no results; 1 for runtime vault/config/file errors detected by SeekLink; and 2 for command-line usage errors from argument parsing.Use JSON when an agent needs structured output:
seeklink search "agent memory systems" --vault PATH --json
seeklink status --vault PATH --json seeklink doctor --vault PATH --json seeklink daemon status --json
seeklink search "query" --vault PATH [options]
Options:
--top-k N Number of results. Default: 10.
--json Emit one machine-readable JSON object. --tags TAG [TAG] Filter by tags. AND semantics. --folder PREFIX Filter by vault-relative folder prefix. --rerank-k N|auto Rerank candidate budget. Default: auto. --no-rerank Skip cross-encoder reranking for this query. --no-daemon Force an in-process search instead of using the daemon. --title-weight F Override title/alias/heading channel weight. Default: 1.5.
Read a precise file window without using the database or daemon:
seeklink get notes/spaced-repetition.md
seeklink get notes/spaced-repetition.md:12 seeklink get notes/spaced-repetition.md:12 -l 40 seeklink get notes/spaced-repetition.md:12 -C 20
-l/--lines prints lines starting at LINE. -C/--context prints lines before and after LINE, grep-style. Path escapes such as ../.. are rejected.
seeklink status --vault PATH
seeklink status --vault PATH --json
Status reports index counts, model names, index-configuration compatibility, SQLite WAL status, and freshness warnings. It does not load the embedding or reranking models.
seeklink doctor --vault PATH
seeklink doctor --vault PATH --json
Doctor checks Python, SQLite, the local database, index compatibility, daemon state, and optional MLX availability. It does not download or load models, but may initialize the local SeekLink database/schema if missing.
The optional Model Context Protocol (MCP) adapter lets agent clients discover and call SeekLink's read-only tools directly. The CLI keeps working independently; MCP is another surface for the same retrieval path, not a replacement.
seeklink mcp --vault PATH
Install it with seeklink[mcp]. Build the index with the CLI first: seeklink index --vault PATH. The MCP adapter is read-only and exposes four tools: search, get, status, and doctor. It does not expose index, write notes, use HTTP/OAuth, or route through the Unix-socket daemon. Run one MCP server per vault. search keeps its text summary compact with paths and line anchors; result previews stay in structured content for agents that need them. status and doctor may initialize or migrate the local SeekLink schema when an existing .seeklink/seeklink.db needs it, but they do not index or modify Markdown notes. If your MCP client does not inherit your shell PATH, use the absolute path from which seeklink in the examples below.
Claude Code:
claude mcp add --transport stdio --scope project seeklink \
-- seeklink mcp --vault /ABS/PATH/TO/VAULT
Cursor .cursor/mcp.json:
{
"mcpServers": { "seeklink": { "type": "stdio", "command": "seeklink", "args": ["mcp", "--vault", "/ABS/PATH/TO/VAULT"] } } }
VS Code .vscode/mcp.json:
{
"servers": { "seeklink": { "type": "stdio", "command": "seeklink", "args": ["mcp", "--vault", "/ABS/PATH/TO/VAULT"] } } }
seeklink index --vault PATH
seeklink index path/to/file.md --vault PATH
Full-vault indexing skips unchanged files by content hash unless the stored index was built with a different embedder, vector dimension, or chunker configuration, in which case SeekLink rebuilds the derived index contents. Single-file indexing updates one Markdown file only when the existing index configuration is compatible.
seeklink daemon status
seeklink daemon stop seeklink daemon restart seeklink daemon pid seeklink daemon run --vault PATH
You normally do not need to start the daemon manually. search and single-file index auto-spawn and auto-restart it when appropriate, then it exits after SEEKLINK_DAEMON_IDLE_TIMEOUT seconds of inactivity. The default is 900 seconds (15 minutes); set it to 0, off, false, or no to keep the daemon warm until stopped.
Full-vault index still runs in-process for progress output. Passing --vault to search or single-file index forces a one-shot cold-start path because the daemon is bound to one vault at startup. --no-daemon and SEEKLINK_NO_DAEMON=1 also force the same cold-start path. Use seeklink daemon status to inspect the warm process and seeklink daemon stop to release its memory immediately.
SeekLink fuses four channels with Reciprocal Rank Fusion:
| Channel | Purpose |
|---|---|
| BM25 / FTS5 | Exact words, code terms, acronyms, CJK lexical matches |
| Vector search | Semantic matches across different wording |
| Title / aliases / headings | Exact note and section lookup |
| Wikilink indegree | Small graph-quality prior from existing [[links]] |
The default embedder is jinaai/jina-embeddings-v2-base-zh through fastembed. CJK full-text search uses a jieba FTS5 tokenizer when the local Python/SQLite build can safely register it; otherwise SeekLink falls back to SQLite's built-in trigram tokenizer instead of crashing.
The default vector dimension is 768. Advanced custom-embedder experiments can set SEEKLINK_EMBEDDING_DIM, but it must match the embedder output and requires a full seeklink index rebuild.
On Apple Silicon, SeekLink can rerank candidates with mlx-community/Qwen3-Reranker-0.6B-mxfp8 when installed with seeklink[mlx]. Reranking is local and optional; if MLX is unavailable, SeekLink falls back to first-stage hybrid RRF ranking. Use --no-rerank for one query or set SEEKLINK_RERANKER_MODEL="" to disable it globally.
Markdown frontmatter is optional. When present, SeekLink uses it for tags and aliases:
---
tags: [ai, memory] aliases: [LLM memory, agent memory]
tags support filtered search: seeklink search "memory" --tags aialiases are indexed for search and used when resolving wikilinksSeekLink writes one SQLite database inside the vault:
/path/to/vault/.seeklink/seeklink.db
The database contains source metadata, chunks, FTS5 tables, sqlite-vec vectors, and a wikilink graph. Delete .seeklink/ and run seeklink index to rebuild.
| Area | Status |
|---|---|
| Python | 3.11, 3.12, 3.13, 3.14 |
| SQLite | Python sqlite3 linked against SQLite 3.45+ with FTS5 |
| OS | macOS and Linux |
| Windows | Not supported as a first-class path |
| File format | Markdown .md |
| Vault style | Plain folder or Obsidian-compatible vault |
| CJK | Native path via jieba, with trigram fallback on static SQLite builds |
| Reranker | Optional seeklink[mlx] extra on Apple Silicon; disabled elsewhere |
| Daemon | Single vault per machine |
| MCP | Optional seeklink[mcp] stdio adapter, one server per vault |
Agents can use SeekLink through ordinary subprocess calls:
seeklink status --vault PATH
seeklink index --vault PATH seeklink search "query" --vault PATH --json seeklink get PATH:LINE -C 20 --vault PATH
MCP clients can use the optional read-only adapter:
seeklink mcp --vault PATH
To make an agent choose SeekLink for a Markdown vault, add this to the project's AGENTS.md, CLAUDE.md, or editor rules:
When you need to search or inspect this Markdown vault, use 只显示了开头部分;其余内容请在仓库中阅读