Synapse
Synapse
连接你的 AI 与笔记之间的神经系统。
连接任何 AI 到你的 Obsidian 知识库的 MCP 服务器。适用于 Claude、ChatGPT、Cursor、Windsurf 以及任何兼容 MCP 的客户端。从手机保存文章、跨笔记提问、构建复合知识库。
30 秒快速设置
Claude Desktop
打开配置文件:Mac
~/Library/Application Support/Claude/claude_desktop_config.json| Windows%APPDATA%\Claude\claude_desktop_config.json将 Synapse 添加到
mcpServers对象中:
{
"mcpServers": {
"synapse": {
"command": "npx",
"args": ["-y", "synapse-obsidian", "/path/to/your/obsidian-vault"]
}
}
}重启 Claude Desktop。Synapse 工具将自动出现。
Claude Code
添加到主目录下的 .claude/.mcp.json:
{
"mcpServers": {
"synapse": {
"command": "npx",
"args": ["-y", "synapse-obsidian", "/path/to/your/vault"]
}
}
}Claude.ai / ChatGPT / 任何远程 AI
在本地运行 Synapse 并通过免费隧道暴露它:
# Terminal 1: Start Synapse
npx synapse-obsidian /path/to/vault --http --port 3777
# Terminal 2: Expose it (free, no account needed)
npx cloudflared tunnel --url http://localhost:3777复制隧道 URL。在你的 AI 客户端中添加 https://your-tunnel-url.trycloudflare.com/mcp 作为自定义 MCP 集成。
Related MCP server: Vault Cortex Obsidian MCP Server
入门指南
连接后,输入:
“Help me get started with Synapse”
Synapse 将扫描你的知识库并提供三个选项:
使用我现有的知识库 — 检测你的文件夹结构、双向链接和命名规范。不会移动或覆盖任何内容。Synapse 会适应你的习惯。
建立知识库 — 创建有组织的文件夹:
sources/用于原始内容,notes/用于整理后的知识,outputs/用于查询结果。最适合专注的研究主题。自定义 — 你告诉 Synapse 你希望如何组织内容。
它还会询问你使用知识库的目的(研究、商业、学术、生活管理),以便为你量身定制体验。
你可以做什么
从任何地方保存任何内容
“Save this article: https://example.com/interesting-post”
抓取页面,转换为 Markdown,并保存到你的知识库中。在手机上也能使用。
跨笔记提问
“What do my notes say about pricing strategy?”
搜索你的知识库,阅读相关文件,并综合生成带有引用的答案。
构建复合维基
“Process all new articles in my vault”
将原始来源转化为摘要、概念页面、实体页面——所有内容都通过双向链接相互关联。每一个答案都会反馈到知识库中。
检查笔记健康状况
“Run a health check on my vault”
查找损坏的链接、孤立页面、缺失的元数据(frontmatter)和过时的内容。并尽可能修复它们。
所有工具
工具 | 功能描述 |
| 入门引导 — 扫描知识库,提供选项,配置 Synapse |
| 保存你的知识库偏好设置 |
| 从 URL 或粘贴的文本保存内容 |
| 知识库概览及建议操作 |
| 将来源处理为有组织的页面 |
| 查找并处理所有未处理的来源 |
| 在知识库中研究一个问题 |
| 检查损坏链接、孤立页面和缺失内容的健康状况 |
| 从零开始构建一个新的知识库 |
| 读取任何文件 |
| 创建或更新任何文件 |
| 列出知识库或子目录中的文件 |
| 全文搜索 |
| 文件统计和结构 |
| 读取文件的 YAML 元数据 |
工作原理
Synapse 是一个 MCP 服务器 — 一种用于将 AI 连接到工具和数据的开放协议。它赋予你的 AI 对知识库的读/写访问权限(仅限知识库目录,处于沙盒环境中)。
Stdio (默认) — 用于桌面 AI 应用 (Claude Desktop 等)
HTTP (
--http) — 用于基于浏览器的 AI (Claude.ai, ChatGPT 等),通过隧道连接Cloud (
--cloud) — 带有 Google Drive OAuth 的托管模式(即将推出)
你的知识库只是一个 Markdown 文件文件夹。Synapse 不需要运行 Obsidian — 它适用于任何文件夹。
要求
Node.js 18+ (使用
node -v检查)一个 Obsidian 知识库或任何 Markdown 文件文件夹
任何兼容 MCP 的 AI 客户端
许可证
MIT — MainLoop Systems
Available Tools
15 toolssynapse_compileARead-onlyIdempotent
Scan for all unprocessed sources and compile them into organized pages. Lists which sources exist in the sources folder but don't have corresponding summaries yet. Use synapse_ingest on each one to process them.
Inputs: no named parameters.
synapse_configureAIdempotent
Save Synapse configuration based on the user's choice from synapse_setup. Three modes:
"existing": Auto-detect conventions from the vault and save config. No folders created.
"structured": Set up an organized knowledge base (creates sources/, notes/, CLAUDE.md). Requires a topic.
"custom": Save whatever folder paths and conventions the user specified.
Inputs: mode (required), sourcesFolder, wikiFolder, outputsFolder, +4 more.
synapse_ingestARead-onlyIdempotent
Process a source file into the knowledge base. Reads the source, generates organized pages (summaries, concepts, entities), adds [[wikilinks]], and updates the index and log.
You MUST read the source file content first, then generate all pages. Follow the CLAUDE.md schema in the vault root for conventions and folder paths.
Steps:
Read the source file
Create a summary page in the configured notes folder
For each key concept: create/update a concept page
For each key entity: create/update an entity page
Add [[wikilinks]] connecting related pages
Update the index
Append to the log
Inputs: sourcePath (required).
synapse_initAIdempotent
Initialize a structured knowledge base in the vault. Creates the folder structure, generates CLAUDE.md with the schema, and creates the initial index and log files. Safe to run on an existing vault — won't overwrite existing files.
For new vaults only. If you have an existing vault, use synapse_setup instead — it detects your conventions and adapts.
Inputs: topic (required).
synapse_lintARead-onlyIdempotent
Health-check the knowledge base. Scans for contradictions, orphan pages, broken wikilinks, missing frontmatter, stale content, and missing pages. Returns a report and instructions for fixing issues.
Inputs: no named parameters.
synapse_queryARead-onlyIdempotent
Research a question against the knowledge base. Reads the index, identifies relevant pages, and returns their content so you can synthesize an answer. You MUST save the synthesized answer to the outputs folder using vault_write after responding.
Inputs: question (required), save.
synapse_saveA
Save content to the vault's sources folder from a URL or pasted text. Ideal for mobile users who find articles and want to save them without a web clipper.
If a URL is provided, fetches the page and converts it to markdown. If content is provided directly, saves it as-is. Always adds frontmatter with metadata.
Inputs: title (required), url, content, folder.
synapse_setupARead-onlyIdempotent
Onboarding entry point for Synapse. Scans the vault to detect existing structure, conventions, and CLAUDE.md, then returns configuration options for the user to choose from:
Option A: Use existing vault conventions (adapts to what's already there)
Option B: Set up a structured knowledge base (organized folders for a specific topic)
Option C: Start fresh with custom settings
After the user chooses, call synapse_configure with their selection.
Inputs: no named parameters.
synapse_statusARead-onlyIdempotent
One-shot status overview. Returns everything needed to understand the vault state: configuration, file counts, recent activity, CLAUDE.md schema, and suggested next actions. This is THE tool to call when a user first connects or asks "what can you do?"
Inputs: no named parameters.
vault_frontmatterARead-onlyIdempotent
Read the YAML frontmatter metadata from a vault file. Returns parsed key-value pairs (title, tags, date, status, etc.).
Inputs: path (required).
vault_listARead-onlyIdempotent
List markdown files in the vault or a subdirectory. Returns relative paths.
Inputs: path, recursive.
vault_readARead-onlyIdempotent
Read a file from the Obsidian vault. Returns the full content including frontmatter.
Inputs: path (required).
vault_searchARead-onlyIdempotent
Search the vault for files containing a text query. Returns matching files with line numbers and context. Case-insensitive.
Inputs: query (required), path, maxResults.
vault_statsARead-onlyIdempotent
Get vault statistics: file counts, folder structure, and whether the knowledge base has been initialized.
Inputs: no named parameters.
vault_writeAIdempotent
Write or overwrite a file in the Obsidian vault. Creates parent directories automatically. Use this to create new wiki pages, update existing ones, or save any markdown content.
Inputs: path (required), content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools have distinct purposes, but some overlap exists between synapse_setup and synapse_configure, as both handle configuration setup, which could cause confusion. The vault_* tools are clearly separate from the synapse_* tools, with minimal ambiguity within each group.
All tools follow a consistent snake_case naming pattern. The synapse_* tools use verb_noun format (e.g., synapse_compile, synapse_ingest), and the vault_* tools use noun_verb format (e.g., vault_read, vault_write), with clear and predictable conventions throughout.
With 15 tools, the count is well-scoped for a knowledge base management server. It covers core operations like initialization, ingestion, querying, and vault interactions without being overwhelming, and each tool serves a clear purpose in the workflow.
The tool set provides comprehensive coverage for managing a knowledge base, including setup (synapse_init, synapse_setup), ingestion (synapse_ingest, synapse_save), organization (synapse_compile), querying (synapse_query), maintenance (synapse_lint), and vault operations (read, write, search, etc.). No obvious gaps are present for the domain.
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
Your personal library, readable by AI agents: durable snapshots, hybrid search, 46 MCP tools.
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA local MCP server that wraps the Obsidian CLI to give AI assistants direct access to read, edit, and manage notes within an Obsidian vault. It enables advanced operations such as frontmatter property management, context-aware searching, and the execution of internal Obsidian commands.2MIT
- AlicenseAqualityAmaintenanceStandalone MCP server for Obsidian vaults - hybrid search (FTS5 + vector + cross-encoder reranking), images and PDFs in agent-readable form, Kanban-aware tasks (Tasks-plugin + Dataview formats), structured memory with topic recall, fine-grained read/write tools for optimal token efficiency, and link graph support. Run locally, self-host, or one-click deploy for remote access. OAuth 2.1.163338MIT
- AlicenseAqualityFmaintenanceA Model Context Protocol (MCP) server that provides AI assistants with secure access to Obsidian vaults. Enables reading, writing, searching, and managing notes without requiring Obsidian to be running.504,244 npmApache 2.0
- AlicenseNot gradedqualityCmaintenanceExposes Obsidian vault tools via Model Context Protocol (MCP) server over stdio, HTTP, or SSE transports, enabling AI assistants to read, write, search, and manage vault notes with 28+ built-in tools and CLI bridge integration.1PolyForm Noncommercial 1.0.0